BSc CSIT · Semester I
C Programming syllabus
Official TU syllabus for C Programming (CSC115): 11 units, 86 topics, 3 credit hours. Every unit links to its notes and solved questions.
1
Problem Solving with Computer
2h · 6 Q- Problem analysis
- Algorithms and Flowchart
- Coding
- Compilation and Execution
- History of C
- Structure of C program
- Debugging, Testing and Documentation
2
Elements of C
4h · 6 Q- C Standards (ANSI C and C99)
- C Character Set
- C Tokens
- Escape sequence
- Delimiters
- Variables
- Data types (Basic, Derived, and User Defined)
- Structure of a C program
- Executing a C program
- Constants/ Literals
- Expressions
- Statements and Comments
3
Input and Output
2h · 3 Q- Conversion specification
- Reading a character
- Writing a character
- I/O operations
- Formatted I/O
4
Operators and Expression
4h · 5 Q- Arithmetic operator
- Relational operator
- Logical or Boolean operator
- Assignment Operator
- Ternary operator
- Bitwise operator
- Increment or Decrement operator
- Conditional operator
- Special Operators (sizeof and comma)
- Evaluation of Expression
- Operator Precedence and Associativity
5
Control Statement
4h · 15 Q- Conditional Statements
- Decision Making and Branching
- Decision Making and Looping
- Exit function
- Break and Continue
6
Arrays
6h · 10 Q- Introduction to Array
- Types of Array (Single Dimensional and Multidimensional)
- Declaration and Memory Representation of Array
- Initialization of array
- Character Array and Strings
- Reading and Writing Strings
- Null Character
- String Library Functions (string length, string copy, string concatenation, string compare)
7
Functions
5h · 12 Q- Library Functions
- User defined functions
- Function prototype, Function call, and Function Definition
- Nested and Recursive Function
- Function Arguments and Return Types
- Passing Arrays to Function
- Passing Strings to Function
- Passing Arguments by Value
- Passing Arguments by Address
- Scope visibility and lifetime of a variable
- Local and Global Variable
8
Structure and Union
5h · 8 Q- Introduction
- Array of structure
- Passing structure to function
- Passing array of structure to function
- Structure within structure (Nested Structure)
- Union
- Pointer to structure
9
Pointers
6h · 7 Q- Introduction
- The & and * operator
- Declaration of pointer
- Chain of Pointers
- Pointer Arithmetic
- Pointers and Arrays
- Pointers and Character Strings
- Array of Pointers
- Pointers as Function Arguments
- Function Returning pointers
- Pointers and Structures
- Dynamic Memory Allocation
10
File Handling in C
4h · 8 Q- Concept of File
- Opening and closing of File
- Input Output Operations in File
- Random access in File
- Error Handling in Files
11
Introduction to Graphics
3h · 4 Q- Concepts of Graphics
- Graphics Initialization and Modes
- Graphics Function
Textbooks and references
- Byron Gottfried: "Programming with C,", Second Edition, McGraw Hill Education.
- Herbert Schildt, C The Complete Reference, Fourth Edition, Osborne/McGraw-Hill Publication.
- Paul Deitel, Harvey Deitel, C: How to Program, Eighth Edition, Pearson Publication.
- Al Kelley, Ira Pohl: "A Book on C", Fourth Edition, Pearson Education.
- Brian W. Keringhan, Dennis M. Ritchiem, The C programming Language, Second Edition, PHI Publication.
- Ajay Mittal, Programming in C: A Practical Approach, Pearson Publication
- Stephen G. Kochan, Programming in C, CBS publishers & distributors.
- E. Balagurusamy, Programming in ANSI C, Third Edition, TMH publishing
Study CSC115 the smart way
Solved questions, flashcards & practice