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

The absence of law and order

 

A) Mutiny B) Rebellion
C) Revolt D) Anarchy
 
Answer & Explanation Answer: D) Anarchy

Explanation:

Anarchy is what the absence of law and order i.e, government and freedom of an individual.

 

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

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

That which cannot be seen -

A) Invisible B) Unseen
C) Intangible D) All of the above
 
Answer & Explanation Answer: A) Invisible

Explanation:
Report Error

View Answer Report Error Discuss

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

10 4490
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:

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 4489