0% found this document useful (0 votes)
61 views4 pages

CS3001 Programming With C Syllabus

Uploaded by

evanshisaini123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views4 pages

CS3001 Programming With C Syllabus

Uploaded by

evanshisaini123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Course Code Courses Name L T P Hrs.

Credits
CS3001 Programming with C 2 0 2 4 3

Course Learning Objectives (CLOs):


CLO1: To understand the fundamentals of C programming language and its
syntax.
CLO2: To learn problem-solving techniques using structured programming
concepts.
CLO3: To develop modular programs using functions and user-defined data
types.
CLO4: To handle data through arrays, pointers, and structures.
CLO5: To apply file handling and dynamic memory allocation in real-world
programs.

Unit 1: Basics of C Programming


History and structure of C program, compiling and executing C program,
Keywords, Identifiers, Constants, Variables, Data Types, Operators, Type
conversions, Input and Output functions.

Unit 2: Control Flow and Arrays


Conditional statements: if, if-else, nested if, switch-case, Loops: while, do-while,
for, break and continue, Arrays: declaration, initialization, one-dimensional and
two-dimensional arrays, array operations.

Unit 3: Functions and Recursion


Function declaration and definition, Call by value and call by reference,
Recursion, Storage classes, Scope rules, Header files, Inline functions.

Unit 4: Pointers and Structures


Pointers: declaration, initialization, pointer arithmetic, pointers and arrays,
pointers and functions, structures: declaration, definition, accessing members,
nested structures, unions, bit-fields.

Unit 5: File Handling and Dynamic Memory Allocation


File operations: opening, reading, writing, closing text and binary files, command-
line arguments, dynamic memory allocation: malloc, calloc, realloc, free,
introduction to linked lists (concept only).

Textbooks:
1. E. Balagurusamy, Programming in ANSI C, McGraw Hill Education, 8th
Edition.
2. Byron S. Gottfried, Programming with C, Schaum's Outlines, McGraw Hill,
3rd Edition.
3. B. W. Kernighan and D. M. Ritchie, The C Programming Language, Prentice
Hall, 2nd Edition.
4. Kanetkar Y., Let Us C, BPB Publications, 15th Edition.
5. Reema Thareja, Programming in C, Oxford University Press, 2nd Edition.
Reference Books:
1. Brian W. Kernighan, Understanding the C Language, Pearson Education.
2. Jeri Hanly and Elliot Koffman, Problem Solving and Program Design in C,
Pearson Education.
3. Tanmoy Deb, Programming in C, Oxford University Press.
4. Nell Dale and Chip Weems, Programming and Problem Solving with C,
Jones & Bartlett Learning.
5. S. S. Khandare, Programming in C, S. Chand Publishing.

Course Outcomes (COs):


After completion of this course the students shall be able to:
CO1 Explain the basic concepts, syntax, and semantics of C
programming.
CO2 Develop programs using control structures and arrays.
CO3 Implement modular programming using functions and recursion.
CO4 Apply the concepts of pointers, structures, and unions.
CO5 Demonstrate file handling and dynamic memory management in
applications.

List of Practicals:
1. Write a program to print hello user on output screen.
2. Write a program to perform arithmetic operation on two numbers.
3. Write a program to find sum of individual digits of any three digits number.
4. Write a program to print any three-digit number in reverse order.
5. Write a program to swap any two numbers using third variable and without
using third variable.
6. Write a program to check given number is even or odd.
7. Write a program to check given char is vowel or consonant.
8. Write a program to check given number is positive or negative.
9. Write a program to check given year is leap year or not.
10. Write a program to check the given number in the range of 100-200 or not.
11. Write a program to check given number is palindrome or not.

12. Write a program to print grade of student on the basis of percentage:


a. If per greater than or equal to 75 A grade
b. If per between 60-75 B grade
c. If per between 50-60 C grade
d. If per between 40-50 D grade
e. If per less than 40 Fail
13. Write a program for addition subtraction multiplication division using switch
case.
14. Write a program to print table of any number.
15. Write a program to calculate factorial of any number.
16. Write a program to print a series of alphabet.
17. Write a program to print Fibonacci series.
18. Write a program to check given number is perfect or not
19. Write a program to check given number is prime or not.
20. Write a program to check given number is Armstrong or not
21. Write a program to print numbers in words in between 1-5. Like (1 =one)
22. Write a program to check given char is vowel or consonant.
23. Write a program to print name of month according to number.

24. Write a program for converter.


• For currency converter
• For temperature converter
• For weight converter
• For length convertor
• For time converter
• For energy convertor
25. Write a program to print series of numbers from 1-100 without using loop.
26. Write a program to find maximum & minimum number from array.
27. Write a program to check how many numbers are prime & not prime in a list
28. Write a program to check how many digits at each index of array.
29. Write a program to check (search) given number is present or not present in
list.
30. Write a program to arrange (sort) array elements in ascending or
descending order.
31. Write a program to print a 2*2 matrix.
32. Write a program to find the sum of two matrix.
33. Write a program to find multiplication of two matrix.
34. Write a program of string functions.
35. Write a function to find sum of two numbers.
36. Write a function to calculate factorial of any number.
37. Write a function for call by value to find sum of two numbers.
38. Write a function to pass an integer array as an argument and find sum of
array elements
39. Write a function to pass a char array as an argument and find length of
string.
40. Write a recursive function to calculate factorial of any number.
41. Write a program to find the no of char no of word and no of lines from given
text input.
42. Write recursive programs to solve problems like factorial, greatest common
divisor (GCD), and Tower of Hanoi.
43. Create a structure to store student information and perform operations like
sorting by marks or searching by name.
44. Write programs using pointers to swap two variables, reverse an array, and
perform pointer arithmetic.
45. Develop a program to demonstrate use of malloc(), calloc(), realloc(), and
free() for dynamic arrays.
46. Implement a program to read and write data to a text file and perform line-
by-line manipulation (e.g., word count, find/replace).

You might also like