COMPUTER PROGRAMMING [CT 451]
Course Objective:
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 & programming languages (3 hours)
- System software
- Application software
- General software features and recent trends
- Generation of programming languages
- Categorization of high level languages
- Problem solving using Computer (3 hours)
- Problem analysis
- Algorithm development and Flowchart
- Compilation and Execution
- Debugging and Testing
- Programming Documentation
- Introduction to ‘C’ programming (4 hours)
- Character set, Keywords, and Data types
- Preprocessor Directives
- Constants and Variables
- Operators and statements
- Input and Output (3 hours)
- Formatted input/output
- Character input/output
- Programs using input/output statements
- Control statements (6 hours)
- Introduction
- The goto, if, if … … else, switch statements
- The while, do … while, for statements
- User-Defined Function (4 hours)
- Introduction
- Function definition and return statement
- Function Prototypes
- Function invocation, call by value and call by reference, Recursive Functions
- Arrays and Strings (5 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 (5 hours)
- Defining opening and closing a file
- Input/Output operations on Files
- Error handling during input/output operations
- Introduction to other Programming Languages (4 hours)
- FORTRAN
- 2. C++
- Java
- C#
Practical:
Minimum 7 lab works on programming with C should be done individually which should include at least followings: (30 marks out of 50 marks)
- Input/output operations
- Control statements
- User defined functions
- Arrays & strings
- Pointers
- Structure and union
- Data files
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
- DayaSagarBaral, DiwakarBaral and Sharad Kumar Ghimire “The Secrets of C Programming Language”, Bhundipuran Publication
- Bryons S. Gotterfried, “Programming with C”, TMH
- YashavantKanetkar, “Let Us C”, BPB
- Alexis Leon, Mathews Leon, “Fundamentals of Information Technology”, Leon Press and Vikas Publishing House
Evaluation Scheme
There will be questions covering all the chapters in the syllabus. The evaluation scheme for the course is as indicated in the table below:
Unit |
Chapter |
Topics |
Marks |
1 |
1, 2 & 3 |
All |
16 |
2 |
4 & 5 |
All |
16 |
3 |
6 & 7 |
All |
16 |
4 |
8 & 9 |
All |
16 |
5 |
10 & 11 |
All |
16 |
Total |
80 |
*Note : There may be minor deviation in marks distribution.
|