This page contains Syllabus of C Programming of BCA.

Title C Programming
Short Name C
Course code CACS151
Nature of course Theory + Practical
Semester second-semester
Full marks 60 + 20 + 20
Pass marks 24 + 8 + 8
Credit Hrs 4
Elective/Compulsary Compulsary

Course Description

Course Description

This course includes both theoretical as well as practical concept of programming. Practical skill of programming are provided using C language which includes basic concept of C, operators and expressions, basic input/output function, control structures, array & string, function, pointer, structure and union, file handling and graphics in C.

Course Objectives

The general objectives of this course are to provide fundamental concepts of programming. language, programming technique and program development using C programming language.

Units and Unit Content

1. Programming Language
teaching hours: 10 hrs

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

2. Programming Technique
teaching hours: 5 hrs

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.

3. Basic concept of C
teaching hours: 5 hrs
Introduction, History, Features, Advantages and Disadvantages, Structure of C program, C Preprocessor and Header Files, Library Function, Character Set, Comments, Tokens and its types, Data types, Escape Sequences, Prepocessors Directives.
3. Input and Output
teaching hours: 3 hrs

Input/Output Operation, Formatted  I/O (scanf, printf), Unformatted I/O (getchputch, getche, getchar-putchar and gets-puts)

4. Operators and Expressions
teaching hours: 3 hrs

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

6. Control Structure
teaching hours: 6 hrs

Introduction, Types 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.

7. Array
teaching hours: 6 hrs

Introduction, Declaration, Initialization, One Dimentional Array, Multi Dimentional Array, Sorting(Bubble, Selection) Searching Sequential, String Handling.

8. User Defined Function
teaching hours: 5 hrs

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

9. Pointer
teaching hours: 6 hrs

 Introduction, The Adress(&) 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.

10. Structure
teaching hours: 5 hrs

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

11. Data File Handling
teaching hours: 4 hrs

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.

12. Introduction to Graphics
teaching hours: 2 hrs

Intialization, Graphical Mode, Graphical Functions.

Lab and Practical works

Laboratory Works 

Laboratory works should he done covering all the topics listed above and a small project work should be carried out using the concept learnt in this c 'use only. Project should be assigned on individual basis.