Computer Programming Micro Syllabus
Course:
Computer Programming
Placement:
First Year, First Part
Total Theory Hours:
45 Hours
Total Board Marks:
60 Marks
Syllabus Table of Contents
Quickly navigate to any chapter in the Computer Programming Syllabus using the links below.
Computer Programming Micro Syllabus Course Content Details
1. Introduction to Programming
3 hrs
4 Marks
- Computer Program and Programming Language
- Definition
- Types of Programming Languages
- Machine Level, Assembly Level & High-Level Language
- Generations of programming language
- First (machine level) to fifth ‘AI & more’
- Problem-solving using a Computer
- Analysis
- Design-algorithm and flowchart
- Programming
- Compilation Linking and Execution
- Debugging & Testing
- Types of Testing
- Documentations
2. Overview of C
3 hrs
4 Marks
- Introduction & History of C Programming
- ALGOL (1960s) ► B ► BCPL ► K&R C ► ANSI C ► C99
- C Headers and Library Functions
- Header files: stdlib.h, stdio.h, string.h, math.h and library functions defined under these header files.
- Preprocessor Directives
- Definition and examples (#include, #define)
- Basic Structure of a C Program
- 6 sections [Documentation, link, definition, global declaration, main, sub-program section]
- C Tokens
- Character Set [letters, digits, special characters, whitespace characters]
- Keywords [32 reserved words]
- Identifiers [definition, Naming rules & guidelines]
- Type Casting
- Implicit, Explicit
- Data Types, Variables and Constants
- Data types [fundamental, derived & user-defined]
- Variables [declaration, types, scope]
- Compilers and IDE for C
3. Operators and Expressions
4 hrs
4 Marks
- Operators
- Arithmetic
- Logical
- Relational
- Assignment
- Increment & Decrement [pre & post]
- Bitwise
- Special [sizeof, comma]
- Expressions
- Arithmetic expressions
- Shorthand Assignment Operator
- Evaluation of expressions
- Precedence of arithmetic operators [high, low]
- Associativity [left to right, right to left]
- Arithmetic expressions
4. Input-output in C
3 hrs
3 Marks
- Unformatted I/O
- getchar()
- getch()
- getche()
- gets()
- putchar()
- puts()
- Formatted I/O
- printf()
- scanf()
- Control String
- Flags
- Field width
- Precision and
- Specifier
5. Control Structures
8 hrs
12 Marks
- Sequential
- Branching
- simple if
- if-else
- nested if-else
- else-if ladder
- switch
- goto
- Looping
- Types
- while, do & for
- Categories
- entry-controlled & exit controlled
- counter-controlled & sentinel controlled
- Nesting
- Loop interruption
- break, continue
- Types
6. Array and Pointer
7 hrs
11 Marks
- Array
- One Dimensional Array
- Two-Dimensional Array
- Multi-Dimensional Array
- String
- String handling functions
- strlen(), strcpy(), strcat(), strrev(), strcmp(), strlwr(), strupr()
- Array of strings
- Pointer
- Definition, Declaration & Types [null, void, etc.]
- Pointer Arithmetic
- Relationship between Pointer and Array
7. User-defined Functions
6 hrs
8 Marks
- Introduction & Advantages
- Elements of User-defined Function
- Declaration/Prototype, Definition, Function Parameters, function call
- Storage Class
- auto, register, extern, and static
- Scope Rules
- Category of Functions
- Functions with no arguments and no return values
- Functions with arguments and no return values
- Functions with arguments and return values
- Functions with no arguments and return values
- Recursive functions
- Function Call by Values and Reference
- Passing Array and String to Function
8. Structure
5 hrs
6 Marks
- Defining, Declaring, Accessing & Initializing Structure Elements
- Array of Structure
- Array within structure
- Structure within structure/ nested structure
- Structure & pointer [This operator (->) concept]
- Passing and Returning Structures to/from Function
9. File Management
4 hrs
5 Marks
- Binary and Text File in C
- File Opening Modes
- w, r, a, wb, rb, ab, w+, a+, r+ & more
- Defining, Opening & Closing File
- Input-output operations on files
- Character I/O [fputc(), fgetc()]
- String I/O [fgets(), fputs()]
- Formatted I/O [fscanf(), fprintf()]
- Record I/O [fwrite(), fread()]
- Overview of Random File Access
- fseek, ftell, and rewind
- Error handling
10. Recent Trends in Programming
2 hrs
3 Marks
- Introduction to OOP
- Definitions of Class, Method and Object in OOP
- Difference between POP and OOP
- Overview of other High-Level Programming Languages
- C++, Python, JavaScript, Java, C#, R, Kotlin, Ruby & more
Lab Activities
50 Marks (Internal)
- Lab 1: Introduction and Demonstrations of projects written in C
- Lab 2: Formatted and Unformatted Input/output in C
- Lab 3: Branching in Control Structure in C
- Lab 4: Looping in Control Structure in C
- Lab 5: Array in C
- Lab 6: String in C
- Lab 7: Pointers in C
- Lab 8: User-Defined functions in C
- Lab 9: Structure in C
- Lab 10: File handling in C
- Group project on C: Maximum 4 students in a group at the end of the course. (20 marks out of 50 marks)
Final Exam
60 Marks (Final Exam)
- Question Type Distribution
- 40% theory & 60% Example code.
- Question Complexity Distribution
- 40% questions complexity should be easy.
- 40% questions complexity should be moderately hard.
- 20% questions complexity should be hard.
