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

Select the antonym of

 

demon

 

A) spectre B) angel
C) shadow D) zombie
 
Answer & Explanation Answer: B) angel

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 4495
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 4494
Q:

Which country recently signed an order to allow Transgender persons to serve in Military roles?

 

A) India B) United States
C) New Zealand D) Singapore
 
Answer & Explanation Answer: B) United States

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

2 4494
Q:

Fill in the blank with the most appropriate option.

 

The Universal Constant of Gravitation is ___.

 

A) 6.67 x 1010 Nm2/kg2 B) 6.67 x 10-10 Nm2/kg2
C) 6.67 x 10-11 Nm2/kg2 D) 9.8 Nm2/kg2
 
Answer & Explanation Answer: C) 6.67 x 10-11 Nm2/kg2

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

0 4491
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 4488
Q:

Find the odd man out
2 4 8 16 36

A) 4 B) 8
C) 16 D) 36
 
Answer & Explanation Answer: D) 36

Explanation:

2+2=4

4+4=8

8+8=16

16+16=32 but  it is given 36

Report Error

View Answer Report Error Discuss

1 4487
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 4487