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

getppid() system call is used to bias the existing priority of a process 

A) TRUE B) FALSE
Answer & Explanation Answer: B) FALSE

Explanation:

It is used to get parent process identifier

Report Error

View Answer Workspace Report Error Discuss

Subject: Operating Systems
Exam Prep: GATE

1 4995
Q:

Carbohydrates, lipids and proteins are classified as

A) Macromolecules B) Biomolecules
C) Macronutrients D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

Carbohydrates, together with lipids, proteins and nucleic acids, are one of the four major classes of biologically essential organic molecules found in all living organisms. They not only provide energy for vital metabolic reactions but also supply the building materials for normal structure, growth and repair. Your body needs relatively large quantities of carbohydrates, fats and protein for optimal function, hence their classification as macronutrients.

Report Error

View Answer Report Error Discuss

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

3 4994
Q:

' The Nacked Face ', a very popular book is written by

A) John Milton B) Dominique Lapierre
C) Juan Benet D) Sidney Sheldon
 
Answer & Explanation Answer: D) Sidney Sheldon

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

7 4992
Q:

Who is the author of the book "No Full Stops in India" ?

A) R. K. Narayan B) Mark Tully
C) C. Narayan Reddy D) Ved Mehta
 
Answer & Explanation Answer: B) Mark Tully

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

11 4991
Q:

Only Genius Can Solve This?

Answer

The logic in the given puzzle is - Number of squares in the figures.


 


Hence, the number of squares in the question figure is 14.

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles Exam Prep: Bank Exams

46 4991
Q:

Which of the following are not pastoral nomads?

A) Pygmies B) Kazaks
C) Masai D) Lapps
 
Answer & Explanation Answer: A) Pygmies

Explanation:

The pygmies are hunting nomads

Report Error

View Answer Report Error Discuss

Filed Under: World Geography

2 4990
Q:

The 'Puttingal Temple' is located in which of the following states ?

A) Tamilnadu B) Bihar
C) Uttar Pradesh D) Kerala
 
Answer & Explanation Answer: D) Kerala

Explanation:

Puttingal Temple was a Hindu temple in the coastal town of Paravur, India. The temple was founded after the presence of the goddess was experienced on an ant hill with Puttu being the Malayalam word for ant Hill.

Report Error

View Answer Report Error Discuss

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

25 4989