Programming in C (CSE18R153) : School of Computing Departement of Computer Science and Engineering
Programming in C (CSE18R153) : School of Computing Departement of Computer Science and Engineering
SCHOOL OF COMPUTING
DEPARTEMENT OF COMPUTER SCIENCE AND ENGINEERING
PROGRAMMING IN C
(CSE18R153)
Bachelor of Technology
2. Problem analysis: Identify, formulate, review research literature, and analyze complex engineering
problems reaching substantiated conclusions using first principles of mathematics, natural
sciences, and engineering sciences.
3. Design/development of solutions: Design solutions for complex engineering problems and design
system components or processes that meet the specified needs with appropriate consideration for
the public health and safety, and the cultural, societal, and environmental considerations.
5. Modern tool usage: Create, select, and apply appropriate techniques, resources, and modern
engineering and IT tools including prediction and modeling to complex engineering activities with
an understanding of the limitations.
6. The engineer and society: Apply reasoning informed by the contextual knowledge to assess
societal, health, safety, legal and cultural issues and the consequent responsibilities relevant to the
professional engineering practice.
7. Environment and sustainability: Understand the impact of the professional engineering solutions
in societal and environmental contexts, and demonstrate the knowledge of, and need for
sustainable development.
8. Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms
of the engineering practice.
9. Individual and team work: Function effectively as an individual, and as a member or leader in
diverse teams, and in multidisciplinary settings.
10. Communication: Communicate effectively on complex engineering activities with the engineering
community and with society at large, such as, being able to comprehend and write effective reports
and design documentation, make effective presentations, and give and receive clear instructions.
11. Project management and finance: Demonstrate knowledge and understanding of the
Engineering and management principles and apply these to one’s own work, as a member and
leader in a team, to manage projects and in multidisciplinary environments.
12. Life -long learning: Recognize the need for, and have the preparation and ability to engage in
independent and life -long learning in the broadest context of technological change.
Page 3 of 14
SYLLABUS
L T P Credit
CSE18R153 PROGRAMMING IN C
2 0 2 3
Pre-requisite : Nil
Course Category : Basic Engineering Course Type: Theory with Practical (TP)
Course Objective:
1. To make the students to understand the basic concepts of programming language,
rules to be followed while writing a program and how to compile and execute C
programs.
Course Outcomes:
CO1 : Interpret the basic programming concepts and syntax of C language
CO2 : Solve simple problems using C arrays and strings
CO3 : Apply modular programming concept of C to solve given problem
CO4 : Develop efficient code using memory allocation technique
CO5 : Create user defined data types and files to solve real world problems
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2 PSO3 PSO4
CO 1 S S VS S S S
CO 2 S S S S S S
CO 3 S S S S S S S S S S S
CO 4 S S S S S S
CO 5 S S S S S S S S S S S
Text Book:
1. Pradip Dey and Manas Ghosh,Programming in C,Oxford University Press,Third Edition,
2018.
2. Byron Gottfried, Schaum's Outline of Programming with C, McGraw-Hill,Third
Edition2010.
Reference Books:
1. Brian W. Kernighan and Dennis M. Ritchie, The C Programming Language, Prentice Hall of
India,Second Edition,2015.
2. E. Balaguruswamy, Programming in ANSI C, Tata McGraw-Hill, Sixth Edition,2012.
WEIGHTAGE:
Component Marks
Internal Exam
1. Sessional Examinations : 20%
50
2. Assignments/Seminars/Tutorial/Quiz : 15%
3. Laboratory Work(Internal) : 15
External Exam
50
End Semester Exam : 50%
Total 100
COURSE INFORMATION SHEET
Course Name / Code Programming in C – CSE18R153
Degree / Branch B.Tech., CSE
Course Credit 3 (2-0-2)
Course Category Basic Engineering – Theory with Practical
Contact Details
Faculty Name
Staff Room E-mail
Dr. K. Kartheeban [email protected]
8401
[email protected]
Course Instructors
Dr.T.Dhiliphan Rajkumar 8602 [email protected]
Dr.R.Kannaiga Devi 8602 [email protected]
Dr.K.Murugeshwari 8602 [email protected]
New Faculty --- --
Course Coordinator Dr.K.Kartheeban
Module Coordinator Dr.R.Ramalakshmi
Programme Coordinator Dr. K. Kartheeban
1. Pre-requisite: Nil
2. Course Description:
C language still has its importance and popularity in the software industry, in spite of recent
development of several high level languages. It has an excellent support of high-level as well
as low-level functionality, which makes it suitable for many applications.
4. Course Objectives:
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2 PSO3 PSO4
CO 1 S S V S S S S
CO 2 S S S S S S
CO 3 S S S S S S S S S S S
CO 4 S S S S S S
CO 5 S S S S S S S S S S S
7. Books:
Fundamentals of
Pradip Dey, Manas Oxford 3 nd Edition,
1. Computing and
Ghosh University Press 2018
Programming in C
Programming with Tata McGraw Third Edition,
2. Byron S. Gottfried
C Hill 2010
The C
Brian W. Kerninghan Pearson Second
Reference(s)
1. Programming
and Dennis M.Richie Education Edition,2015
language
8. Lesson Plan:
ABBREVIATION TEACHING METHOD
L Class Room Lecture (Chalk Based Lecture)
Smart Class Room Lecture/ Web-Facilitated Course Delivery/ Flipped
EL
Class Lecture/ Multimedia Lecture/ Animation
SS Self-Study Topic – Student Seminar
T Tutorial/ Case-Study/ Scenario
P Practical/ Laboratory Demonstration/ Model Demonstration/ Simulation
GD Group Discussion/ Debate/ Role Play
GL Guest Lecture/ Workshop/Interview with Experts/ Webinars
IV Industrial Visit/ Field Trip
PJ Project Design/ Project Demonstration/Literature Survey
TOPIC CHAPTER No. OF CUM.
TOPIC NAME REF. METHOD
No. No. HOURS HOURS
UNIT I – INTRODUCTION TO PROGRAMMING
1. Introduction to components T1 Chapter 1 1 1 L
of a computer system
(disks, memory, processor,
where a program is stored
and executed, operating
system, compilers etc.),
2. Representation of T1 Chapter 5 1 2 EL
Algorithm: Flowchart/
Pseudocode with examples.
3. Syntax and Logical Errors T1 Chapter 2 1 3 EL
in compilation.
4. Structure of C program T1 Chapter 2 1 4
5. variable-Data type in C T1 Chapter 2 1 5
6. Tokens - Operators and T1 Chapter 3 1 6 EL,P
expressions
7. Input and output T1 Chapter 3 1 7
8. Control statements : T1 Chapter 5 2 9 EL,P
Selection - Iteration - Goto
statement - Nested loops
UNIT II – ARRAYS AND STRINGS
Introduction – One and two
dimensional Array-
9. T1 Chapter 6 2 11 L, T, P
Declaration, Initialization,
Accessing array elements
Strings-: One dimensional
10. T1 Chapter 6 1 12 EL,P
character arrays
Declaration and string
11. T1 Chapter 6 1 13 L,P
Initialization
12. String Manipulation. T1 Chapter 6 2 15 EL,P
13. Multidimensional arrays T1 Chapter 6 1 16 EL,P
14. Arrays of Strings T1 Chapter 6 2 18 L,P
UNIT III – FUNCTIONS AND RECURSION
Functions (including using
15. T1 Chapter 7 2 20 L, T, P
built in libraries)
Parameter passing in
16. T1 Chapter 7 2 22 EL,P
functions, call by value
Passing arrays to
17. functions: idea of call by T1 Chapter 7 2 24 EL,P
reference
18. Recursion T1 Chapter 7 1 25 L, T
Recursion, as a different
19. T1 Chapter 7 2 27 EL,P
way of solving problems
UNIT IV POINTERS
20. Introduction - Pointers T1 Chapter 9 1 28 EL,P
21. Address of operands T1 Chapter 9 1 29 EL.P
TOPIC CHAPTER No. OF CUM.
TOPIC NAME REF. METHOD
No. No. HOURS HOURS
Pointer: Declaration and 2
22. T1 Chapter 9 31 EL,P
Initialization
23. Arrays and Pointers T1 Chapter 9 1 32 EL.P
24. Pointers and Strings T1 Chapter 9 1 33 L
25. Pointer Arithmetic T1 Chapter 9 1 34 EL,P
Pointers to Pointers -Array 1
26. T1 Chapter 9 35 L
of Pointers
Pointer to Array - Dynamic 1
27. T1 Chapter 9 36 EL
Memory Allocation (DMA)
UNIT V USER DEFINED DATA TYPES AND FILES
Introduction -Structures,
28. Declaration and T1 Chapter 8 1 37 L
Initialization of Structures
29. Array within structure T1 Chapter 8 1 38 EL.P
30. Structure and Pointers T1 Chapter 8 1 39 EL,P
31. Structures and Functions T1 Chapter 8 1 40 EL.P
32. Union T1 Chapter 8 1 41 L
33. Enumeration types T1 Chapter 8 1 42 EL,P
34. Using Files in C T1 Chapter 10 1 43 L
35. Working with Text Files T1 Chapter 10 1 44 L, T
36. Working with binary files T1 Chapter 10 1 45 L
9. List of Experiments
Exam Portions
1. Unit I – http://computer.howstuffworks.com/c.htm
Introduction to http://www.le.ac.uk/cc/tutorials/c/
Programming http://www.eskimo.com/~scs/cclass/notes/top.html (for notes)
http://www.cprogramming.com/tutorial.html
2 Unit II – http://www.iu.hio.no/~mark/ctutorial/ctutorial.html
Arrays and Strings http://www.cs.cf.ac.uk/dave/c/
http://www.di-mgt.com.au/cprog.html (c complex code examples)
http://c-faq.com/index.html (frequently asked questions)
3 Unit III – Function https://www.tutorialspoint.com/cprogramming/c_pointers.htm
and Recursion https://www.programiz.com/c-programming/c-pointers
http://www.cprogramming.com/tutorial/c/lesson6.html
http://www.studytonight.com/c/pointers-in-c.php
www.programiz.com/c-programming/c-recursion
https://onlinecourses.nptel.ac.in/iitk_cs_101
freevideolectures.com / Programming / IIT Kharagpur
https://www.coursera.org/course/cprogramming
http://ocw.mit.edu/courses/electrical-engineering-and-computer-
science/6-087-practical-programming-in-c-january-iap-2010/
4 Unit IV- Pointers https://www.programiz.com/c-programming/c-pointer-examples
https://www.tutorialspoint.com/cprogramming/c_pointers.htm
https://www.w3schools.in/c-tutorial/pointers/
https://www.c-lang.thiyagaraaj.com/c-programs/c-pointer-
example-programs/simple-pointer-example-program
https://www.programmingsimplified.com/c-program-examples
http://www.trytoprogram.com/c-programming/c-programming-
arrays-and-pointers/
5 Unit V – User http://www.cs.utah.edu/~hamlet/release/classes/c/contents.shtm
defined data types l
and files http://www2.its.strath.ac.uk/courses/c/
http://ocw.mit.edu/courses/electrical-engineering-and-computer-
science/6-087-practical-programming-in-c-january-iap-2010/
http://www.programiz.com/c-programming/c-structure-examples
http://hemsidor.torget.se/users/d/devlin/shell/
http://www.esscc.uq.edu.au/~ksteube/bshell/
http://heather.cs.ucdavis.edu/~matloff/unixandc/unix/cshellii.ht
ml http://www.injunea.demon.co.uk/pages/page203.html
Discussion
Workshop
Webinar
Case Studies