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

Gateway-to-Gateway protocol is a protocol formerly used to exchange routing information between Internet core routers.

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

Explanation:

It is a protocol formerly used to exchange routing information between Internet core routers.

Report Error

View Answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

1 4998
Q:

The stability triangle is used to describe

Answer

The stability triangle is used to describe the movement of center of gravity of a load vehicle like trucks. If the load is not balanced then it moves and may tip over it.


 


                                         the_stability_triangle_is_used_to_describe1533620821.jpg image


 


If you were to raise a lift truck up and look at its underside, you would see that the support points for the truck are located at points A, B, and C. The triangle formed between points A, B, and C is called the Stability Triangle. The lift truck will not tip over as long as the center of gravity remains inside the triangle.


 


The center of gravity is the point within a lift truck where there is equal weight all around it.

Report Error

View answer Workspace Report Error Discuss

Subject: Physics Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

3 4998
Q:

Prince of Wales cup is associated with the game of

A) Golf B) Hockey
C) Volleyball D) Basketball
 
Answer & Explanation Answer: A) Golf

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO , Database Administration

8 4996
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 4995
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 4994
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 4994
Q:

Can character data be stored in computer memory? 

A) Yes---a primitive data type is used to store characters B) No---computer memory can only store patterns
C) Yes---characters are stored in special memory D) No---computers can only store numbers
 
Answer & Explanation Answer: A) Yes---a primitive data type is used to store characters

Explanation:
Report Error

View Answer Report Error Discuss

7 4993