Questions

Q:

Which is the only snake that builds nests?

A) Viper B) King Cobra
C) Anaconda D) Python
 
Answer & Explanation Answer: B) King Cobra

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds

19 4484
Q:

What's the difference between the functions rand(), random(), srand() and randomize()?

Answer

rand()  returns a random number


random()  returns a random number in a specified range


srand()  initialise a random number generator with a given seed value


randomize()   initializes a random number generator with a random value based o time.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

2 4484
Q:

Logical puzzle

At a restaurant, how could you choose one out of three desserts with equal probability with the help of a coin? What if the coin is biased and the bias is unknown?

Answer

Our solution:


Toss the coin twice.
Let TH, HT and TT correspond to the three choices.
And if you get HH, just repeat (so it takes 8/3 tosses on average).


BIASED COIN

If the coin was biased, TH and HT would occur with equal probability.
So you could assign THHT, HTTH and THTH to the three choices, with other 4-toss outcomes rejected.
Or you could assign HTT, THT and TTH to the three choices, with other 3-toss outcomes rejected.

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles

18 4483
Q:

The well-known dialogue between Nachiketa and Yama is mentioned in which Upanishada?

 

A) Chhandogyopanishad B) Mundkopanishad
C) Kathopanishad D) Kenopanishad
 
Answer & Explanation Answer: C) Kathopanishad

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

3 4483
Q:

Which of the following crop is major foreign exchange earner for Sri Lanka?

 

A) Rice B) Appare
C) Tea D) Apparel and Tea both
 
Answer & Explanation Answer: D) Apparel and Tea both

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

1 4479
Q:

Which one of the following orders presents the correct sequence of the increasing basic nature of the given oxides?

(1) K2O<Na2O<Al2O3<MgO

(2) Al2O3<MgO<Na2O<K2O

(3) MgO<K2O<Al2O3<Na2O

(4) Na2O<K2O<MgO<Al2O3

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

Explanation:

While moving from left to right in periodic table basic character of oxide of elements will decrease.

  Increasing basic strengthAl2O3<MgO<Na2O 

 

and while descending in the group basic character of corresponding oxides increases. 

 Increasing basic strengthNa2O<K2O

 

 Correct Order is Al2O3 < MgO <Na2O <K2O

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE

14 4477
Q:

Guess the Hiding Letter  ?

19113839_1330685610371873_3858733463247627315_n1499402539.jpg image

A) D B) K
C) L D) G
 
Answer & Explanation Answer: D) G

Explanation:

Starting from letter 'S' add 5 in the clock wise direction to get the next letter in English alphabets.

Here S + 5 => 19 + 5 = 24 => X

X + 5 = 24 + 5 = 3 => C

Similarly, 

B + 5 = G

Report Error

View Answer Report Error Discuss

Filed Under: Missing letters puzzles
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Bank Clerk , Bank PO

12 4476
Q:

The Ex-officio Secretary of NDC is ___________.

 

A) Vice-Chairman of Planning Commission   B) General Secretary of Lok Sabha  
C) Secretary of Finance Ministry   D) Secretary of Planning Commission  
 
Answer & Explanation Answer: D) Secretary of Planning Commission  

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 4475