Searching for "B"

Q:

What could be the bucket size if collision and overlapping occur at same time?

A) 2 B) 0
C) 1 D) 4
 
Answer & Explanation Answer: C) 1

Explanation:

One. If there is only one entry possible in the bucket, when the collision occurs, there is no way to accommodate the colliding value. This results in the overlapping of values

Report Error

View Answer Report Error Discuss

Filed Under: C++

Q:

In an AVL tree the balancing is to be done when the pivotal value is in range of

A) greater than 1 and less than -1 B) greater than -1 and less than 1
C) greater than 1 D) less than -1
 
Answer & Explanation Answer: A) greater than 1 and less than -1

Explanation:

Difference between the heights of left and Right subtrees in an AVL tree can never be greater than +1

Report Error

View Answer Report Error Discuss

Filed Under: C++

Q:

Convert the expression ((A + B) * C – (D – E) ^ (F + G)) to equivalent  Postfix notations.

A) AC + B * DE - FG +^- B) AB + C * DE - FG + ^-
C) AC + B* DE - FG -+ ^ D) AB + C * DE - FG -+ ^
 
Answer & Explanation Answer: B) AB + C * DE - FG + ^-

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Java

Q:

Convert the expression ((A + B) * C – (D – E) ^ (F + G)) to equivalent Prefix Notation

Answer

Prefix Notation:


^ - * +ABC - DE + FG

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

Q:

 Among four friends A, B, C and D. who is the heaviest ? 

 I. B is heavier than A. but lighter than D. 

 II. C is lighter than B. 

A) If the data in statement I alone are sufficient to answer the question B) If the data in statement II alone are sufficient answer the question
C) If the data either in I or II alone are sufficient to answer the question; D) If the data in both the statements together are needed.
 
Answer & Explanation Answer: D) If the data in both the statements together are needed.

Explanation:

From I. we have A <B< D.

From II. we have C < B

Combining( I) and (II), we can conclude that D is the heaviest

So. both the statements are needed 

Report Error

View Answer Report Error Discuss

Filed Under: Data Sufficiency

Q:

Among five friends who is the tallest ? 

I. D is taller than A and C. 

II. B is shorter than E but taller than D. 

A) If the data in statement I alone are sufficient to answer the question B) If the data in statement II alone are sufficient answer the question
C) If the data either in I or II alone are sufficient to answer the question; D) If the data in both the statements together are needed.
 
Answer & Explanation Answer: D) If the data in both the statements together are needed.

Explanation:

From I, we have : D > A , D> C,

From II, we have : E >B > D.

Combining the above two, we get : E > B> D> (A and C).

So, E is the tallest.

Clearly, both the statements are needed to answer the question

Report Error

View Answer Report Error Discuss

Filed Under: Data Sufficiency

Q:

Which day of the last week did Satish meet Kapil at Kapil's residence ? 

I. Kapil was out of town from Monday to Wednesday. lie returned on Thursday morning. 

II. On Friday night Satish telephoned his friend to inform that only yesterday he had got approval of Kapil after personally explaining to him all the details 

A) If the data in statement I alone are sufficient to answer the question B) If the data in statement II alone are sufficient answer the question
C) If the data either in I or II alone are sufficient to answer the question; D) If the data even in both the statements together are not sufficient to answer the question
 
Answer & Explanation Answer: B) If the data in statement II alone are sufficient answer the question

Explanation:

Statement II reveals that Satish met his friend Kapil on the day prior to Friday  i.e, Thursday.

Thus, only II is needed. 

 

 

Report Error

View Answer Report Error Discuss

Filed Under: Data Sufficiency

Q:

What is the currency of cuba?

A) Kuna B) Peso
C) Dollar D) None
 
Answer & Explanation Answer: B) Peso

Explanation:

Peso is the currency of Cuba

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness