Questions

Q:

Rewrite the following set of statements using conditional operators.

int a =1, b ;

if ( a > 10 )

b = 20; 

Answer

int a = 1, b , dummy;


a > 10 ? b = 20 : dummy =1;


 


Note that the following would not have worked:


a > 10 ? b = 20 : ;;


 

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

3 5030
Q:

Which of the following are elements of the colder principle?

A) Keep clothing clean and dry B) Repair clothing as necessary
C) Wear clothing loose and layered D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

In scouts, the military and most outdoor books or schools teach the COLDER principal. It is a great acronym for caring and using you clothing.

 

C - keep your clothing CLEAN. Dirt can break down the fibers of your clothing.

O - don't OVERHEAT. Sweat can lessen the effectiveness of clothing.

L - wear you clothes LOOSE and in LAYERS. Makes your system versatile.

D - stay DRY.

E - EXAMINE your clothing. Look for worn or damaged areas of you clothing.

R - REPAIR any damage that is found.

Report Error

View Answer Report Error Discuss

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

2 5029
Q:

karl Landsteiner discovered

A) Blood corpuscles B) Blood groups
C) Blood vessels D) Proteins in Blood
 
Answer & Explanation Answer: B) Blood groups

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

12 5028
Q:

Panchatantra has been written by

A) Kalidas B) Surdas
C) Vishakhadatta D) Vishnu Sharma
 
Answer & Explanation Answer: D) Vishnu Sharma

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

2 5028
Q:

Logical puzzle

You have 10 coins….arrange them in 4 straight lines such that each line contains 4 coins.

Report Error

View answer Workspace Report Error Discuss

27 5026
Q:

Who of the following was the personal physician of Kanishka and also the author of a famous treatise on the Indian system of medicine

A) Charaka B) Susruta
C) Nagarjuna D) Jevaka
 
Answer & Explanation Answer: A) Charaka

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

2 5025
Q:

National Institute of Nutrition is located at which of the following places?

A) Pune B) Bangalore
C) Mumbai D) Hyderabad
 
Answer & Explanation Answer: D) Hyderabad

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Famous Places

14 5024
Q:

When is International Mother's Day is observed?

A) December 11 B) November 29
C) 2nd Sunday of May D) Second Wednesday of October
 
Answer & Explanation Answer: C) 2nd Sunday of May

Explanation:
Report Error

View Answer Report Error Discuss

4 5021