Searching for "If"

Q:

In an examination, a pupil's average marks were 63 per paper. If he had obtained 20 more marks for his Geography paper and 2 more marks for his History paper, his average per paper would have been 65. How many papers were there in the examination ?

A) 8 B) 9
C) 10 D) 11
 
Answer & Explanation Answer: D) 11

Explanation:

Let the number of papers be x. Then, 63x + 20 + 2 = 65x or 2x = 22 or x = 11.

Report Error

View Answer Report Error Discuss

Filed Under: Average

Q:

If you are using C language to implement the heterogeneous linked list, what pointer type will you use?

Answer

The heterogeneous linked list contains different data types in its nodes and we need a link, pointer to connect them. It is not possible to use ordinary pointers for this. So we go for void pointer. Void pointer is capable of storing pointer to any type as it is a generic pointer type.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

Q:

Which of the following modifiers can be used with Local inner class?

A) Final or Abstract B) Final or Transcient
C) Abstract or Transcient D) Final or public
 
Answer & Explanation Answer: A) Final or Abstract

Explanation:

It can either be Final or Abstract

Report Error

View Answer Report Error Discuss

Filed Under: Java

Q:

What are the rules to use the ROWGUIDCOL property to define a globally unique identifier column?

Answer

Only one column can exist per table that is attached with ROWGUIDCOL property. One can then use $ROWGUID instead of column name in select list.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

Q:

What is the difference between UNION and UNION ALL?

Answer

UNION selects only distinct values whereas UNION ALL selects all values and not just distinct ones

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

Q:

How is Rakesh related to Keshav ? 

I. Tapan's wife Nisha is paternal aunt of Keshav. 

II.Rakesh is the brother of a friend of Nisha. 

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: D) If the data even in both the statements together are not sufficient to answer the question

Explanation:

Clearly, both the statements together are not sufficient to answer the question. 

Report Error

View Answer Report Error Discuss

Filed Under: Data Sufficiency

Q:

It is 8.00 p.m., when can Hemant get next bus for Ramnagar from Dhanpur ? 

I. Buses for Ramnagar leave after every 30 minutes, till 10 p.m. 

II. Fifteen minutes ago, one bus has left for Ramnagar.  

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:

II reveals that the previous bus had left al 7.45 p.m

As given in I, the next has would leave after 30 minutes i.e, at 8.15 p.m. 

 

Report Error

View Answer Report Error Discuss

Filed Under: Data Sufficiency

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++