Exam Details

Subject Design and Analysis of Algorithms
Paper
Exam / Course Master's in Mathematics with Applications in Computer Science
Department School of Sciences (SOS)
Organization indira gandhi national open university
Position
Exam Date December, 2015
City, State new delhi,


Question Paper

Sort the following numbers using Quick sort algorithm :

32,5,25,10,31,42,26
Define B-trees along with conditions. Give an example of a B-tree.

2.(a) Sort the following numbers using Heap sort algorithm:

32,5,25,10,31,42,26 What is the time complexity of Build Max Heap? Sort the following numbers using Radix sort algorithm
329,457,657,839,436,720,213,582

What is the time complexity of Radix sort algorithm

3.(a) What is an optimal Huffman Code for the following set of frequencies?

Character a b c d e f
Frequency 45 13 12 16 9 5

How many total bits are required to encode the set of characters Write Kruskal's algorithm in pseudocode. Discuss its time complexity.

4.(a) Find an optimal parenthesisation of a matrix-chain product whose sequence of dimensions is 10, 12, How can you implement efficient FIND and UNION operations for disjoint sets?

5.(a) Illustrate all the steps of Rabin-Karp-Miller string matching algorithm for P 26, T =3141592653 and Q =11. For the following network flow, draw the residual network :

<img src='./qimages/14686-5b.jpg'>

Find an augmenting path p and use it to augment the flow along p. Draw the flow network of the augmented flow.

6.(a) Compute the DFT of the vector 4). Let 1^3 2^3 ... n^3 . Show that giving the constants.


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

  • Algebra
  • Coding Theory
  • Complex Analysis
  • Computer Graphics
  • Cryptography
  • Design and Analysis of Algorithms
  • Differential Equations And Numerical Solutions
  • Functional Analysis
  • Graph Theory
  • Linear Algebra
  • Mathematical Modelling
  • Pattern Recognition and Image Processing
  • Probability And Statistics
  • Programming and Data Structures
  • Real Analysis
  • Soft Computing and its Applications