GoConqr has a new look! Let us know what you think.

Quiz

sdp4

Csse 1502 152 questions 5.0 (1 rating)

Take the quiz

Questions in this quiz (152)

  1. 1 Re-balancing of AVL tree costs
    1. AO(logn)
    2. BO(nlogn)
    3. CO(1)
    4. DO(n)
  2. 2 In what tree, for every node the height of its left subtree and right subtree differs at least by one
    1. AThreaded binary tree
    2. BBST
    3. CAVL tree
    4. DComplete tree
  3. 3Which of the following is true about the total number of nodes in a binary tree with depth two?
    1. AIt is at most four
    2. BIt is at most seven
    3. CThere is no bound on the number of nodes
    4. DIt is at most two
  4. 4 Which of the following is not a valid binary search tree?
    1. AImage for option A
    2. BImage for option B
    3. CImage for option C
    4. DImage for option D
  5. 5The result of postfix expression: 4 2 + 3 5 1 - * +
    1. A18
    2. B10
    3. C15
    4. D8
  6. 6The infix expression A+((B-C)*D) is correctly represented in prefix notation as
    1. AA+BC-D*
    2. BABC-D*+
    3. C+A*-BCD
    4. DA+B-C*D
  7. 7 The result of postfix expression: 5 7 + 6 2 - *
    1. A40
    2. B38
    3. C46
    4. D48
  8. 8 The prefix expression reverse to postfix: * + A B + C D
    1. AA B + C D + * *
    2. BA B + C D + *
    3. CNone of them
    4. DA B + C D * +
  9. 9 What the result of the following expression: 2 3 8 * + 4 48 4 2 + / 6 * + -
    1. A-26
    2. B12
    3. C-20
    4. D-10
  10. 10By definition, a(n)______ graph contains edges that can be traversed in either direction.
    1. Aundirected
    2. Bdirected
    3. Cdisconnected
    4. Dconnected

Information

Description
SDP4 Quiz on sdp4, created by Csse 1502 on 21/05/2017.
Author
Csse 1502
Language
English
Views
993
Tags
sdp4
Rating
5.0 out of 5 · 1 rating
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?