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

Mahaparinirvana Temple is located at ______.

A) Bodh Gaya B) Shravasti
C) Sarnath D) Kushinagar
 
Answer & Explanation Answer: D) Kushinagar

Explanation:
Report Error

View Answer Report Error Discuss

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

17 4884
Q:

Where is the Longest Railway bridge located?

A) America B) Africa
C) Europe D) Malashiya
 
Answer & Explanation Answer: B) Africa

Explanation:

Longest railway bridge (Lower Zambesi ) is located in Africa

Report Error

View Answer Report Error Discuss

14 4883
Q:

Who wrote the book ' The Prince '

A) V.S.Sharma B) Bernard Shaw
C) Emile Zola D) Niccolo Machiavelli
 
Answer & Explanation Answer: D) Niccolo Machiavelli

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

1 4882
Q:

Which University has topped the Times Higher Education World University Rankings 2018 ?

A) IISC Bangalore B) Oxford
C) IIT Kanpur D) Cambridge
 
Answer & Explanation Answer: B) Oxford

Explanation:

In the annual World University Rankings released by Times Higher Education, the Indian Institute of Science of India has reached 251-300 band from last year's 201-250 band, while Oxford and Cambridge universities are on the top in the Global 1000 list.

Report Error

View Answer Report Error Discuss

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

8 4882
Q:

The energy associated with motion is called

A) Potential energy B) Kinetic energy
C) Both A & B D) None of the above
 
Answer & Explanation Answer: B) Kinetic energy

Explanation:

Energy can be either a potential energy or a kinetic energy.

The energy associated with motion is called Kinetic energy and it can be stored. And the energy associated with position is called Potential energyand it cannot be stored.

Report Error

View Answer Report Error Discuss

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

8 4880
Q:

What does the Yajur Veda contain?

A) Only hymns B) Spells and charms
C) Hymns and rituals D) Commentaries on society
 
Answer & Explanation Answer: C) Hymns and rituals

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

3 4880
Q:

Who was the first ruler to consolidate the slavic tribes?

A) Alter Ego B) Rurik
C) John Adams D) None of the above
 
Answer & Explanation Answer: B) Rurik

Explanation:

In the history, Rurik was believed to be the first ruler to consolidate the slavic tribes. He was a Russian leader in the 9th century.

who_was_the_first_ruler_to_consolidate_the_slavic_tribes1552454728.jpg image

Report Error

View Answer Report Error Discuss

Filed Under: World History
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 4879