CSO101: Computer Programming
Sl Topic Detailed Content Contract
No. Hours
1 Introduction to Computing Definition of Computer, Block Diagram of 1
Computer System, Stored-Programmed
Computer.
2 Introduction to Language and C High-Level and Machine Level Language, 1
Programming Language Role of Compiler/Interpreter, Definition of
Algorithm, pseudocode and Flowchart.
Brief History of C Language, Structure of C
Programming Language, Executing a simple
C code.
3 Fundamentals of C Constants, Variables, identifiers, keywords 1
Input/Output Functions in C and Data types, Modifiers, Sizeof Operator,
Type Casting
4 Number Representation in Decimal to Binary Number Conversion, 3
Computer System Representation of Negative Numbers: Signed
Magnitude, 1’s Complement, 2’s
Complement, Floating Point Number
Representation.
5 Operators and expressions in C Arithmetic, Relational, Logical, assignment, 2
conditional, increment or decrement, bitwise,
special operators, associativity and
precedence of operators,
6 Decision making and branching Different forms of if statements, switch case, 2
continue, break
7 Decision making and looping for, while, do-while, nested loop 1
8 Arrays Single Dimensional Arrays 1
Mid-Term Examination
9 Arrays Multi-Dimensional Arrays 2
10 Functions Function Definition, Recursive Function, 2
Function Calls, Storage Classes-Scope of
Identifiers, Duration of identifiers.
11 Functions Function Call by Address, Various string 1
Functions,
12 Pointers Introduction to Pointers, Strings, Various 2
String Functions
13 Constant with Pointer, Array of Constant with Pointers: const can be used 2
Pointers. in four ways with pointers: non-constant
pointer to non-constant data, constant pointer
to non-constant data (Array), non-constant
pointer to constant data, etc.
14 Dynamic Memory Allocation Dynamic Memory Allocation 1
15 Structures & Union Structures & Union 3
16 File Input Output File Input/Output (fscanf, fprintf, fopen, fclose) 2
17 Basic Searching and Sorting Linear Search, Binary Search, Insertion Sort, 2
Algorithms Bubble Sort
18 Preprocessor in C Preprocessor in C 1