Exam Details

Subject Data Structure
Paper
Exam / Course B.Tech In Computer Science And Engineering (BTCSVI)
Department School of Engineering & Technology (SOET)
Organization indira gandhi national open university
Position
Exam Date June, 2015
City, State new delhi,


Question Paper

Define Big Theta and Omega notations. Is a function b . log(n) where b is a positive constant? Justify.

On what input data does Quick sort algorithm for sorting exhibit its worst case behaviour? Justify with an example of 8 elements. Determine the maximum space needed.

Prove that all the leaves of a binary tree will be traversed in the same sequence in all the three traversals.

Draw a binary tree whose preorder and inorder traversals are

A B D C E G H I J K F
B D A G E J I K H C F

If the complexity of the algorithm can be expressed as calculate the complexity of the following program segment:
i
loop(i
doit
I 2

2. Define a spanning tree. Write an algorithm to determine maximum spanning tree·of a weighted graph. Also argue for the correctness of your algorithm. Also determine the time complexity of the algorithm. Will an edge of highest cost always be in the solution obtained?

What is hashing Explain the following terms used in it:

Hashing function

Synonyms

Overflow

Collision resolution

Define an AVL tree. Where is it used and why Construct one such tree for the following list of elements:

6+8

A circular singly linked list contains integer elements. Variable pointer points to the last node in the list. Write a procedure to print the positive (not including zero) elements in the list.

Explain three applications each of stacks and queues in Computer science.

Change the following infix expression to post-fix and prefix expressions.
f
Show all the steps. Why is post-fix. preferred to infix form Which data structure is used for it and why?

Describe the data structure to represent the following:

Sparse Matrix

Priority Queue

Threaded Link

An algebraic expression of the form
anx^n a1x ao

How can a sparse matrix be stored as a linked list so that the element of a given row i and column j can be accessed easily? Store the following matrix in the suggested format:

0 0 0 0 0 0
1 0 0 0 0 2
0 3 0 0 0 5
0 0 0 4 0 0

Write the procedure to reverse a singly linked list without creating an extra linked
list.

7. Design a method for keeping two stacks within a single array S (space size) so that neither the stack overflows until all of memory reserved is used and an entire stack is never shifted to a different location within the array. Write C routines for push1, push2, pop1 and pop2 to manipulate the two stacks.

8. Explain the following:

Difference between Class P and Class NP

Difference between Internal and External sorting

Difference between Linear and Non-linear data structures

Different representations of a graph

Difference between Dynamic Programming and Divide and Conquer approach


Departments

  • Centre for Corporate Education, Training & Consultancy (CCETC)
  • Centre for Corporate Education, Training & Consultancy (CCETC)
  • National Centre for Disability Studies (NCDS)
  • School of Agriculture (SOA)
  • School of Computer and Information Sciences (SOCIS)
  • School of Continuing Education (SOCE)
  • School of Education (SOE)
  • School of Engineering & Technology (SOET)
  • School of Extension and Development Studies (SOEDS)
  • School of Foreign Languages (SOFL)
  • School of Gender Development Studies(SOGDS)
  • School of Health Science (SOHS)
  • School of Humanities (SOH)
  • School of Interdisciplinary and Trans-Disciplinary Studies (SOITDS)
  • School of Journalism and New Media Studies (SOJNMS)
  • School of Law (SOL)
  • School of Management Studies (SOMS)
  • School of Performing Arts and Visual Arts (SOPVA)
  • School of Performing Arts and Visual Arts(SOPVA)
  • School of Sciences (SOS)
  • School of Social Sciences (SOSS)
  • School of Social Work (SOSW)
  • School of Tourism & Hospitality Service Sectoral SOMS (SOTHSM)
  • School of Tourism &Hospitality Service Sectoral SOMS (SOTHSSM)
  • School of Translation Studies and Training (SOTST)
  • School of Vocational Education and Training (SOVET)
  • Staff Training & Research in Distance Education (STRIDE)

Subjects

  • Advanced Computer Architecture
  • Artificial Intelligence
  • Computer Architecture
  • Computer Networks
  • Computer Organisations
  • Cryptography And Network Security
  • Data Structure
  • Data Warehousing And Mining
  • Database Management System
  • Design and Analysis of Algorithm
  • Digital Image Processing
  • Discrete Maths Structure
  • E-Business
  • Formal Language And Automata
  • Logic Design
  • Microprocessor
  • Mobile Computing
  • Object Oriented Programming
  • Operating Systems
  • Parallel Algorithms
  • Pattern Recognition
  • Principles of Programming Lang.
  • Real Time Systems
  • Software Engineering
  • Software Quality Engineering
  • Software Reusability
  • System Programming And Compiler Design
  • Theory Of Computation
  • Unix Internals And Shell Programming
  • Web Technology