Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
15 views

c Programming Syllabus

Imp questions
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

c Programming Syllabus

Imp questions
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

L T P J C

Subject Code: PROBLEM SOLVING USING C PROGRAMMING


3 0 0 3

Pre-requisite Nil
Branch ALL
Course Type Theory
Batch 2024

Course Objective:

The course is oriented to students who want to learn programming basics with using C programming
language as an implementation tool. The major objective is to provide students with understanding of
programming essentials, including algorithms, data types, elementary control structures and
functions used within the framework of imperative and structural programming paradigms

Expected Course Outcome:

At the end of the course the student should be able to


CO 1: Understand various computer components, design flowchart and write program in C
programming language, understand, explain and use different data types and operators in C to write
programs.
CO 2: Formulate, evaluate and analyze the problems by applying programming concepts using
decision control statements and loop control statements and Programming using Arrays.
CO 3: Students will be able to design and implement applications in C using Functions and Pointers
CO 4: Students will be able to develop applications using Structures, sequential and random access
file processing.

Student Learning Outcomes (SLO): 1,5,6


[1] Having an ability to apply mathematics and science in architectural applications
[5] Having design thinking capability
[6] Having an ability to design components of indoor and outdoor built environment applying all the
relevant standards and with realistic constraints
Module: 1 Introduction To C Programming 08 Hours
Computers Fundamentals: Recap of Classification of Computers, Application of Computers,
Basic organization of computer, Input and Output Devices, Binary Number System, Computer
memory, Computer Software, operating system

Introduction to Computing: Representation of Algorithm: Steps to solve logical and numerical


problems, Algorithm, Flowcharts, Pseudocode, Generation of Programming Languages Application
Software & System software, High level and low level languages, Concept of translator, assembler,

1
compiler, interpreter, loader, and linker

Introduction to C Language: Basic structure of C program, Literals/ Constants, Variables and Data
Types, Character Set; C Tokens; Keywords and Identifiers, Reading a Character/integer; Writing a
Character/integer; Formatted Input; Formatted Output, command line argument

Operators and Expressions: Introduction; Arithmetic Operators; Relational Operators; Logical


Operators; Assignment Operators; Increment and Decrement Operators; Conditional Operator;
Bitwise Operators; Special Operators; Arithmetic Expressions; Evaluation of Expressions;
Precedence of Arithmetic Operators; Type Conversions in Expressions.
Module: 2 Control Structures And Arrays 12 Hours
Decision Making and Branching: Introduction; Decision Making with IF Statement; Simple IF
Statement; the IF-ELSE Statement; Nesting of IF-ELSE Statements; The Switch statement; The ? :
Operator; unconditional goto statement.

Looping: while, do-while and for loops; Jumps in LOOPS (break and continue), nested loops.

Arrays: One-Dimensional Arrays; Declaration of One-Dimensional Arrays; Initialization of One-


Dimensional Arrays; Operations on array: traversal, insertion, deletion and searching (Linear and
Binary), Two-Dimensional Arrays; Declaration of Two-Dimensional Arrays; Initialization of Two-
Dimensional Arrays; Operations on matrix: Matrix addition, Multiplication and Transpose

Character Arrays and Strings: Declaring and Initializing String Variables, Reading Strings from
Terminal, Writing Strings to Screen, Arithmetic Operations on Characters, String-handling
Functions, Example Programs (with and without using built-in string functions).
Module: 3 Functions And Pointers 10 Hours
Functions (Library and user defined): Introduction to function, Need for functions, Built-in
functions for different standard operations, User defined functions, Elements of User-defined
Function, Definition of Functions, Return Values and their Types, Function Calls, Function
Declaration, Passing Arrays to a Function, Recursion, The Scope, Visibility, and Lifetime of
Variables.

Pointers: Understanding Memory Addresses, Address of Operator (&), Declaring a Pointer,


Initializing Pointers, Indirection Operator and Dereferencing, Void Pointer, Null Pointer, Dangling
pointer and memory leak. Use of Pointers. Pointers to One-dimensional Arrays, Differences between
Array Name and Pointer, Pointers and Strings, Pointer Arithmetic, Pointers to Pointers. Dynamic
Memory Allocation, Pointer and Const Qualifier, function call by value vs function call by reference
Module: 4 Structures, Union, Pre-Processor and Files 10 Hours
Structures: Declaring Structures and Structure Variables, Accessing the Members of a Structure,
Initialization of Structures, typedef and its Use in Structure Declarations, Nesting of Structures,
Arrays of Structures, Initializing Arrays of Structures, Structures and Pointers, Passing Structures to
Functions.
Union: Declaring a Union and its Members, Accessing and Initializing the Members of a Union,

2
Structure versus Union
Pre-processor directives and Storage classes: Scope of variables, Storage classes
FILES: Declaration of File Pointer, Opening a File, Closing and Flushing Files, Working with Text
Files(Character Input and Output, End of File (EOF), Detecting the end of a File Using the feof()
function) Working with Binary Files, Direct File Input and Output, Sequential Versus Random File
Access, Files of Records (Working with Files of Records), Random Access to Files of Records
Total Lecture Hours 40 hours
TEXT BOOKS
Programming in C: A Practical approach, Author: Ajay Mittal, Published: September 2010,
1
Publisher: Pearson Education
Computer Science: A Structured Programming Approach Using C, B.A. Forouzan and R.F.
2
Gilberg, Third Edition, Cengage Learning
Programming in ANSI C, by E Balagurusamy (Author) Publisher McGraw Hill Education
3
Edition Eighth Publication 2019
4 Fundamentals of Computers, by V. Rajaraman, Neeharika Adabala, PHI Learning Pvt. Ltd.
REFERENCE BOOKS
Computing Fundamentals And C Programming|2nd Edition, by E Balagurusamy,Publisher
1.
McGraw Hill Education , Publication Date 20 September 2017
2. Programming in C, Pradip Dey, Manas Ghosh, Publisher: Oxford HED, edition 2018
PROGRAMMING WITH C -by Byron Gottfried , (SCHAUMS OUTLINES SERIES), 3RD
3.
Edition, July 2017
PROGRAMMING IN C 3E Paperback – 28 August 2023 by Dr Reema Thareja
4.
(Author)PublisherOxford University PressPublication Date28 August 2023
The C Programming Language 2e, by Brian W. Kernighan / Dennis Ritchie (Author), Pearson
5.
Education India, Edition 2, Publication Date- 1 January 2015
Computer Fundamentals & Programming in C, Author: By Anita Goel, Publisher: Pearson,
6.
Published: 2013, Publisher: Pearson Education
ONLINE RESOURCES
1 Introduction To Programming In C https://nptel.ac.in/courses/106104128
NOC:Problem Solving through Programming in C, IIT Kharagpur.
2
https://archive.nptel.ac.in/courses/106/105/106105171/
Mode of evaluation: Continuous Assessment Test, Quizzes, Assignments, Final Assessment Test

Recommended by Board of Studies


Approved by Date
Academic Council

You might also like