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