1BEIT105/205
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.