C Programming syllabus
CSC11011 units · 94 topicsAcademic year 2083/84
Browse the units
1Problem Solving with Computer (2 Hrs.)
Problem Analysis
Algorithms and Flowchart
Coding
Compilation and Execution
History of C
Structure of a C Program
Debugging
Testing and Documentation
2Elements of C (4 Hrs.)
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 and Literals
Expressions
Statements and Comments
3Input and Output (2 Hrs.)
Conversion Specification
Reading a Character
Writing a Character
I/O Operations
Formatted I/O
4Operators and Expression (4 Hrs.)
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
5Control Statement (4 Hrs.)
Conditional Statements
Decision Making and Branching
Decision Making and Looping
Exit Function
Break and Continue
6Arrays (6 Hrs.)
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: length, copy, concatenation, compare
7Functions (5 Hrs.)
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
8Structure and Union (5 Hrs.)
Introduction
Array of Structure
Passing Structure to Function
Passing Array of Structure to Function
Structure Within Structure: Nested Structure
Union
Pointer to Structure
9Pointers (6 Hrs.)
Introduction
The & and * Operators
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
10File Handling in C (4 Hrs.)
Concept of File
Opening and Closing of File
Input-Output Operations in File
Random Access in File
Error Handling in Files
11Introduction to Graphics (3 Hrs.)
Concepts of Graphics
Graphics Initialization and Modes
Graphics Function
Practical WorksCreate, compile, and run simple C programs; use data types, arithmetic, formatted I/O, and character I/O.
Perform logical operations; create decision-making programs and loops.
Create user-defined and recursive functions; work with automatic, global, and static variables.
Create and manipulate single- and multi-dimensional arrays and matrices; manipulate strings.
Work with pointers and dynamically allocate and de-allocate storage during runtime.
Create and use structures and files to keep records of students, employees, and similar entities.