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 4485
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 4485
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:

Which of the statements given below are not correct?

1. The author of 'India 2020: A Vision for the New Millennium' is Shashi Tharoor.
2. The author of 'The Great Indian Novel' is A.P.J. Abdul Kalam.
3. The author of 'My Country My Life' is I.K Gujral.

A) 1 and 2 B) 2 and 3
C) 1 and 3 D) 1, 2 and 3
 
Answer & Explanation Answer: D) 1, 2 and 3

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: Bank Exams

0 4481
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 4480
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:

Which sample is a pure substance?

A) Table salt B) Pure water
C) a test tube of zinc oxide D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

A pure substance can be defined as any single type of material that has not been contaminated by another substance. In chemistry, a pure substance has a definite composition. It can be a compound or an element. A pure substance is considered to be a material that consists of one type of "building block" of matter.

Examples of pure substances include tin, sulfur, diamond, water, pure sugar (sucrose), table salt (sodium chloride) and baking soda (sodium bicarbonate).

Tin, sulfur, and diamond are examples of pure substances which are chemical elements. All elements are pure substances.

Water, sugar, salt and baking soda are pure substances which are chemical compounds. Chemical compounds also are pure substances

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

2 4476
Q:

The world's largest river is the......

A) The Amazon B) The Brahmaputra
C) The Mississippi and Missouri D) The Nile
 
Answer & Explanation Answer: A) The Amazon

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

10 4475