Computer Programming
Reminder: This is a subject where the maximum student gets fail. So don’t even try to neglect it. I warn you, don’t even try to read directly in the exam. Practice Maximum code as you can from the Material I have mentioned below and try your best to solve it on your own. As the Past Question is Most likely to repeat in every subject It will be easy for you if you have a Manual book named (Refresher solution of C – programming) with you helps in the theory part and will be also useful for coding. Don’t worry !! you can do this ..
If you are Newbie then you should separate at least 14 days for this subject (before the exam) to secure good marks.
and exam gaps can be used for revision.
C PROGRAMMING
C programming (Subject code: CT401) is compulsory course for all faculties engineering including BCE, BME, BEL, BEX, BAME, BCT, BIE, B. Agri. and BGE. This subject includes basic understanding of programming in C and Fortran.-
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
Chapter | Hours | Mark Distribution |
1,2 | 4 | 8 |
3,4 | 5 | 8 |
5 | 6 | 10 |
6 | 4 | 8 |
7 | 6 | 10 |
8 | 4 | 8 |
9 | 4 | 8 |
10 | 4 | 8 |
11 | 8 | 12 |
Total | 45 | 80 |
- 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