Computer Programming in C syllabus
EG2102MX7 units · 33 topicsAcademic year 2083/84
Browse the units
1Computer Programming Basics
Program, Programming, Programming language and its types
Language translators (Assembler, Compiler, Interpreter)
Program Design Tools (Algorithm, Flowchart and pseudo code)
2Introduction to C
History
Character Set, Tokens, Keywords, Identifiers
Constants and its types, Variables, Rules for naming Variables
Operators and its types
Expression
Data types
Precedence and Associativity
Escape Sequence
3Basic Input and Output
Formatted Input/Output functions (scanf(), printf())
Unformatted Input/Output functions (getchar(), putchar(), gets(), puts())
4Structured Programming Fundamentals
Control Structure (Sequence, Selection, Loop)
Conditional Statements (if, if..else, if..else if, nested if..else, switch)
Loop (for, while, do-while)
Nested loop
Break and continue statement
5Functions
Introduction
Function Components (Function Prototypes, Call and Definition)
Types of function on the basis of return type and arguments
Call by value and call by reference
Recursion
6Arrays and Strings
Introduction to Array
Types of Array (One Dimensional, Multi-Dimensional, Static)
Dynamic Array (Introduction only)
Passing Array to Function
Introduction to String
Handling Functions (strcpy(), strlen(), strcmp(), strrev(), strlwr(), strupr())
7Pointer
Introduction to pointer
Pointer Arithmetic
Relation between pointer and Array
Dynamic Memory Allocation