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 | June, 2016 | |
City, State | new delhi, |
Question Paper
Explain the term 'average ease time complexity' of a sorting algorithm. What is it for the Quick Sort algorithm Give reasons for your response.
Explain the matrix chain multiplication algorithm. Do not write any pseudocode.
2.(a) Give the running time analysis of the Insertion Sort algorithm.
How can two polynomials be multiplied using FFT What is the running time of this procedure?
3.(a) Insert the following sequence of numbers in a binary search tree, showing the binary search tree after each insertion:
5,2,1,18,16,10,15,9
Delete 5 from this tree, and show the resulting tree.
Sort the following numbers using the Merge Sort algorithm
30,5,25,10,31,42,26
4.(a) Give the different ways of representing undirected graphs. Further, show the representation for the following example:
V
E Explain the 'union by rank' and the 'path compression' heuristics for the linked list representation of disjoint sets.
5.(a) Write the recursive GCD algorithm, and run it for GCD(30, 21). What is the running time of this algorithm
Given a sequence of 10,000 numbers in an increasing order, except for 10 of them which are not in this order. Which sorting algorithm should be used to arrange them in sorted order Give reasons for your answer.
6.(a) Illustrate all the steps of the Kruskal's algorithm for finding a minimum spanning tree of the following graph: <img src='./qimages/12503-6a.jpg'>
Define 'flow network' and Show that if f1 and f2 are flows, then
af1 f2 is also a flow,
where 0 binary search tree on n nodes has height a (log2 Is this statement true Give reasons for your answer.
Explain the matrix chain multiplication algorithm. Do not write any pseudocode.
2.(a) Give the running time analysis of the Insertion Sort algorithm.
How can two polynomials be multiplied using FFT What is the running time of this procedure?
3.(a) Insert the following sequence of numbers in a binary search tree, showing the binary search tree after each insertion:
5,2,1,18,16,10,15,9
Delete 5 from this tree, and show the resulting tree.
Sort the following numbers using the Merge Sort algorithm
30,5,25,10,31,42,26
4.(a) Give the different ways of representing undirected graphs. Further, show the representation for the following example:
V
E Explain the 'union by rank' and the 'path compression' heuristics for the linked list representation of disjoint sets.
5.(a) Write the recursive GCD algorithm, and run it for GCD(30, 21). What is the running time of this algorithm
Given a sequence of 10,000 numbers in an increasing order, except for 10 of them which are not in this order. Which sorting algorithm should be used to arrange them in sorted order Give reasons for your answer.
6.(a) Illustrate all the steps of the Kruskal's algorithm for finding a minimum spanning tree of the following graph: <img src='./qimages/12503-6a.jpg'>
Define 'flow network' and Show that if f1 and f2 are flows, then
af1 f2 is also a flow,
where 0 binary search tree on n nodes has height a (log2 Is this statement true Give reasons for your answer.
Other Question Papers
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