Questions

Q:

As per Indian Protocol, who among the following ranks highest in the order of precedence?

A) Deputy Prime Minister B) Former President
C) Governor of a State within his state D) Speaker of Lok Sabha
 
Answer & Explanation Answer: C) Governor of a State within his state

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

49 19861
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 19851
Q:

What are the typical elements of a process image?

Answer

User data: Modifiable part of user space. May include program data, user stack area, and programs that may be modified.


User program: The instructions to be executed.


System Stack: Each process has one or more LIFO stacks associated with it. Used to store parameters and calling addresses for procedure and system calls.


Process control Block (PCB): Info needed by the OS to control processes.

Report Error

View answer Workspace Report Error Discuss

17 19848
Q:

The output of the code below is

       #include <stdio.h>
        void main()
        {
            int i = 0, k;
            if ( i == 0 )
                goto label;
                for ( k = 0;k < 3; k++ )
                {
                    printf( "hin" );
                    label: k = printf( "%03d", i );
                }
         }

A) 0 B) hi hi hi 0 0 0
C) 0 hi hi hi 0 0 0 D) 0 0 0
 
Answer & Explanation Answer: A) 0

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

1 19830
Q:

Which of the statements given below are correct?

 

A) In 2017 Pro Kabaddi League, Manjeet Chillar played for team Tamil Nadu.

B) Pakistan hosted the Badminton 2017 BWF Super Series Finals.

C) India hosted the Badminton 2017 BWF World Senior Championships.

 

A) Only C B) Both B and C
C) Both A and B D) A, B and C
 
Answer & Explanation Answer: A) Only C

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

1 19790
Q:

Which of the statements given below are correct?

 

A) Valentino Rossi won the Motorcycle race 2017 Dutch TT MotoGP.

B) Germany hosted the 2017 AIBA World Boxing Championships.

C) In 2017 Pro Kabaddi League, Surjeet Singh played for Bengal Warriors.

 

A) Only C B) Both A and C
C) A, B and C D) None of these
 
Answer & Explanation Answer: C) A, B and C

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

0 19784
Q:

Who is known as Man of Blood and Iron ?

A) Napoleon B) Bismarck
C) Ho Chi Minh D) Sir Walter Scott
 
Answer & Explanation Answer: B) Bismarck

Explanation:

Otto von Bismarck (Prince Bismarck), called “man of blood” from his great war policy, and “iron” from his indomitable will. Many years Chancellor of Prussia and Germany. (Born in September 1st 1815)

Report Error

View Answer Report Error Discuss

Filed Under: World History

93 19766
Q:

Which one of the following mixture is homogeneous

A) starch and sugar B) methanol and water
C) graphite and charcoal D) calcium carbonate and calcium bicarbonate
 
Answer & Explanation Answer: B) methanol and water

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

76 19740