UNIT-WISE SYLLABUS
Unit I: Introduction to Programming
-
Basics of algorithms and flowcharts
-
Introduction to C language
-
Structure of a C program
-
Compilation and execution process
-
Data types, variables, constants, keywords
-
Operators and expressions
-
Input and Output using
scanf()
andprintf()
Unit II: Control Structures
-
Decision-making statements:
if
,if-else
,nested if
,switch
-
Looping constructs:
for
,while
,do-while
-
Jump statements:
break
,continue
,goto
Unit III: Functions and Arrays
-
Function declaration, definition, and calling
-
Function arguments (call by value and reference)
-
Recursion
-
Introduction to arrays (1D and 2D)
-
Applications of arrays
-
Basics of searching and sorting (linear search, binary search, bubble sort)
Unit IV: Pointers and Strings
-
Introduction to pointers
-
Pointer arithmetic
-
Pointers and arrays
-
Pointers and functions
-
Strings and string handling functions (
strlen
,strcpy
,strcmp
, etc.)
Unit V: Structures and File Handling
-
Structure declaration and usage
-
Array of structures and nested structures
-
Unions
-
File operations: opening, reading, writing, and closing files
-
File handling functions (
fopen
,fclose
,fprintf
,fscanf
,fread
,fwrite
)
Laboratory Topics
-
Basic programs: arithmetic operations, decision making
-
Loop-based programs (pattern printing, number manipulation)
-
Array manipulations (searching/sorting)
-
Functions and recursion (factorial, Fibonacci)
-
String operations
-
Pointer-based examples
-
Structures and file input/output