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

Select the antonym of

 

veracity

A) deceit B) condor
C) probity D) rectitude
 
Answer & Explanation Answer: A) deceit

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 13892
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 13891
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 13879
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 13879
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 13873
Q:

The unit MIPS is used to measure the speed of a___.

A) Disk drive B) Tape drive
C) Printer D) Processor
 
Answer & Explanation Answer: D) Processor

Explanation:

MIPS refers millions instruction per sec and is used to measure the speed of Processor.

Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk

37 13869
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 13855