SREE VAHINIINSTITUTE OF SCIENCE AND TECHNOLOGY
(AUTONOMOUS)
TIRUVURU – 521235, ANDHRA PRADESH, INDIA
L T P C
I Year I Semester 3 0 0 3
PROGRAMMING IN C
Course Objectives:
The main objectives of the course is to
Introduce students to the fundamentals of computer programming.
Provide hands-on experience with coding and debugging.
Foster logical thinking and problem-solving skills using programming.
Familiarize students with programming concepts such as data types, control
structures, functions, and armys.
Encourage collaborative leaming and teamwork in coding projects.
UNIT I :
Introduction to Programming and Problem Solving: History of Computers, Basic
organization of a computer: ALU, input-output units, memory, program counter,
Introduction. to Programming Languages, Basics of a Computer Program Algorithms,
flowcharts (Using Dia Tool), pseudo code. Introduction to Compilation and Execution,
Primitive Data Types, Variables, and Constants, Basic Input and Output, Operations, Type
Conversion, and Casting. Problem solving techniques: Algorithmic approach, characteristics
of algorithm, Problem solving strategies: Top-down approach, Bottom-up approach, Time
and space complexities of algorithms.
UNIT II:
Control Structures: Simple sequential programs Conditional Statements (if, if-else, switch),
Loops (for, while, do-while) and Unconditional statements: goto, Break and Continue.
UNIT III:
Arrays and Strings: Arrays indexing, memory model, programs with array of integers, two
dimensional arrays, Introduction to Strings and string Operations
UNIT IV:
Pointers & User Defined Data types: Pointers, dereferencing and address operators, pointer
and address arithmetic, array manipulation using pointers. User-defined data types-Structures
and Unions.
SREE VAHINIINSTITUTE OF SCIENCE AND TECHNOLOGY
(AUTONOMOUS)
TIRUVURU – 521235, ANDHRA PRADESH, INDIA
UNIT V:
Functions & File Handling: Introduction to Functions, Function Declaration and Definition,
Function call Return Types and Arguments, modifying parameters inside functions using
pointers, arrays as parameters, Recursive functions. Scope and Lifetime of Variables, Basics
of File Handling
Text Books:
1. E. Balagurusamy. "Programming in ANSI C", 4/e, TMH
2. DrN B Venlateswarlu, " C Programming", S Chand Publications
3. Yashwant Kanetkar, "Let Us C: Authentic guide to C programming language", 19 Edition,
BPB publications
4. B. Kemighan & Dennis Ritchie, "The C Programming Language", 2/e PHI
Reference Books:
1. Paul Deitel, Harvey Deitel, "C; How to Program", 8/e, Prentice Hall.
2. Schaum's Outline of Programming with C. Byron S Gottfried, McGraw-Hill Education,
1996
Web Resources:
1. Introduction to Programming in C Course (nptel.ac.in)
2. Lecture Notes | Practical Programming in C | Electrical Engineering and Computer Science
| MIT OpenCourseWare
3. https://nptel.ac.in/courses/106105171
4. http://eslibrary.stanford.edu/