CT 401
Lecture:3                                                                                                                                        Year: I
Tutorial: 0                                                                                                                                         Part: I
Practical: 3
Course Objectives:
To familiarize the student with computer software and high level programming languages and to develop the programming skill using C language
- Overview 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
- Preprocessor 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
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
- Alexis Leon, Mathews Leon, “Fundamentals of Information Technology”, Leon Press and Vikas Publishing House