2007 Anna University Chennai B.E Electrical and Electronics Engineering CS1211-Data structures and Algorithm Question paper
B.E/B.TECT. DEGREE EXAMINATION, NOVEMBER/DECEMBER 2007
Third semester
(Regulation 2004)
Electrical and Electronics engineering
CS1211-Data structures and Algorithm
Time:three hours Maximum:100 Marks\
Answer all questions
PART-A(10*2=20 MARKS)
1.Differentiate Recursion and iteration.
2.Give the general syntax for nested-if-structure
3. state any two application of queue
4. what is the importance of header nodes?
5.Give the array representation binary tree.
6. What is the significant of threaded binary array?
7.What are the different notations used for time complexity in sorting techniques?
8.Define address calculation sort..
9. what do you mean by transitive closure?.
10. Define Minimum spanning tree.
PART-B(5*16=80 marks)
11.a). I)Give the memory representation and the equation for calculating the address of required element of required element in the following arrays:
1. one dimensional array of size ‘n’
2. two dimensional ‘m x n’ array(for both row-major order and column major order) (8)
ii). Explain ‘call by value and call by reference’ with simple c program. (8)
(or)
b) Differentiate structures and unions in ‘c’.illustrate the nested structure with an example c program. (16)
12.a).(i). write an algorithm for transforming infix expression into postfix expression. (6)
ii).using the above algorithm transform the folowing arithmetic infix expression ‘Q’ into its equivalent postfix expression ‘P’
Q:A+(B*C-(D/E ?E)*G)*H
Show the status of the stack and the string. (10)
(or)
b) I)explain basic operations of circular queue with an example and also compare the advantages and disadvantages of linear queue and circular queue. (8)
ii).write an algorithm to insert and delete an element in the doubly linked list. (8)
13. a).i) give the three cases involved in deleting a node from a binary search tree. (6)
ii). Consider the following binary search terr and do the following deletion operations cited below. (10)
60
25 75
15 50 66
33
44
1)node 44 is deleted
2) node 75 is deleted
3) node 25 is deleted
give the resultant tree and also indicate the case in each deletion.
(or)
b) i) write an insertion algorithm for AVL tree (4)
ii)Do the following insertions with the explanation of rotation involved in each insertion in AVL tree (12)
insert K ,insert M ,insert U,insert T,insert V, insert P
14.a).explain the algorithm of depth first search and breadth first with the following graph.
5
3
1
6
7
4 9
8 (16)
(or)
b).Explain the kruskal’s algorithm with relevant example in detail. (16)
15. a). I)Explain the two phases of heap sort in detail . (8)
ii).sort the following elements using heap sort. (8)
25 55 46 35 10 90 84 31
(or)
b).i)Explain the following searching techniques with their alsorithms and example for each
1.linear search
2.binary serach
state the time complexity of each above searching technique. (8+8)
November 1, 2011
CS1211-Data structures and Algorithm question papers Anna university question papers Download
Subscribe to:
Post Comments
(
Atom
)
Labels
Accenture
Admission Notice - 2010
Admission Notification
Anna University
Anna University Chennai
Anna University Question Papers
Anna University Trichy
Apparel Technology and Management
Aptitude Questions
Arts and Science Colleges
Biomedical Engineering
C and CPP Ebooks
Calicut University
CBSE Question papers
Civil Engineering
Civil Service Exams
Colleges in India
Colleges Result
Computer Science Engineering
Core Jobs
CS R2008
CSE
CSIR NET
EBooks Download
ECE
EEE
EIE
Electives
Electrical and Electronics Engineering
Electronics and communication
Electronics and Instrumentation Engineering
Engineering
Engineering Colleges in Maharashtra
Engineering Colleges in TamilNadu
Engineering Admissions
Engineering Colleges
Engineering Colleges in Karnataka
Engineering Jobs
Engineering Syllabus
Entrance Exam Dates
Entrance Exam Results
Entrance Examination
Exam Time Table
Experiencer
First Year Syllabus
Freshers
Full Time Jobs
Government jobs in india
Hardware and Networking Jobs
Hotel Management and Catering Technology
IGNOU
Information Technology
INTEVIEW QUESTIONS
IT Jobs
JNTU Question Papers
Jobs in Bangalore
Jobs in Chennai
Jobs in Coimbatore
Jobs in Delhi
Jobs in Hyderabad
Jobs in India
Jobs in Kerala
Jobs in Noida
Jobs in Tamilnadu
Jobs in TATA
Karnataka Educations
Lab Manuals
Mechanical Engineering
Medical Colleges
Placement Papers
Plus 2
Preparation for exams
Private Jobs in India
Question Papers
Question Papers Download
Results Announcement
Semester 1
Semester 2
Semester 3
Semester 4
Semester 5
Semester 6
Semester 7
Semester 8
Syllabus
Syllabus Download
Tamil Movie
TCS Placement Papers
Teaching Jobs
TECH MAHINDRA
Textile Technology
Top colleges
University Results
UPSC
VICEVESVARAYA TECHNOLOGICAL UNIVERSITY
waec
Walk-in Interview
Web Designers
Followers
Archive
- ► 2012 ( 1032 )
-
▼
2011
(
736
)
-
▼
November
(
228
)
-
▼
Nov 01
(
10
)
- CS1211-Data structures and Algorithm question pape...
- EC1211 ELECTRONIC DEVICES Nov/Dec 2006. question p...
- EE1202 ELECTRICAL MACHINES-I NOVEMBER/DECEMBER 200...
- EE1202 ELECTRICAL MACHINES-I question papers Anna ...
- EE1201 Electromagnetic Theory Nov/Dec 2007 Questio...
- Junior Research Fellow Job Vacancy at Mahatma Gand...
- Freshers Job Vacancies 2011 – 240 Transit Camp
- Central Ground Water Board – Freshers Job Vacancie...
- Kakatiya University Kuwarangal Supplementary UG Re...
- Sambalpur University Distance Education Results 20...
-
▼
Nov 01
(
10
)
-
▼
November
(
228
)
0 comments :
Post a Comment