0 ratings0% found this document useful (0 votes) 15 views4 pagesSyllabus - Introduction To C Programing
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
WANE AS Grae
Te MENAKSH MSU OF ECOLOGY
DepartmentComputer Science anid | Course Type: Integrated Course
Engineering
Course Title: Introduction to C Programming | Course Code:22ESC145/245
T-T-P: 2-1-2
Total Contact Hours:40 Duration of SEE:3 hrs
‘SEE Marks: 50 CIE Marks: 50
Course Outcomes:
Students will be able to
[co ‘Course Outcomes Blooms
level
1 | Understand the basics of computers, SDLC and C program structure 12
2 | Apply the concepts of control flow to solve the given problem 13
3 | Apply concepts of arrayto solve the given problem and write modular program | __L3
using functions
4 | Apply concepts of pointers and built-in string functions to solve a given 13
problem
3 | Apply concepis of C siructure/union and file VO to solve a given problem 3
Teaching Methodology:
© Black board teaching and hands-on lab
© Power Point Presentation
Assessment Methods:
‘+ Three internals (theory), 30 Marks each will be conducted
‘© Lab Experiments / Record -10 Marks,
© Lab Test- 10 Marksand PO's:
Mapping of €O"*
Pos
ox] FOe [POT
08 Hours
uNIT-1
tatredacory concepts: Inroducton to computers, What i a computer? block diogras of
Be rcen erepioee chasscratcn)tnsdies Xo SOR Boho GEIR SDE
Tinie, “pecodo code, flowchart, Software devolopmeat Wecycte, structured
programming. Structure of a C program i
Fe eramctiod to C programmag: The C churacicr set, Kntifiers and Keywords, Dats
TypsnConsants, variables, Declarations, Expressions, Statements ,Symbolic Conssills
Rfhmetie Operators, Relational and Logical Operators, Unary Operators, Bitwise Operators,
‘Assignment Operators, Conditional Expressions. Type Conversion
UNIT-1 08 Hours
the while statement, the do
Control Statements: Branching: the if-else Statement,loopi
while statement, the for statement, Nested control structures. The switch statement, break
statement and continue statement
Formatted and Unformatted Input/Output: Formatted /O;printf()scanf{) Unformatted
1VO:getchar(,putchar() gets and puts)
UNIT - 1 08 Hours:
‘Arrays: Defining an array, processing an array, ‘multidimensional arrays. Bubble sort and
sequential search
Functions:-A brief overview, defining a function , accessing a function, function prototypes,
passing arguments to a function , call by value vs call by reference, passing array to function ,
recursion
‘Note - Basic meaning of call by ref to be mentioned, Details to be covered in unit 4
UNIT-AV 08 Hours
Pointers: Fundamentals, Pointer Declarations, Operations on pointers, passing pointers to
function , call by ref, pointers and one dimensional array
Strings: Defining a string, Initialization of Strings, reading and writing a string (using scant
jibes
printf)
‘String built-in functions ~ string length, copy, compare, concatenate
Dynamic memory allocations (malloc and free, calloc)es 08 Hours
Strectures And Unions-Defining a structure, processing a structure, passing, srucure 12
TextBooks
1. Byron Gottfried, Programming with C,
2. Computer fundamentals and programming it 6
Second edition, 2017
Edition, Shaums outlines series 2017
“Reema Thareja”, Oxford University,
REFERENCE BOOKS:
1. Brian W. Kemighan and Dennis Ritchie: the C programming lan
1398.
2 peter Norton Introduction t0 Computer, 7h eition TATA
.guage second edition PHI,
MCGRAWHILL, 2010.
3. YashvantKanetkar:Let Us C.
“4 Andrew Koenig: C Traps and Pitfalls, Pearson Edvatin, India 2006
5, Ip:/sewnelteraneprogramming.convetraps pdfSet of
Lab Problem Statements
{special returns to its customers on leap
Scoure life, an insurance company issues spe le ern
| | years: Given a year, write aC program 1 4 whether the custome for special
| returns oF not, (use temary operator)
are to be selected for the basketball tournament being
C program using branching statements to
rent. (if else)
[2 ) ike tallest of the three pupi [
| eld in the university next year. Write @
| find the candidate selected for the tournam
| Person is making identical balloon arrangements for a party. He has X maroon
| balloons and Y white balloons. He wants each arrangement to have the same number
find greatest (GCD) & Least (LCM) number
| of each colour. Design a C program to
|__| of arrangements _using Euclid’s algorithm to make use of every balloon.
[4 [A criminal leaves a four digit number as his calling card, Design an algorithm and
develop aC program to test the four digit number left by the criminal is palindrome
‘or not.
“The books in the library are randomly placed on the shelves. Design a C program that
sorts the books based on ISBN ,Use bubble sort to implement the program.
Given a ISBN Design a C program to search and display the book if present in the
library.
Use binary search to design the program
7 | In google web search engine the user types a string. Design aC program to check if
a sub string is present in the given string _
Design, develop and execute a program in C to read two matrices A(M x N) and B(p
é
x q) and compute the product of A and B
3 | You are given two envelopes, each containing money, Design, develop and execute a
program in C to swap two envelopes using methods
a. Call by value.
b. Call by reference
30 | You have been asked to arrange a lucky draw in college and the person who picks a
prime number always wins a prize. Design a C program to test if the participant has
‘won or lost (Prime number)
11 | In the university to maintain student database for result calculation, Using structures
design a C program that accepts the details such as student rollno, student name and
marks of three subjects of n students and prints theirs details along with their total
12 | The local government school needs simple recording software which accepts names
ere een peer prepares the nominal roll in alphabetical order. Help
igning a simple c program to sort the git es and in
sorted names using file pec neste ee” Sa
1