C Programming syllabus
CSC11011 units · 94 topicsAcademic year 2083/84
Browse the units
1Problem Solving with Computer (2 Hrs.)
- 1.1
Problem Analysis
- 1.2
Algorithms and Flowchart
- 1.3
Coding
- 1.4
Compilation and Execution
- 1.5
History of C
- 1.6
Structure of a C Program
- 1.7
Debugging
- 1.8
Testing and Documentation
2Elements of C (4 Hrs.)
- 2.1
C Standards (ANSI C and C99)
- 2.2
C Character Set
- 2.3
C Tokens
- 2.4
Escape Sequence
- 2.5
Delimiters
- 2.6
Variables
- 2.7
Data Types: Basic, Derived, and User Defined
- 2.8
Structure of a C Program
- 2.9
Executing a C Program
- 2.10
Constants and Literals
- 2.11
Expressions
- 2.12
Statements and Comments
3Input and Output (2 Hrs.)
- 3.1
Conversion Specification
- 3.2
Reading a Character
- 3.3
Writing a Character
- 3.4
I/O Operations
- 3.5
Formatted I/O
4Operators and Expression (4 Hrs.)
- 4.1
Arithmetic Operator
- 4.2
Relational Operator
- 4.3
Logical or Boolean Operator
- 4.4
Assignment Operator
- 4.5
Ternary Operator
- 4.6
Bitwise Operator
- 4.7
Increment or Decrement Operator
- 4.8
Conditional Operator
- 4.9
Special Operators: sizeof and comma
- 4.10
Evaluation of Expression
- 4.11
Operator Precedence and Associativity
5Control Statement (4 Hrs.)
- 5.1
Conditional Statements
- 5.2
Decision Making and Branching
- 5.3
Decision Making and Looping
- 5.4
Exit Function
- 5.5
Break and Continue
6Arrays (6 Hrs.)
- 6.1
Introduction to Array
- 6.2
Types of Array: Single Dimensional and Multidimensional
- 6.3
Declaration and Memory Representation of Array
- 6.4
Initialization of Array
- 6.5
Character Array and Strings
- 6.6
Reading and Writing Strings
- 6.7
Null Character
- 6.8
String Library Functions: length, copy, concatenation, compare
7Functions (5 Hrs.)
- 7.1
Library Functions
- 7.2
User-defined Functions
- 7.3
Function Prototype
- 7.4
Function Call and Function Definition
- 7.5
Nested and Recursive Function
- 7.6
Function Arguments and Return Types
- 7.7
Passing Arrays to Function
- 7.8
Passing Strings to Function
- 7.9
Passing Arguments by Value
- 7.10
Passing Arguments by Address
- 7.11
Scope, Visibility, and Lifetime of a Variable
- 7.12
Local and Global Variable
8Structure and Union (5 Hrs.)
- 8.1
Introduction
- 8.2
Array of Structure
- 8.3
Passing Structure to Function
- 8.4
Passing Array of Structure to Function
- 8.5
Structure Within Structure: Nested Structure
- 8.6
Union
- 8.7
Pointer to Structure
9Pointers (6 Hrs.)
- 9.1
Introduction
- 9.2
The & and * Operators
- 9.3
Declaration of Pointer
- 9.4
Chain of Pointers
- 9.5
Pointer Arithmetic
- 9.6
Pointers and Arrays
- 9.7
Pointers and Character Strings
- 9.8
Array of Pointers
- 9.9
Pointers as Function Arguments
- 9.10
Function Returning Pointers
- 9.11
Pointers and Structures
- 9.12
Dynamic Memory Allocation
10File Handling in C (4 Hrs.)
- 10.1
Concept of File
- 10.2
Opening and Closing of File
- 10.3
Input-Output Operations in File
- 10.4
Random Access in File
- 10.5
Error Handling in Files
11Introduction to Graphics (3 Hrs.)
- 11.1
Concepts of Graphics
- 11.2
Graphics Initialization and Modes
- 11.3
Graphics Function
- 11.4
Practical Works- 11.4.1
Create, compile, and run simple C programs; use data types, arithmetic, formatted I/O, and character I/O.
- 11.4.2
Perform logical operations; create decision-making programs and loops.
- 11.4.3
Create user-defined and recursive functions; work with automatic, global, and static variables.
- 11.4.4
Create and manipulate single- and multi-dimensional arrays and matrices; manipulate strings.
- 11.4.5
Work with pointers and dynamically allocate and de-allocate storage during runtime.
- 11.4.6
Create and use structures and files to keep records of students, employees, and similar entities.