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

Rearrange the parts of the sentence in correct order.

Even the knowledge

P-­for less disastrous policies
Q­-the Census would make
R­-of elementary facts from

 

A) QRP B) QPR
C) PRQ D) RQP
 
Answer & Explanation Answer: D) RQP

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 4477
Q:

Which of the statements given below are correct?

1. The author of the novel 'Gilead' is Don Winslow.
2. The author of the novel 'Wolf Hall' is Stephen Dobyns.
3. The author of the novel 'To Kill a Mockingbird' is Harper Lee.

A) 1 and 2 B) 2 and 3
C) 1 and 3 D) 1, 2 and 3
 
Answer & Explanation Answer: A) 1 and 2

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: Bank Exams

0 4475
Q:

Which one of the following orders presents the correct sequence of the increasing basic nature of the given oxides?

(1) K2O<Na2O<Al2O3<MgO

(2) Al2O3<MgO<Na2O<K2O

(3) MgO<K2O<Al2O3<Na2O

(4) Na2O<K2O<MgO<Al2O3

A) Option 1 B) Option 2
C) Option 3 D) Option 4
 
Answer & Explanation Answer: B) Option 2

Explanation:

While moving from left to right in periodic table basic character of oxide of elements will decrease.

  Increasing basic strengthAl2O3<MgO<Na2O 

 

and while descending in the group basic character of corresponding oxides increases. 

 Increasing basic strengthNa2O<K2O

 

 Correct Order is Al2O3 < MgO <Na2O <K2O

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE

14 4474
Q:

Iam looking to estimate the cost on a project, but I don't want to spend a lot of time on a  detailed analysis. I really want a ballpark figure. What options do I have?

A) None - Cost estimating requires details to be accurate B) Use the cost of similar projects
C) Use a rule-of-thumb or per-square-foot estimate D) Add up the costs on the WBS
 
Answer & Explanation Answer: B) Use the cost of similar projects

Explanation:

Although it is less accurate than adding up individual costs from the WBS, it is less time consuming. The trade-off is accuracy. Answer A is incorrect because to do a more accurate cost estimate, you need to delve into details. Answer C is tempting also, and possible, except we don't really know if the project in question can use perametric modeling . Answer D is incorrect because it takes the most time, but it is most accurate.

Report Error

View Answer Report Error Discuss

Filed Under: PMP Certification

0 4471
Q:

The world's largest river is the......

A) The Amazon B) The Brahmaputra
C) The Mississippi and Missouri D) The Nile
 
Answer & Explanation Answer: A) The Amazon

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

10 4470
Q:

Select the correct statement about the Heart Valves.

A) Aortic and pulmonary valves control the flow of blood into the heart. B) The AV valves are supported by chordae tendineae so that regurgitation of blood into the atria during ventricular contraction does not occur.
C) The tricuspid valve divides the left atrium from the left ventricle. D) The mitral valve separates the right atrium from the right ventricle.
 
Answer & Explanation Answer: B) The AV valves are supported by chordae tendineae so that regurgitation of blood into the atria during ventricular contraction does not occur.

Explanation:

The correct statement from the given options is

The AV valves are supported by chordae tendineae so that regurgitation of blood into the atria during ventricular contraction does not occur.

Report Error

View Answer Report Error Discuss

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

8 4464
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 4464