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

Which substance is produced when alcohol is added with petrol and used as a fuel?

 

A) Only oxygen B) Only carbon-dioxide
C) Only water D) Carbon-dioxide and water both
 
Answer & Explanation Answer: B) Only carbon-dioxide

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

3 13903
Q:

Which is considered as oldest civilization of the world ?

A) Mesopotamian Civilization B) Harappan Civilization
C) Chinese Civilization D) Egyptain Civilization
 
Answer & Explanation Answer: A) Mesopotamian Civilization

Explanation:

Mesopotamian Civilization (4000 BC - 6th Cen. BC)

Egyptain Civilization (3400 BC - 1000 BC)

Harappan Civilization (2500 BC - 1750 BC)

Chinese Civilization (1765 BC - 250 BC)

Report Error

View Answer Report Error Discuss

Filed Under: World History

61 13902
Q:

Rearrange the parts of the sentence in correct order:

 

They also need help

P-­rains have failed, and

Q-­agricultural production will fall drastically

R-­just now, because

 

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 13900
Q:

Which of the following hormones has intracellular receptors?

 

A) cortisol. B) insulin.
C) epinephrine. D) none
 
Answer & Explanation Answer: A) cortisol.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

0 13897
Q:

You cannot close MS Word application by

A) From File menu choose Close submenu B) Click X button on title bar
C) Choosing File menu then Exit submenu D) Press Alt + F4
 
Answer & Explanation Answer: A) From File menu choose Close submenu

Explanation:
Report Error

View Answer Report Error Discuss

23 13893
Q:

What would be the output of the following program ?

main()

{

     const int x = 5; 

      int *ptrx;

      ptrx = &x;

      *ptr = 10;

       printf ("%d", x);

}

A) 5 B) 10
C) Error D) Garbage value
 
Answer & Explanation Answer: B) 10

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

2 13884
Q:

An accepted deadline for a project approaches. However, the project manager realizes only 75% percent of the work has been completed. The project manager then issues a change request. What should the change request authorize?

A) Additional resources using the contingency fund B) Escalation approval to use contingency funding
C) Team overtime to meet schedule D) Corrective action based on causes
 
Answer & Explanation Answer: D) Corrective action based on causes

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: PMP Certification

16 13880