COMPUTER PROGRAMMING LAB
Objectives:
· To make the student learn a programming language.
· To teach the student to write programs in C solve the problems
· To Introduce the student to simple linear and non linear data structures such as lists, stacks, queues, trees and graphs.
Recommended Systems/Software Requirements:
· Intel based desktop PC
· ANSI C Compiler with Supporting Editors
Week l.
Week 2.
Week 3
a) Write C programs that use both recursive and non-recursive functions
Week 4
Week 5
Week 6
a) Write a C program that uses functions to perform the following operations:
Week 7
Week 8
Week 9
Week 10
Week 11
Week 12
(Note: The file name and n are specified on the command line.)
Week 13
Write a C program that uses functions to perform the following operations on singly linked list.:
Week 14
Week 15
Write C programs that implement stack (its operations) using
Week 16
Write C programs that implement Queue (its operations) using
Week 17
Week 18
Week 19
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 :
Week 20
Write C programs that implement the following sorting methods to sort a given list of integers in ascending order:
Week 21
Write C programs that implement the following sorting methods to sort a given list of integers in ascending order:
Week 22
Week 23
Week 24
Text Books
1. C programming and Data Structures, P. Padmanabham, Third Edition, BS Publications
2. Data Structures: A pseudo code approach with C, second edition R.F. Gilberg and B.A. Forouzan
3. Programming in C, P.Dey & M. Ghosh, Oxford Univ.Press.
4. C and Data Structures, E Balaguruswamy, TMH publications