Course Details
- Course Code: 1BEIT105/205
- CIE Marks: 50
- Teaching Hours/Week (L:T:P:S): 3:0:0:0
- SEE Marks: 50
- Total Hours of Pedagogy: 40
- Total Marks: 100
- Credits: 03
- Exam Hours: 3
- Examination type (SEE): Theory
Course Outcome (Course Skill Set)
- CO1: Demonstrate fundamental concepts and language constructs of C programming.
- CO2: Make use of control structures and arrays to solve basic computational problems.
- CO3: Develop modular programs using user-defined functions for complex computational problems.
- CO4: Construct user defined datatypes using structures, unions and enumerations to model simple real-world scenarios.
- CO5: Choose suitable datatypes and language constructs to solve a given computational or real-world problem.
Modules
Module-1
Introduction to Computing: Computer languages,
Creating and Running Programs, System Development.
Overview of C:
A Brief History of C, C Is a Middle-Level Language, C Is a Structured
Language, C Is a Programmer's Language, Compilers Vs. Interpreters,
The Form of a C Program, The Library and Linking, Separate
Compilation, Compiling a C Program, C's Memory Map.
Expressions:
The Basic Data Types, Modifying the Basic Types, Identifier Names,
Variables, The Four C Scopes, Type Qualifiers, Storage Class
Specifiers, Variable Initializations, Constants, Operators,
Expressions.
Textbook 2: Chapter 1: 1.3, 1.4,
1.5; Textbook 1: Chapter 1, 2
Number of Hours: 08
Module-2
Console I/O: Reading and Writing Characters, Reading
and Writing Strings, Formatted Console I/O, printf(), scanf().
Statements: True and False in C, Selection
Statements, Iteration Statements, Jump Statements, Expression
Statements, Block Statements.
Textbook 1:
Chapter 8, 3
Number of Hours: 08
Module-3
Arrays and Strings: Single-Dimension Arrays,
Generating a Pointer to an Array, Passing Single-Dimension Arrays to
Functions, Strings, Two-Dimensional Arrays, Multidimensional Arrays,
Array Initialization, Variable - Length Arrays.
Pointers:
What Are Pointers?, Pointer Variables, The Pointer Operators, Pointer
Expressions, Pointers and Arrays, Multiple Indirection, Initializing
Pointers.
Textbook 1: Chapter 4, 5
Number of Hours: 08
Module-4
Functions: The General Form of a Function,
Understanding the Scope of a Function, Function Arguments, argc and
argv—Arguments to main(), The return Statement, What Does main()
Return?, Recursion, Function Prototypes, Declaring Variable Length
Parameter Declarations, The inline Keyword.
Pointers (Contd…):
Pointers to Functions, C's Dynamic Allocation Functions.
Textbook 1:
Chapter 5, Chapter 6
Number of Hours: 08
Module-5
Structures, Unions, Enumerations, and typedef:
Structures, Arrays of Structures, Passing Structure to Functions,
Structure Pointers, Arrays and Structures within Structures, Unions,
Bit-Fields, Enumerations, Using sizeof to Ensure Portability, typedef.
Textbook 1: Chapter 7
Number of Hours: 08
Suggested Learning Resources
Textbooks:
- Schildt, Herbert. "C the complete reference", 4th Edition, Mc GrawHill.
- Hassan Afyouni, Behrouz A. Forouzan. “A Structured Programming Approach in C”, 4th Edition, Cengage.
Reference books:
- Brian W. Kernighan and Dennis M. Ritchie, The 'C' Programming Language, 2nd Edition, Prentice Hall of India.
- Reema Thareja, Programming in C, 3rd Edition, Oxford University Press, 2023.
Web links and Video Lectures (e-Resources):
Original Scheme
this is the scheme in PDF
if you are refering other notes, follow the scheme
open / download schemeTextbook 1
This is where you can download the text book.
C The Complete Reference Fourth Edition
open / download Textbookandroid application
android applicaion that allows you to paste code.
check if you can copy the code from the below exampels and run it
Module 1 - Chapter 1
This is Official notes of module 1
- History and Evolution of C
- C as a Middle-Level and Structured Language
- Key Features and Programmer Advantages
- Compilation Process: From Source to Executable
- Keywords, Standards, and Language Structure
- Memory Layout and Separate Compilation in Practice
Module 2 - Chapter 8
This is Official notes of module 2
Console I/O
- Reading and Writing Characters
- Reading and Writing Strings
- Formatted Console I/O
- printf()
- scanf()
Notes part 2
This is what we covered in class 2
Identifiers, Variables, and Basic Programs
open part 2Notes part 3
This is what we covered in class 3
Keywords, Control Flow, and Advanced Concepts
Part 3 of Programming in C explores essential C keywords, control flow
structures like if
, for
, and
switch
. It also covers storage classes, type qualifiers,
and advanced coding examples like calculators and prime checkers.
You'll practice common patterns, debug frequent errors, and strengthen
your C fundamentals. Ideal for mastering core syntax and logic
building.
Notes part 4
condition statements
In C, programs can choose which part of the code to execute based on some condition. This ability is called decision making and the statements used for it are called conditional statements.
- if
- if else
- if else ladder
- switch
Notes part 5
Loops in C programming are used to repeat a block of code until the specified condition is met. It allows programmers to execute a statement or group of statements multiple times without writing the code again and again.
- For Loop
- While Loop
- Do-While Loop