C Programming

Course Title: C Programming (4 Cr.) 
Course Code: CACS151
Class Load: 8 Hrs. / Week (Theory: 4 Hrs, Tutorial: 1 Hr., Practical: 3 Hrs)

Unit I C Programming Language 

 Introduction to Programming Language, Types of Programming Language, Language Processor, Program Errors, Features of Good Program, Different Programming Paradigm, Software Development Model, Program Development Life Cycle, System Design Tools. 

Unit 2 Programming Technique 

Introduction to Programming Technique. Top down & Bottom up Approach. Cohesion and Coupling, Structured Programming. Deterministic and Non-deterministic Technique. Iterative and Recursive Logic, Modular Designing & Programming. 

Unit 3 Basic Concept of C 

Introduction. History. Features, Advantages and Disadvantages, Structure of C program, Compiling Process. C Pre-processor and I leader Files. Library Function, Character Set, Comments, Tokens and its types. Data types. Escape Sequences. Pre-processors Directives. 

Unit 4 Operators and Expressions

Arithmetic Operator, Relational Operator. Logical Operator. Assignment Operator, Increment/decrement Operator, Conditional Operator. Shift Operator, Comma Operator. Sizeof Operator. Operator. Precedence and Associativity, Expressions and its Evaluation Type Casting in Expression, Program Statement. 

Unit 5 Input and Output 

 Input/Output Operation, Formatted I/O (scanf: printf). Unformatted I/O (getch-putch. getche, getchar, putchar and gets-puts)
Unit 6 Control Structure

 Introduction, Type of Control Structure (Branching:if, if else, if elseif and switch case, Looping: while, do while and for and Jumping: goto, break and continue), Nested Control Structure. 

Unit 7 Array

Introduction. Declaration. Initialization, One Dimensional Array, Multi Dimensional • Array, Sorting (Bubble, Selection). Searching Sequential). String I candling. 

Unit 8 User Defined Function 

 Introduction, Components, Function Parameters, Library Function vs. Users Defined Function. Different Forms of Function, Recursion, Passing Array to Function. Passing String to Function, Accessing a function (Call By Value & Call By Reference), Macros. Storage Class. 

Unit 9 Pointer 

 Introduction, The Address(&) and Indirection(•) Operators, Declaration & Initialization, Pointer to Pointer, Pointer Expressions. Pointer Arithmetic. Passing Pointer to a Function, Pointer and Array, Array of Pointer, Pointer and String, Dynamic Memory Allocation. 

Unit 10 Structure

 Introduction, Declaration. Initialization. Nested Structure, Array of structure, Array within Structure. Passing Structure & Array of Structure to function, Structure & Pointer. Bit Fields. Union and Its Importance, Structure vs. Union
Unit 11 File Handling 

Introduction, Types of File, Opening & Closing Data File, Read & Write Function, Writing & Reading Data To and From Data File, Updating Data File, Random Accessing Files. Printing a File. 

Unit 12 Introduction to Graphics

 Initialization, Graphical Mode, Graphical Functions. , 

Post a Comment

0 Comments