Friday, March 5, 2010

CS1152 DATA STRUCTURES LAB


ANNA UNIVERSITY CHENNAI :: CHENNAI 600 025
CURRICULUM 2004
B.E. ELECTRONICS AND COMMUNICATION ENGINEERING

CS1152 DATA STRUCTURES LAB

AIM
To teach the principles of good programming practice and to give a practical training in writing efficient programs in C

OBJECTIVES

  • To teach the students to write programs in C
  • To implement the various data structures as Abstract Data Types
  • To write programs to solve problems using the ADTs

Implement the following exercises using C:

  • Array implementation of List Abstract Data Type (ADT)
  • Linked list implementation of List ADT
  • Cursor implementation of List ADT
  • Array implementations of Stack ADT
  • Linked list implementations of Stack ADT

The following three exercises are to be done by implementing the following source files
(a) Program for ‘Balanced Paranthesis’
(b) Array implementation of Stack ADT
(c) Linked list implementation of Stack ADT
(d) Program for ‘Evaluating Postfix Expressions’
An appropriate header file for the Stack ADT should be #included in (a) and (d)

    • Implement the application for checking ‘Balanced Paranthesis’ using array implementation of Stack ADT (by implementing files (a) and (b) given above)
    • Implement the application for checking ‘Balanced Paranthesis’ using linked list implementation of Stack ADT (by using file (a) from experiment 6 and implementing file (c))
    • Implement the application for ‘Evaluating Postfix Expressions’ using array and linked list implementations of Stack ADT (by implementing file (d) and using file (b), and then by using files (d) and (c))
    • Queue ADT
    • Search Tree ADT - Binary Search Tree
    • Heap Sort
    • Quick Sort

0 comments:

Post a Comment

 

Anna University Syllabus and Results | Copyright 2009 Tüm Hakları Saklıdır | Blogger Template by GoogleBoy ve anakafa | Sponsored by Noow!