Lab Syllabus
Lab Syllabus
Week l
Week 2
a) Write a C program to find both the largest and smallest number in a list of integers.
b) Write a C program that uses functions to perform the following:
i) Addition of Two Matrices ii) Multiplication of Two Matrices
Week 3
a) Write a C program that uses functions to perform the following operations:
i) To insert a sub-string in to a given main string from a given position.
ii) To delete n characters from a given position in a given string.
Week 4
a) Write a C program that displays the position or index in the string S where the string T
begins, or – 1 if S doesn‘t contain T.
b) Write a C program to count the lines, words and characters in a given text.
Week 5
Week 6
Write a C program that uses functions to perform the following operations:
i) Reading a complex number
ii) Writing a complex number
iii) Addition of two complex numbers
iv) Multiplication of two complex numbers
Week 7
i) Arrays
ii) Pointers
Week 8
Write C programs that implement Queue (its operations) using
i) Arrays
ii) Pointers
Week 9
Week 10
Write a C program that uses functions to perform the following operations on singly linked list.
Week 11
Write a C program that uses functions to perform the following operations on Doubly linkedlist.
Week 12
Write a C program that uses functions to perform the following operations on circular linkedlist.
Week 13
ii) Traversing the above binary tree in preorder, inorder and postorder.
Week 14
Write C programs that use both recursive and non-recursive functions to perform the
following searching operations for a key value in a given list of integers:
i) Linear search
ii) Binary search
Week 15
Write a C program that implements the following sorting methods to sort a given list of
integers in ascending order
i) Bubble sort
ii) Selection sort
iii) Insertion sort
Text Books:
1. Programming in C and Data Structures, J.R.Hanly, Ashok N. Kamthane and A. Ananda
Rao, Pearson Education.
2. B.A. Forouzon and R.F. Gilberg, “COMPUTER SCIENCE: A Structured Programming
Approach Using C”, Third edition, CENGAGE Learning, 2016.
3. Richard F. Gilberg & Behrouz A. Forouzan, “Data Structures: A Pseudocode Approach
with C”, Second Edition, CENGAGE Learning, 2011.
Reference Books:
1. PradipDey and ManasGhosh, Programming in C, Oxford University Press, 2nd Edition 2011.
2. E.Balaguruswamy, “C and Data Structures”, 4th Edition, Tata Mc Graw Hill.
3. A.K.Sharma, Computer Fundamentals and Programming in C, 2nd Edition, University Press.
4. M.T.Somashekara, “Problem Solving Using C”, PHI, 2nd Edition 2009.
Course Outcomes