sivaramaiah  
 
  C and DS Lab 03/19/2024 7:50am (UTC)
   
 

 

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
                i) To find the factorial of a given integer.
                iii) To solve Towers of Hanoi problem.
 
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.:
                i) Creation ii) Insertion   iii) Deletion   iv) Traversal
 
Week 14
Week 15
Write C programs that implement stack (its operations) using
                i) Arrays   ii) Pointers  
 
Week 16
Write C programs that implement Queue (its operations) using
                i) Arrays   ii) Pointers  
 
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 :
                i) Linear search    ii) Binary search
 
Week 20
Write C programs that implement the following sorting methods to sort a given list of integers in ascending order:
                i) Bubble sort     ii) Quick sort
 
 
 
Week 21
Write C programs that implement the following sorting methods to sort a given list of integers in ascending order:
                i) Insertion sort   ii) Merge sort
 
Week 22
 
Week 23
 
Week 24
Write C programs to implement Trapezoidal and Simpson methods.
 
 
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

 
  Menu Items
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

  add
HOT TOPICS
MCA PROJECT DETAILS ------------------------------------- Jntu all Lab manuals ------------------------------------- Jntu Syllabus Books ------------------------------------- Paper presentations ------------------------------------- Seminars ------------------------------------- Campus Papers ------------------------------------- Competetive Exams GATE ------------------------------------- GRE ------------------------------------- TOEFL ------------------------------------- IELTS ------------------------------------- CAT ------------------------------------- GMAT ------------------------------------- Templates ------------------------------------- Students Resume Preparation tips ------------------------------------- Job zone(Interview questions) ------------------------------------- Google Adsence html code ------------------------------------- Web sites --------x--------------x-----------
  Advertisement

 


-----------------------------
  Offline Messages
  Adds
  Visitors Information
Today, there have been 118433 visitors (278533 hits) on this page!
-------------------------------------------------- This website was created for free with Own-Free-Website.com. Would you also like to have your own website?
Sign up for free