C Programming (Eng)

210 Original price was: ₹210.147Current price is: ₹147.

Unit I INTRODUCTION TO C
Overview of C: Basic Structure of C program, Compiling and Executing a C
program. C Basics: Constants, Variable, Operators and Datatypes -Character Set –
C Tokens -Keywords and Identifiers – Declaration and Use of Variables –
Managing Input and Output Operations: Formatted and Unformatted Input and
Output statements.
3
Ex No 1: Write a C program to calculate the simple interest and compound
interest.
Ex No 2: Write a C program to find the area of a circle and a rectangle (use
preprocessing directory for defining pi value).
12
Unit II CONTROL STRUCTURES AND LOOPING
Decision Making and Branching: Simple if Statement – if-else Statement – Nested
if-else Statements – else if ladder – Switch case statement.
Looping: While Statement – do..while statement – for loop statement-break and
continue statement- goto statement.
3
Ex No 3: Write a C program to find the largest of three numbers.
Ex No 4: Write a C program to generate all prime numbers from 1 to N.
12
Unit III ARRAYS AND FUNCTIONS
Arrays: One-dimensional Arrays- Declaration of One-dimensional Arrays –
Initialization of One-dimensional Arrays-Two-dimensional Arrays- Declaration of
Two-dimensional Arrays – Initialization and accessing Two-dimensional Arrays.
User-Defined Functions: Need for Functions -Elements of User Defined Functions
–Functions Types – Call by Value-Call by Reference-Passing Arrays to FunctionsRecursion
Ex No 5: Write a C program to demonstrate matrix addition and transpose
operations.
Ex No 6: Write a C program to find factorial of a given number using recursion.
3
12
UNIT IV STRINGS AND POINTERS
Strings: Declaring and Initializing String Variables –String Built-in Functions. 3
DIRECTORATE OF TECHNICAL EDUCATION, CHENNAI – 600 025
2023 REGULATION
29
Textbook for Reference:
 Reema Thareja, “Programming in C”, Oxford University Press, Second Edition, 2015.
 Pradip Dey, Manas Ghosh, “Fundamentals of Computing and Programming in C”,
First Edition, Oxford University Press, 2009.
 E.Balaguruswamy, “Programming in ANSI C”, Tata McGraw-Hill, Third Edition
Edition,2012.
Website links for reference:
 https://www.w3schools.com/c/
 https://www.programiz.com/c-programming
 https://www.tutorialspoint.com/cprogramming/index.htm
 https://egyankosh.ac.in/
 https://archive.nptel.ac.in/courses/106/104/106104128/
Suggested List of Students Activity
 Presentation/Seminars by students on any recent technological developments based
on the course Programming assignments
 Periodic class/online quizzes conducted based on the course.
 Blended learning activities to explore the recent trends and developments in the field.
Pointer: Declaring, Initialization and Accessing a pointer Variable-Pointer
Expressions – Pointer Arithmetic – Pointer to Pointer – Pointer to an Array.
Ex No 7: Write a C program to find the length and reverse a string using pointers.
Ex No 8: Write a C program for implementing linear search using pointer to
an array.
12
UNIT V STRUCTURES AND FILE MANAGEMENT
Structures and Union: Introduction -Defining a Structure -Declaring Structure
Variables – Accessing Structure Members – structure initialization -Array of
Structures-Union.
File Management in C: Introduction – File Types- Defining File Modes -Opening
and Closing a File – File Operations.
3
Ex No 09: Write a C program to collect and print students details like name,
marks, etc. and then calculate total and average mark using structure.
Ex No 10: Write a C program to count the number of characters, words and
lines in a file.
12
TOTAL PERIODS

Reviews

There are no reviews yet.

Be the first to review “C Programming (Eng)”

Your email address will not be published. Required fields are marked *

210 Original price was: ₹210.147Current price is: ₹147.