Computer Programming

Course objective

To familiarize the student with computer software and high level programminglanguages and to develop the programming skill using C language

Syllabus

  1. Kelly & Pohl, “A Book on C”, Benjamin/Cumming
  2. Brian W. Keringhan & Dennis M. Ritchie, “The ‘C’ Programming Language”, PHI
  3. Bryons S. Gotterfried, “Programming with C”, TMH
  4. Yashavant Kanetkar, “Let Us C”, BPB
  5. D. M. Etter, “Structured Fortran & for Engineers and Scientist”, The Benjamin/Cummings Publishing Company, Inc.
  6. Rama N. Reddy and Carol A. Ziegler, “FORTRAN 77 with Applications for Scientists and Engineers”, Jaico Publishing House
  7. Alexis Leon, Mathews Leon, “Fundamentals of Information Technology”, Leon Press and Vikas Publishing HouseOverview of computer software and programming languages ( 2 hours)
    1. System software
    2. Application software
    3. General software features and recent trends
    4. Generation of programming languages
    5. Categorization of high level languages
  8. Problem Solving Using Computer ( 2 hours)
    1. Problem Analysis
    2. Algorithm Development & Flowcharting
    3. Compilation and Execution
    4. Debugging and Testing
    5. Program Documentation
  9. Introduction to C programming( 3 hours)
    1. Character set, Keywords and data types
    2. Pre-processor and directives
    3. Constants and Variables
    4. Operators and statement
  10. Input and Output ( 2 hours )
    1. Formatted I/O
    2. Character I/O
    3. Programs Using I/O statement
  11. Control statements (6 hours)
    1. Introduction
    2. The goto, if, if….else, switch statements
    3. The while, do…while, for statements
  12. User-Defined Functions ( 4 hours)
    1. Introduction
    2. Function definition and return statement
    3. Function Prototypes
    4. Function invocation, Call by value & Call by reference, Recursive Functions
  13. Arrays and Strings ( 6 hours)
    1. Defining an array
    2. One dimensional arrays
    3. Multi-dimensional arrays
    4. Strings and string manipulation
    5. Passing array and string to function
  14. Structures ( 4 hours )
    1. Introduction
    2. Processing a structure
    3. Arrays of Structures
    4. Arrays within structures
    5. Structures and function
  15. Pointers ( 4 hours )
    1. Introduction
    2. Pointer declaration
    3. Pointer arithmetic
    4. Pointer and array
    5. Passing Pointers to a function
    6. Pointers and structures
  16. Data files ( 4 hours )
    1. Defining opening and closing a file
    2. Input / Output operations on files
    3. Error handling during input/output operations 
  17. Programming language: FORTRAN ( 8 hours )
    1. Character Set
    2. Data types, Constants and variables
    3. Arithmetic operations, Library functions
    4. Structure of a FORTRAN Program
    5. Formatted and Unformatted Input / Output Statements
    6. Control Structures: Goto, Logical If, Arithmetic If, Do loops
    7. Arrays: one dimensional and two dimensional

Practical

  • Minimum 6 sets of computer programs in C (from Unit 4 to Unit 10) and2 sets in FORTRAN (from Unit 1 1) should be done individually. (30 marks out of 50 marks)
  • Student (maximum 4 persons in a group) should submit a mini project at the end of course. (20 marks out of 50 marks)

References

  1. Kelly & Pohl, “A Book on C”, Benjamin/Cumming
  2. Brian W. Keringhan & Dennis M. Ritchie, “The ‘C’ Programming Language”, PHI
  3. Bryons S. Gotterfried, “Programming with C”, TMH
  4. Yashavant Kanetkar, “Let Us C”, BPB
  5. D. M. Etter, “Structured Fortran & for Engineers and Scientist”, The Benjamin/Cummings Publishing Company, Inc.
  6. Rama N. Reddy and Carol A. Ziegler, “FORTRAN 77 with Applications for Scientists and Engineers”, Jaico Publishing House
  7. Alexis Leon, Mathews Leon, “Fundamentals of Information Technology”, Leon Press and Vikas Publishing House