Exam Details
Subject | ANALYSIS AND DESIGN OF ALGORITHM | |
Paper | ||
Exam / Course | Bachelor of Computer Applications | |
Department | School of Computer and Information Sciences (SOCIS) | |
Organization | indira gandhi national open university | |
Position | ||
Exam Date | December, 2015 | |
City, State | new delhi, |
Question Paper
Using the definition of show that 6n^2 20n Q
Given a list of n distinct integers. Write an algorithm to determine the position of an integer in the list using a linear search and count the number of comparison operations required.
By applying induction method, show that for all positive integers n
1^2 2^2 .... n^2 n(n (2n 6 .
Illustrate the representation of the following graph through adjacency list and adjacency matrix:
<img src='./qimages/13115-1d.jpg'>
Find the optimal solution to the knapsack (fractional) problem n 5 and m 10, where n is the number of objects and m is the capacity of knapsack.
Profit and weight of each object are given below:
P2, P3, P4, P5) 35, 20, 40)
W2, W3, W4, W5) 1).
Write Prim's algorithm to find the minimum cost spanning tree.
Apply QuickSort to sort the following array. Show all the steps.
15 5 10 8 7 2 20 30
What are the worst case and best case in QuickSort algorithm?
4. Define the following terms
Optimization
Dynamic programming
Recurrence relation
Asymptotic bounds
Unconnected graph
5. For the given graph, apply DFS traversal scheme and write DFS sequence. Also write the time complexity of DFS and BFS algorithms.
<img src='./qimages/13115-5.jpg'>
Given a list of n distinct integers. Write an algorithm to determine the position of an integer in the list using a linear search and count the number of comparison operations required.
By applying induction method, show that for all positive integers n
1^2 2^2 .... n^2 n(n (2n 6 .
Illustrate the representation of the following graph through adjacency list and adjacency matrix:
<img src='./qimages/13115-1d.jpg'>
Find the optimal solution to the knapsack (fractional) problem n 5 and m 10, where n is the number of objects and m is the capacity of knapsack.
Profit and weight of each object are given below:
P2, P3, P4, P5) 35, 20, 40)
W2, W3, W4, W5) 1).
Write Prim's algorithm to find the minimum cost spanning tree.
Apply QuickSort to sort the following array. Show all the steps.
15 5 10 8 7 2 20 30
What are the worst case and best case in QuickSort algorithm?
4. Define the following terms
Optimization
Dynamic programming
Recurrence relation
Asymptotic bounds
Unconnected graph
5. For the given graph, apply DFS traversal scheme and write DFS sequence. Also write the time complexity of DFS and BFS algorithms.
<img src='./qimages/13115-5.jpg'>
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
- ANALYSIS AND DESIGN OF ALGORITHM
- Basics Mathematics
- BUSINESS COMMUNICATION
- C' Programming and Data Structure
- C++ and Object Oriented Programming
- Computer Basics and PC Software
- Computer Fundamentals and PC Software
- Computer Networks
- COMPUTER ORIENTED NUMERICAL TECHNIQUES
- E-COMMERCE
- Foundation Course in English for Computing
- Foundation Course in Mathematics in Computing
- FUNDAMENTAL OF COMPUTER NETWORKS
- Intranet Administration
- Introduction to Computer Organisation
- Introduction to Internet Programming
- INTRODUCTION TO SOFTWARE ENGINEERING
- Introduction to System Software
- Multimedia
- NETWORK PROGRAMMING AND ADMINISTRATION
- PC Software Skills
- Programming In C++
- STATISTICAL TECHNIQUES
- TCP/IP PROGRAMMING
- Theory of Computer Science
- WEB PROGRAMMING