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 5033
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 5031
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 5031
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 5030
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:

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

According to experts what percentage of trash is recyclable?

A) 16% B) 36%
C) 72% D) 90%
 
Answer & Explanation Answer: D) 90%

Explanation:

according_to_experts_what_percentage_of_trash_is_recyclable1556256889.jpg image

 

EPA - Environmental Protection Agency.

 

The EPA estimates that 85% - 90% of the waste is recyclable, but we only recycle about 30% - 40% of it.

Report Error

View Answer Report Error Discuss

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

5 5024