PREVIOUS YEAR QUESTION PAPER

IT8401 – ALGORITHMICS

Anna University

Regulation 2012 Semester 4 2014

Question Paper Details

University Anna University
Degree B.Tech. Information and Technology
Department Information and Technology
Regulation Regulation 2012
Semester 4
Subject Code IT8401
Subject Name ALGORITHMICS
Exam Session April / May 2014
Duration 3 Hours
Maximum Marks 100

View Question Paper PDF

Access the previous year question paper for your examination preparation.

View / Download PDF

How to Use This Question Paper

More Question Papers

Browse other previous year question papers for this subject.

View All Subject Question Papers

Question Paper Intelligence

Automatically extracted historical question data. Academic accuracy and examination rules require verification.

19Extracted entries
100Maximum marks (metadata)
180Duration (minutes)
4Choice candidates

Part-wise extracted questions

Part A10
Part B9

Question type candidates

Other Or Unclassified12
Short Description4
Derivation1
Numerical1
Definition1

Section marks — arithmetic candidates

Part A20 marks
Part B80 marks

Examination marks pattern

PartRequired answersMarks per answerSection total
A10220
B51680

Estimated time allocation

Proportional to section marks. This estimate uses the full exam duration without a separate reading or revision reserve.

Section time budget

Part A36.0 min
Part B144.0 min

Optional-choice evidence

Detected alternatives only. Confirm the actual choice rules in the original question paper.

Part B — Question 12: Option a · Option b
Part B — Question 13: Option a · Option b
Part B — Question 14: Option a · Option b
Part B — Question 15: Option a · Option b

Question navigator

Extracted questions

Part A — 1

Insertion sort and selection sort algorithms are run on the two arrays : U=[1,2,3,4,5,6] and V=[6,5,4,3,2,1]. Which algorithm runs fast on U array and which on V array? Justify your answers.

Other Or Unclassified

Source quality review required

Part A — 2

Show that selecting an i t h largest element can be done in linear time.

Derivation
Part A — 3

Solve the recurrence T(n) = 9 T( n/3) + n using master method.

Numerical

Source quality review required

Part A — 4

Write the properties of big- Oh notation.

Other Or Unclassified
Part A — 5

List the key ingredients for an optimization problem to be solved using dynamic programming technique.

Short Description
Part A — 6

Define the greedy choice property.

Definition
Part A — 7

State the fundamental theorem of linear programming.

Short Description
Part A — 8

List the four main reasons by which a linear program is not in standard form.

Short Description
Part A — 9

When do you say a language L, is polynomial time reducible to language L2?

Other Or Unclassified

Source quality review required

Part A — 10

State any one NP complete problem.

Short Description
Part B — 11

i) Explain asymptotic notations in detail with suitable examples.(8) ii)Develop a recursive algorithm to sort 'n' numbers using quick sort. Solve its recurrence relation using substitution method.(8)

Other Or Unclassified

Source quality review required

Part B — 12a

a) i) Write an algorithm to perform insertion sort and derive its time complexity.(8) ii) Write an algorithm to perform binary search on a sorted array. Find its best, worst and average case complexities.(8)

Other Or Unclassified

Source quality review required

Part B — 12b

b) i) Develop a recursive algorithm to select the maximum and minimum element in an array using divide and conquer approach and derive its time complexity and compare it with the straight forward MaxMin algorithm.(IO) ii) Trace the algorithm for finding max and min using divide and conquer approach for the given list of elements and find how many comparisons have been made.(6) 1 0 , - 2 0 , 8 , 1 7 , 2 , - 2 3 , 2 0 , 2 3

Other Or Unclassified

Source quality review required

Part B — 13a

a) i) State and explain matrix-chain multiplication problem. Develop an algorithm to compute an optimal order for multiplying a chain of matrices.(8) ii) Find an optimal parenthesization of a matrix chain product whose sequence of dimensions is < 5,10, 3, 2, 4 >.(8)

Other Or Unclassified

Source quality review required

Part B — 13b

b) i) Write a brief note on the elements of greedy strategy.(8) ii) Design an algorithm to generate Huffman code and show the encoding of each character for the following frequency of characters.(8) A: 8; B: 6; C: 2; D: 5, E: 12

Other Or Unclassified

Source quality review required

Part B — 14a

a) i) Write an algorithm to perform LU decomposition of a matrix and apply the same for the given matrix.(8) 4 - 5 6 8 - 6 7 12 -7 12 V. J ii) Explain Knuth-Morris-Pratt pattern matching algorithm and compute the prefix function for the pattern P = aababaabab.(8)

Other Or Unclassified

Source quality review required

Part B — 14b

b) i) Write the necessary algorithms to solve a linear programming problem using SIMPLEX method.(8) ii) Solve the linear program using SIMPLEX algorithm.(8) Maximize -5x-t - 3 x 2 subject to X, - x 2 < 1 2x! + x 2 < 2 X i , x 2 £ 0

Other Or Unclassified

Source quality review required

Part B — 15a

a) i) What are randomized algorithms? Explain the hiring problem and prove that its randomized version can be solved with a total hiring cost of O (In n).(8) ii)State any one NP complete problem and prove that it is NP complete with all the assumptions made.(8)

Other Or Unclassified

Source quality review required

Part B — 15b

b) i)Write a brief note on approximation algorithms.(4) ii)Design an algorithm to solve Travelling salesman problem and compute its approximation ratio.(12)

Other Or Unclassified

Source quality review required

Advanced Examination Analysis

Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.