sivaramaiah  
 
  C and DS Lab 12/15/2017 12:11pm (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
  Advertisement

 


-----------------------------
  Offline Messages
  Adds
  Visitors Information
Today, there have been 67778 visitors (191368 hits) on this page!
=> Do you also want a homepage for free? Then click here! <= --------------------------------------------------