Programming in C & Data Structures Syllabus
Programming in C & Data Structures Syllabus
Course Objectives:
Course content
UNIT 1 (8 Hrs)
UNIT 2 (8 Hrs)
UNIT 3 (8 Hrs)
Function Declaration, Function Definition, Function Call, Call By Value, Call By Reference,
Recursion, String Handling Functions
UNIT 4 (8 Hrs)
UNIT 6 (8 Hrs)
Linked List, Double Linked Lists, Stack, Stack Implementation Using Arrays, Stack
Implementation Using Linked List.
Learning resources
Text book:
Reference Books:
Web resources :
Course outcomes: At the end of the course, the student will be able to
Assessment Method
Course
Course Code Course Name L-T-P Credits
Category
Programming for
CS1289 Data Structures ESCL 0-0-3 1.5 credits
Laboratory
Course Objective:
UNIT 1 (Week1)
1. C Program to calculate the sum of Natural numbers.
2. C Program to find factorial of a number
3. C Program to generate multiplication table of a given number.
4. C Program to display Fibonacci sequence ( Up to given number)
5. C Program to Check whether a given number is prime or not
6. C Program to make a simple Calculator using switch case
7. C Program to check whether a number is palindrome or not
8. C Program to display factors of a given number.
9. C Program to print Pyramids and Triangles using loops.
UNIT II (Week2&3)
1. C Program to find second largest Element of an Array
2. C Program to add two matrix using multi-dimensional arrays.
3. C Program to multiply two matrix using multi-dimensional arrays.
4. C Program to find transpose of a matrix.
5. C Program to Sort Elements of an Array.
UNIT IV (Week6&7)
1. C Program using structures to read and display the information about a student.
2. C Program to read, display, add and subtract two complex numbers.
3. C Program to read and display the information of a student using nested
structure.
4. C Program, using an array of pointers to a structure, to read and display the data
of students.
5. C Program to demonstrate arrays of Union variables.
UNIT V (Week8&9)
1. C Program to demonstrate, handling of pointers in C.
2. C Program to access array elements using pointers.
3. C Program to find the sum of n numbers with arrays and pointers.
4. C Program to swap two numbers using pointers and function
5. C Program to find sum of n elements entered by user. To perform this allocate
memory dynamically using malloc() function.
6. C Program to find sum of n elements entered by user. To perform this allocate
memory dynamically using calloc() function.
UNIT VI (week10&11)
1. Write a program to create a linked list and perform insertions and deletions of all
cases. Write functions to sort and finally delete the entire list at once.
2. Write a program to create a doubly linked list and perform insertions and deletions
in all cases.
3. Write a program to perform push, pop and peek operations on a stack.
4. Write a program to implement a linked stack.
Course outcomes: At the end of the course, the student will be able
Assessment Method