For More Question Papers Visit - www.pediawikiblog.com 14SC323

USN

2016

g. co m

Second Semester

Time: 3 hrs.

Max. Vlarks: 100

It{ote: Answer O Q

$n7t

FIVE

full

qwestiorxs.

a.

Define and explain the various asymptotic notations with related graphs and examptres"

b.

Solve the fbllowing recurrence relation to give a tight upper bound using substitution

'

() L

method.

T(n)

0)

o 3-

/n\

- 4Tl\2) - l+ n1

lo

(h

Illustrate the aggregate analysis of amortized analysis on the operation INCREN{ENT in a (06 Marks) binary

2 a.

Use a recursion tree to determine a good asymptotic upper bound on the recurrence

ib

counter.

dlJ

o2 .ra

H

od

c.

ci

}E !tr=

!(g ,O =w (t-

3 a.

\3/

(o6M8rks)

Write the Johnson's algorithm to solve all-pairs shortest path problem for sparse graphs. (05 Marks)

Using Bellman-Ford algorithm, find the shortest path from the source vertex 'S' to the

(a).

w

botro0 0r=

/

3s? =o)L

w

V

(r<

(10 Marks)

w

i6 -a .=

Il*n

\.3

remaining vertices in the graph shown in the Fig. Q3

;e (); ?.= 6: C,E

/__\

Ttn)=Srl

ii) r(n)=r[4.).r

()()

(09 Marks)

State the Master theorem and solve the following recurrence relations using Master theorem.

i)

Ct

ik

b.

(.) c {)

Erd

n

w

C,J

.p ed

Y

/\

Trnl =2rl 1]+ t, t

ia

,,

(06 Marks)

c.

Eg 7.r) o0 ioo .g c\ 63 tf,

(08 Marks)

b.

Fig. Q3 (a) Find the shortest path from the source vertex 'S' to the nemaining vertices in the DAG of Fig. Q3 (b). Use DAG shortest path algorithrn. (10 Marks)

-N ()

z I(s F

o

c-

Fig. Q3 (b)

For More Question Papers Visit - www.pediawikiblog.com

For More Question Papers Visit - www.pediawikiblog.com 14SC523 Starling froin the flow network shown in the Fig. Qa (a), find the maximum flow using the basic Ford-Fulkerson algorithm. (05 Marks)

g. co m

a.

tt{tQ

b" c.

Fig Q4 (a)

(07 N{arks) Explain the point-value representation of a polynomial lvith examptres. Give the pseudocode for computing GCD of two numbers using extended form of Euclid's algorithm. Also, frnd GCD (899, 493) and show the computational steps at each level of

recursion.

Define the DF'T of a vector and also compute the DFT of the vector (0, i ,2,3). (05 Marks) Define a grou,p and give its properties, Also, rvrite the group table fbr the muitiplicative group modulo 15(ri, ,. i 5). (07 Marks)

ib

b.

lo

)4.

(08 Marks)

Write the Chinese remainder theorem. Aiso. find ail integers that leave remainders

I h

(08 Marks)

Write the procedr-rral steps of the llSA public-key cryptosystem. Also, consider an RSA key set with P:61, q:53 and e: 17. What vaiue of 'd'should be used in the secret key? What is the encryption of tire rnessage N{ : 65? (10 Marks) Write and explain the Rabin-Karp string matching algorithm. Working modrrlo q - 1 1, how

w

a-

theorem.

ik

when divided by 9, 8, 7 respectively using Chinese remainder

l, 2. 3

358

3 when looking

forthepattern

P:26?

(t0Marks)

Explain string matching with finite automaton. Also, write the state transition diagrarn and the transition ftlrrction 6 for the string matching automaton that accepts all the strings

.p ed

a.

919

ia

manyspurioushitsdoestheRabin-tr(arpmatcherencounterforthetextT=314159265

containingthepattern'ababaca'andillustrateitsoperationonthetextstring'ababab

b.

acaba'.

(08Marks)

abb abbabb ab abbabb'inthe alphabet I= {u,b} fbr the Knuth-Morris-Pratt algorithm. (05 Marks) c. Apply Boyer-Moore algorithm to search for the pattern'BAOBAB'in the text 'BESS_KNEW_ABOUT_BAOBABS'. (07 Marks)

w

Computetheprefix functionn forthepatten:I'ab

w

w

Explain the randomizing deterntinistic algorithms by taking linear search

b.

Explain Monte Carlo and Las Vegas algonthms with suitable exampies.

as an

example. (10 Marks) (10 Marks)

,{***{<

For More Question Papers Visit - www.pediawikiblog.com

Advanced Algorithms July 2016 (2014 Scheme).pdf

Illustrate the aggregate analysis of amortized analysis on the operation INCREN{ENT in a ... Write the procedr-rral steps of the llSA public-key cryptosystem. Also ...

2MB Sizes 5 Downloads 187 Views

Recommend Documents

DSP Algorithms & Architecture July 2016 (2010 Scheme).pdf ...
2 af2 For More Question Papers Visit - www.pediawikiblog.com. For More Question Papers Visit - www.pediawikiblog.com. www.pediawikiblog.com. Page 2 of 2. DSP Algorithms & Architecture July 2016 (2010 Scheme).pdf. DSP Algorithms & Architecture July 20

Stability of Structures July 2016 (2014 Scheme).pdf
Page 1 of 1. 14CSE41. USN. At'). J. (). (.) o. ti. a. d. C). C) L. (.) X oo-. -Y- cge. =\.) -oo ll. qoo .= c\ d$. i'r b0. e8. Li Lr oBa. 0()2. bu. o0i (g(! !b. >Ta6tr= €(€. oPa- o.

Advanced Concrete Technology July 2016 (2010 Scheme).pdf ...
Advanced Concrete Technology July 2016 (2010 Scheme).pdf. Advanced Concrete Technology July 2016 (2010 Scheme).pdf. Open. Extract. Open with. Sign In.

Tax Management July 2016 (2014 Scheme).pdf
2 Mr. Harish retired on 31" Jan 2016 from a private company after 30 years a d I months of. service. .... surgical instrument is allowed @ 15% and book rcA%.

Integrated Marketing Communication July 2016 (2014 Scheme).pdf ...
Integrated Marketing Communication July 2016 (2014 Scheme).pdf. Integrated Marketing Communication July 2016 (2014 Scheme).pdf. Open. Extract.

Information & Network Security July 2016 (2014 Scheme).pdf ...
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Main menu.

Advances in Operating System July 2016 (2014 Scheme).pdf ...
Advances in Operating System July 2016 (2014 Scheme).pdf. Advances in Operating System July 2016 (2014 Scheme).pdf. Open. Extract. Open with. Sign In.

Synthesis & Optimization of Digital Circuits July 2016 (2014 Scheme ...
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Main menu.

Advances in Computer Network July 2016 (2014 Scheme).pdf ...
Explain the requirernents to built a computer networks that will supp;r,t different. applications. : (10 hlarks). Brietly discuss the different performance metrics of- ...

Services Marketing July 2016 (2014 Scheme).pdf
4 Explain the concept of Mystery shopping. 5 What are the hard and ... with diners and annexe *eie some of the strategies tried out by the company. Advertising ...

Multicore Architecture & Programming July 2016 (2014 Scheme).pdf ...
Multicore Architecture & Programming July 2016 (2014 Scheme).pdf. Multicore Architecture & Programming July 2016 (2014 Scheme).pdf. Open. Extract.

Retail Management July 2016 (2014 Scheme).pdf
4 State the measures for detecting and prcventing shoplifting. 5 What are"the factors influencing retail price? 6 Briefly- state opportunities for retailing in online.

Retail Management July 2016 (2014 Scheme).pdf
6 Briefly- state opportunities for retailing in online. 7 What is an ... What is the importance of technology in today's retail business with reference. d. What are the ...

Consumer Behaviour July 2016 (2014 Scheme).pdf
Whoops! There was a problem loading more pages. Retrying... Whoops! There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Main menu. Whoops! There was a problem p

July 2014 Newsletterfin.pdf
I responded to my friend from Luke 8:15. and Matthew 13:23 in a few translations, “4th. soil: noble and good heart, honest, hear God's. word and understand it, ...

July 2014-Headphones.pdf
mobile phone – can suffer from 'inattentional blindness' or 'iPod oblivion'. This is a. reduction in attention to the outside world and it can lead to people paying less. attention to traffic when they cross the street. Kevin Clinton, the head of r

July 2016
Jun 30, 2017 - FY 2016 – July Financial Statements. Attached are the July 2016 financial statements. Items to note in the July Statements: ▫. Based on current information, the College's budget ..... Software and Software Licenses. 2,905,458. 3,23

KPJA-Annual Report-July-2012-13-July-2014-optimized.pdf ...
Page 1 of 104. Page 1 of 104. Page 2 of 104. Page 2 of 104. Page 3 of 104. Page 3 of 104. KPJA-Annual Report-July-2012-13-July-2014-optimized.pdf.

3914 (July 19 2014).pdf
CARPET CARE. Hong Kong's Premier. Cleaner of Oriental Rugs. Greger Andersson, for 20 years Hong Kong's. “Mr. Carpet”, brings you Phoenix Carpet Care.

Settlement calendar for July 2014 - NSE
Jun 4, 2014 - 3) The settlement schedule for Normal - Bad Delivery (Settlement Type 'N' Delivery Type 'B' ) is placed in Annexure 'C'. 4) The settlement ...

2014 July BULLDOG Bugle.pdf
June was also election month ... time 10:00 AM July 3rd (Thursday) at the Arlington Bus Barn located at Davis and Arkansas. .... 2014 July BULLDOG Bugle.pdf.