Home Syllabus Programming Language

Programming Language

337
0

Course Objectives:

    1. To develop various problem solving strategies.
    2. Implementing various programming technique using C.
    3. To make foundation in programming languages.

Course Contents:

Unit I: Introduction ————————————————————– 3 hours
    1. Flow chart and algorithms
    2. History of C
    3. Characteristics of C
    4. Structure of C Program
Unit II: Variable and data types ———————————————– 7 hours
    1. Constant and variables
    2. Variable declaration
    3. Variable Types
    4. Simple input/output function
    5. Operators
Unit III: Loops and Decisions ————————————————– 8 hours
    1. Introduction
    2. For Loop
    3. While Loop
    4. Do while Loop
    5. Nested Loop
    6. Case
    7. Break and continue statements
    8. The if, if else, else-if and switch statements
Unit IV: Functions —————————————————————- 6 hours
    1. Introduction
    2. Returning a value from a function
    3. Sending a value to a function
    4. Arguments
    5. External variables
    6. Preprocessor directives
    7. C libraries
    8. Macros
    9. Header files and prototyping
Unit V: Arrays and Strings —————————————————- 10 hours
    1. Introduction to Arrays
    2. Initializing Arrays
    3. Multidimensional Arrays
    4. String
    5. Functions related to the strings
Unit VI: Pointers —————————————————————– 4 hours
    1. Pointers definition
    2. Pointers and Arrays
    3. Returning multiple values from functions using pointer
    4. Pointer Arithmetic
    5. Pointer and Strings
    6. Double Indirection
    7. Pointer to Arrays
Unit VII: Structure and Unions ———————————————– 4 hours
    1. Definition of Structure
    2. Nested type Structure
    3. Arrays of Structure
    4. Structure and Pointers
    5. Linked Lists
    6. Union and application of it.
Unit VIII: File I/O —————————————————————- 4 hours
    1. Stream
    2. Text Stream
    3. Binary Stream
    4. File Pointer
    5. Open File
    6. File Open Mode
    7. Closing File, fgets, fputs, fread, fwrite
    8. Random Access I/O (fseek) and fprintf/fscanf
Unit IX: Developing a Project ————————————————- 2 hours
    1. Project definition and functional specifications
    2. Top Down Analysis
    3. Decomposition of Projects in different modules and inter-module relationship
    4. Data flow diagrams
    5. Translation of Different modules in codes

Laboratory:

    1. Laboratory work at an initial stage will emphasize on the verification of programming concepts learned in class and uses of loops, functions pointers structures and unions.
    2. Final project of 10 hours will be assigned to the students to put together most of the programming concepts development in earlier exercises.

Reference Books:

    1. S.k. Srivastava and Deepali Srivastava: C in Depth
    2. Kely and Pohl: A book on C
    3. Wait, Mitchell, Steven Prata and Donald Martin: C primer Plus
    4. Yeswant Kanetkar: Let us C

LEAVE A REPLY

Please enter your comment!
Please enter your name here