Questions

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 4966
Q:

Who has become the Asia's richest man according to Forbes report ?

A) Azim Premji B) Tadashi Yanai
C) Shiv Nadar D) Hui Ka Yan
 
Answer & Explanation Answer: D) Hui Ka Yan

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Famous Personalities
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

12 4965
Q:

Between which one of the following pairs of ports does Panama Canal shorten the distance to the maximum?

A) Liverpool and Shanghai B) New York and Honolulu
C) Liverpool and Sydney D) New York and San Francisco
 
Answer & Explanation Answer: D) New York and San Francisco

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

18 4965
Q:

Electrical burns occur principally because of

A) Radiation pulses of the electricity B) The heat generated by the flow of electrical current through the body
C) The high energy of electrons D) All of the above
 
Answer & Explanation Answer: B) The heat generated by the flow of electrical current through the body

Explanation:

Electrical burns occur principally because of the heat generated by the flow of electrical current through the body.

 

Burns caused by electricity are divided into three types:

electrical burns,

arc burns, and

thermal contact burns.

 

Electrical burns can result when a person touches electrical wiring or equipment that is used or maintained improperly.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

2 4963
Q:

Which country is planning to send mini-ecosystems containing potato seeds and silkworm eggs to the Moon next year  ?

A) India B) Russia
C) USA D) China
 
Answer & Explanation Answer: D) China

Explanation:

In a first, China is planning to send mini-ecosystems — containing potato seeds and silkworm eggs — to the Moon next year, in an attempt to study how the organisms develop on the lunar surface. The 3-kilogramme mini-ecosystem, developed by research teams led by Chongqing University in China, will be sent to the Moon by the Chang’e 4 scheduled to be launched in 2018, authorities announced at the Global Space Exploration Conference. An 18-centimetre-tall cylinder will carry potato seeds and silkworm eggs to be incubated.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

4 4962
Q:

Mrs. Vijayalakshmi Pandit was

A) Chief minister of a State B) Minister of a State
C) Member of Lok Sabha D) Member of the Rajya Sabha
 
Answer & Explanation Answer: B) Minister of a State

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Famous Personalities

7 4962
Q:

Which of the following is NOT true about energy balance? 

A) Inactive people use more energy so they should consume fewer calories. B) Energy balance is the balance between the amount of calories consumed and the amount used for energy.
C) Energy balance is influenced by the amount of exercise one gets and their dietary habits. D) Stored body fat will increase if calorie intake is greater than energy used.
 
Answer & Explanation Answer: A) Inactive people use more energy so they should consume fewer calories.

Explanation:

The given statement option A) is False regarding energy balance.
It should be "Inactive people use less energy so they should consume fewer calories."

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

2 4961
Q:

The Periyar Game Sanctuary at Thekkady is in 

A) Karnataka B) Kerala
C) Tamil Nadu D) Goa
 
Answer & Explanation Answer: B) Kerala

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

1 4960