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

What is the unit of the physical quantity, Momentum?

A) newton second B) joule second
C) erg second D) pascal second
 
Answer & Explanation Answer: A) newton second

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

0 4987
Q:

Source of river Mahanadi ?

A) Mahabaleshwar B) Trimbak Plateau
C) Dandakaranya D) None
 
Answer & Explanation Answer: C) Dandakaranya

Explanation:
Report Error

View Answer Report Error Discuss

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

9 4986
Q:

Logical puzzle

Dr.Will wants to operate for three different persons who were wounded. But he had only two surgical gloves. There is not any blood contact between the three persons. How can Dr.Will operate for the three people with two pair of surgical gloves?

Answer

First, Dr.Will wear both of the gloves, one above the other. He operate the first person. After finishing he remove the outer pair of gloves as inside out and place it in a tray. Then operate the second person. Now he will wear the first gloves as inside out above the second gloves. Operate the third person. At last he remove the gloves and dispose them.

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles

25 4985
Q:

Sales commissions are classified as

A) Period costs B) Product costs
C) Indirect labour D) Overhead costs
 
Answer & Explanation Answer: A) Period costs

Explanation:

A sales commission is money your small business pays an employee when she sells your products or services to customers. Sales commissions are classified as selling expenses which come under Period costs. A period cost is any cost that cannot be capitalized into prepaid expenses, inventory, or fixed assets.

Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness
Job Role: Analyst

9 4985
Q:

Which country has launched its first environmental research satellite 'Venus' ?

A) Russia B) India
C) China D) Israel
 
Answer & Explanation Answer: D) Israel

Explanation:
Report Error

View Answer Report Error Discuss

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

9 4984
Q:

In what way does ocean water move globally?

A) Along cold water currents from the equator to the poles. B) Along warm water currents from the warmer regions to colder regions
C) Along warm water currents from the equator to the poles D) None of the above
 
Answer & Explanation Answer: C) Along warm water currents from the equator to the poles

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

4 4981
Q:

Who is known as Indian Bismarck

A) Nehru B) Rajaji
C) Patel D) Kamraj
 
Answer & Explanation Answer: C) Patel

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Famous Personalities

3 4981