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

There are two numbers such that the sum of twice the first number and thrice the second number is 300 and the sum of thrice the first number and twice the second number is 265. Which is the largest number ?

A) 24 B) 39
C) 85 D) 74
 
Answer & Explanation Answer: D) 74

Explanation:
Report Error

View Answer Report Error Discuss

14 4497
Q:

Which results in an increase in power?

A) doing more work in less time. B) doing less work in more time.
C) doing less work in less time. D) doing more work in more time.
 
Answer & Explanation Answer: A) doing more work in less time.

Explanation:

Doing more work in less time, results in an increase in power to do a work.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank Clerk , Bank PO , Database Administration , IT Trainer

6 4497
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 4492
Q:

Who has been selected for the 2016 National Geoscience Award in the field of geo-environmental studies? 

A) Keshav Krishna B) Ashok Kumar Singhvi
C) P.V. Joseph D) Vishnu Deo Sai
 
Answer & Explanation Answer: A) Keshav Krishna

Explanation:

Dr. A Keshav Krishna, a scientist at the National Geophysical Research Institute (NGRI), has been selected for 2016 National Geoscience Award by the Ministry of Mines in the field of Geo-environmental studies in applied geosciences.

Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards

7 4491
Q:

' Samjhauta Express ' runs between which of the following two stations

A) New Delhi - Wagah B) New Delhi - Lahore
C) Amritsar - Wagah D) Amritsar - Lahore
 
Answer & Explanation Answer: B) New Delhi - Lahore

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

9 4490
Q:

The Teesta River is flowing through which two Indian states ?

A) Haryana & Punjab B) Sikkim & West Bengal
C) West Bengal & Manipur D) Assam & Uttarakhand
 
Answer & Explanation Answer: B) Sikkim & West Bengal

Explanation:

The Teesta River is a 309 km long river flowing through the Indian states of West Bengal and Sikkim, before going to Bay of Bengal through Bangladesh.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank PO

30 4490
Q:

Uncontrolled railroad crossing warning signs include

A) gates B) red lights
C) warning signs D) None of the above
 
Answer & Explanation Answer: D) None of the above

Explanation:

Controlled railroad crossing includes warning signs, red lights and railway gates, whereas absence of all of these warning signs like red lights and gates includes uncontrolled railroad crossings. 

Report Error

View Answer Report Error Discuss

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

1 4488