• edited by
8,203 views
25 25 votes

Which one of the following statements (s) is/are FALSE?

  1. Overlaying is used to run a program, which is longer than the address space of the computer.
  2. Optimal binary search tree construction can be performed efficiently by using dynamic programming.
  3. Depth first search cannot be used to find connected components of a graph.
  4. Given the prefix and postfix walls over a binary tree, the binary tree can be uniquely constructed.

3 Answers

25 25 votes
  1. FALSE according to definition of address space given in the link. whatever memory used by the overlay comes under the address space of computer "https://en.wikipedia.org/wiki/Address_space".
  2. TRUE Optimal binary search tree construction can be performed efficiently by using dynamic programming.
    ref: http://www.geeksforgeeks.org/dynamic-programming-set-24-optimal-binary-search-tree/
  3. FALSE Depth first search can be used to find connected components of a graph.
  4. FALSE Infix + (postfix or prefix) is req. to construct the binary tree uniquely.
• edited by
0 0 votes
Answer = A,C,D

A,C,D options are false.

While option B is true

as Optimal binary search tree construction can be performed efficiently using dynamic programming.
Answer:
Position:
Show:

Related questions

51 51 votes
6 answers 6 answers
13.8k
13.8k views
Misbah Ghaya asked Nov 29, 2016
13,847 views
How many substrings (of all lengths inclusive) can be formed from a character string of length $n$? Assume all characters to be distinct, prove your answer.
37 37 votes
8 answers 8 answers
9.1k
9.1k views
Misbah Ghaya asked Nov 27, 2016
9,137 views
Which of the following well-formed formulas are equivalent?$P \rightarrow Q$$\neg Q \rightarrow \neg P$$\neg P \vee Q$$\neg Q \rightarrow P$
34 34 votes
5 answers 5 answers
16.1k
16.1k views
Misbah Ghaya asked Nov 27, 2016
16,081 views
Which of the following problems are undecidable?Membership problem in context-free languages.Whether a given context-free language is regular.Whether a finite state autom...
7 7 votes
2 2 answers
3.4k
3.4k views
Misbah Ghaya asked Nov 27, 2016
3,381 views
Which of the following statements are FALSE?For poisson distribution, the mean is twice the variance.In queuing theory, if arrivals occur according to poisson distributio...