info@avatto.com
+91-9920808017
41. Consider the polynominal p(x) = a0 + a1x + a2x2 + a3x3, where a1 ≠ 0, ∀i. The minimum number of multiplcations needed to evaluate p on an input x is
3
4
6
9
Your email address will not be published. Required fields are marked *
Report
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
Comment
42. The characters a to h have the set of frequencies based on the first 8 Fibonacci numbers as follows: a : 1, b : 1, c : 2, d : 3, e : 5, f: 8, g : 13, h : 21 A Huffman code is used to represent the characters. What is the sequence of characters corresponding to the following code? 110111100111010
fdheg
ecgdf
dchfg
fehdg
43. Which of the follovving is the Huffman code for the letters a, b, c, d, e?
0, 10, 110, 1110, 1111
11, 10, 011, 010, 001
11, 10, 01, 001, 0001
110, 100, 010, 000, 001
44. What is the average length of the correct answer to above question?
2.1875
2.25
1.781
45. Which of the following statement(s) is/are correct regarding Bellman-Ford shortest path algorithm? P. Alvvays finds a negative weighted cycle, if one exists. Q. Finds whether any negative weighted cycle is reachable from the source
P only
Q only
both P and Q
neither P nor Q
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login