TABFlux
HomeCoursesUniversitiesProgramsForum
Contact Us

© 2026 TABFlux. All rights reserved. Built for students, by students.

ForumPrivacy PolicyTerms of ServiceContact UsContributors

Programming in C

C Programming is a foundational programming language that focuses on structured programming and low-level memory management.


SyllabusSkill Roadmap

Select University

TUPUPoUFWU

Select Program

B.Ed. CSBSc. CSIT

TabFlux . Programming in C . FWU . B.Ed. CS

Programming in C

0%

Course Title: Programming in C

Course No: CS.Ed.112

Nature of the Course: Theory + Lab

Semester: 1

Full Marks: 60 + 20 + 20

Pass Marks: 24 + 8 + 8

Credit Hours: 3

Course Description

Course Objectives

Course Contents

1. Programming Preliminaries
3 hrs
1.1. Introduction to Program and Programming Language
1.2. Compilation and execution
1.3. Debugging, testing and documentation
1.4. Program Design Tools (Algorithms and Flowcharts, Pseudocode)
2. C Fundamentals
4 hrs
2.1. Introduction and Basic Structure of C
2.2. Writing a Simple C Program
2.3. The C Character Set
2.4. Identifiers and Keywords
2.5. Data Types
2.6. Variables and Constants
2.7. Writing Comments
2.8. Operators (arithmetic, relational, logical, assignment, ternary, bitwise, increment and decrement)
2.9. Expressions and statements
2.10. Operator precedence and associativity.
3. Data Input and Output
3 hrs
3.1. Single Character Input – The Getchar Function, Single Character Output – The Putchar Function
3.2. Entering Input Data – The Scanf Function
3.3. Writing Output Data – The Printf Function
3.4. The Gets and Puts Functions
4. Control Statements
5 hrs
4.1. Branching Statements – If and Switch Statements
4.2. Looping Statements – For, While, and Do While Statements
4.3. Nested Control Statements
4.4. Jumping Statements: Goto, Break and Continue
5. Functions
6 hrs
5.1. Introduction, Function Prototype, Function Definition, and Function Call
5.2. Advantages of Using Function
5.3. Types of Functions – Library Function and User Defined Function
5.4. Recursive Function
5.5. Calling Convention (Call by value and call by reference)
5.6. Storage Classes
5.7. The Preprocessor - #include and #define
6. Arrays
5 hrs
6.1. Introductions of Array.
6.2. Types of an array (1-D, 2-D and Multidimensional)
6.3. Accessing array
6.4. Passing Arrays to Functions
6.5. String handling functions
7. Pointers
6 hrs
7.1. Fundamentals and Pointer Declarations
7.2. Passing Pointers to a Functions
7.3. Pointers and One-dimensional Arrays
7.4. Dynamic Memory Allocation
7.5. Operations on Pointers
7.6. Pointers and Multi-Dimensional Arrays
7.7. Arrays of Pointers
8. Structures and Unions
5 hrs
8.1. Defining and Processing Structure
8.2. User Defined Data Types (Typedef)
8.3. Array of structure, array with in structure and nesting of structure.
8.4. Structures and Pointers
8.5. Passing Structures to Functions
8.6. Self-referential Structures
8.7. Unions
9. Data Files
5 hrs
9.1. Introduction to Files
9.2. Modes of file
9.3. Opening and Closing a Data File
9.4. Reading and Writing a Data File
9.5. Processing a Data File
9.6. Unformatted Data Files and binary files
10. Introduction to Graphics
3 hrs
10.1. Introduction to Graphics.
10.2. Graphics Initialization and Mode
10.3. Graphics functions(Line, Circle, Rectangle, Ellipse, Arc, Bar etc)

Laboratory Works

    Text Books

    1. 1.Gottfried, B. S. (2018). Programming with C (4th ed.). McGraw Hill. (Unit I-X)
    2. 2.Kelly, A., & Pohl, I. (1998). A book on C: Programming in C (4th ed.). Addison-Wesley Professional. (Unit I-X)
    3. 3.Kernighan, B.W., & Ritchie, D.M. (1988). The C programming language. Pearson. (Unit I-X)

    Notes:

    Source:

    This course is designed to develop acquaintance with fundamental concepts of program design and computer programming. The course starts with the basic concepts of algorithm and flow chart and also includes the concepts of C programming including data types, operators, control statements, arrays, functions, pointers, structures, unions, and data files and introduction to graphics.
    On completion of this course, students will be able to develop their knowledge in program design and computer programming and they will be able to develop small to medium size computer programs using different concepts of C programming language.
    Students should write programs and prepare a lab sheet for each topic discussed in class. Minimum 3 lab hours per week required; nature of programming problems may be decided by the instructor. Practical examination: 3 hours, conducted by an external examiner with an internal examiner assisting. Evaluation: Practical Report Copy 5 marks, Viva 5 marks, Practical Exam 10 marks (Total 20 marks).
    Theory Period Per Week: 3. Total Hours: 45 (theory) + 15 (practical, 2 hours per period). Full Marks: 100, Pass Marks: 45. Internal Evaluation: 40%, External Theory (Final) Examination: 40%, External Practical Examination: 20%. Strict Notice: each student must secure 40% marks with 80% attendance in internal evaluation to qualify for the End-Term Examinations; otherwise the student is marked NOT QUALIFIED (NQ).