Questions

Q:

What will be output when you will execute following c code?

#include <stdio.h>
enum actor

{
    SeanPenn=5,
    AlPacino=-2,
    GaryOldman,
    EdNorton
};
void main()

{
     enum actor a=0;
     switch(a)

      {
         case SeanPenn:  printf("Kevin Spacey");
                         break;
         case AlPacino:  printf("Paul Giamatti");
                         break;
         case GaryOldman:printf("Donald Shuterland");
                         break;
         case EdNorton:  printf("Johnny Depp");
      } 
}

A) Kevin Spacey B) Paul Giamatti
C) Donald Shuterland D) Johnny Depp
 
Answer & Explanation Answer: D) Johnny Depp

Explanation:

Default value of enum constant
GaryOldman = -2 +1 = -1
And default value of enum constant
EdNorton = -1 + 1 = 0
Note: Case expression can be enum constant.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

1 13432
Q:

During rainy season wooden doors are difficult to open or closure because of  ?

A) Imbibition B) Plasmolysis
C) Diffusion D) Osmosis
 
Answer & Explanation Answer: A) Imbibition

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE , Bank Exams

92 13427
Q:

A cube of edge 15 cm is immersed completely in a rectangular vessel containing water . If the dimensions of the base of vessel are 20 cm x 15 cm, find the rise in water level

 

A) 11.25cm B) 11.56cm
C) 11.66cm D) 10.86cm
 
Answer & Explanation Answer: A) 11.25cm

Explanation:

Increase in volume = Volume of the cube = (15 x 15 x 15) cm3.

 

\Rise in water level = volume/area = (15 x 15 x 15)/(20 x 15) cm = 11.25 cm.

Report Error

View Answer Report Error Discuss

7 13412
Q:

Buddha attained Mahaparinirvana in the republic of the

A) Mallas B) Lichhavis
C) Sakyas D) Palas
 
Answer & Explanation Answer: A) Mallas

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

19 13407
Q:

Defect Management Process does not include

A) Deliverable base-lining B) Management reporting
C) Defect prevention D) None of above
 
Answer & Explanation Answer: A) Deliverable base-lining

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Software Testing
Job Role: Analyst , IT Trainer

8 13404
Q:

Rearrange the parts of the sentence in correct order.

There needs to be a

P : more coordinated effort

Q : forest diseases in India

R : towards dealing with

 

A) PRQ B) PQR
C) RPQ D) RQP
 
Answer & Explanation Answer: A) PRQ

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 13402
Q:

Calculate the power (in W) of an engine if it can perform 120 J of work in 3 seconds.

 

A) 360 B) 80
C) 180 D) 40
 
Answer & Explanation Answer: D) 40

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

0 13401
Q:

Latitude of place is indicated of its

A) Time B) Altitude
C) Amount of rain D) Temparature
 
Answer & Explanation Answer: D) Temparature

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

23 13393