Questions

Q:

What is the output of this C code?

   #include <stdio.h>
    int main()
    {
        int a = 1, b = 1;
        switch (a)
        {
        case a*b:
            printf("yes ");
        case a-b:
            printf("non");
            break;
        }
    }

A) yes B) no
C) Compile time error D) yes no
 
Answer & Explanation Answer: C) Compile time error

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

7 22946
Q:

Select the antonym of

snag

A) hurdle B) boon
C) bug D) glitch
 
Answer & Explanation Answer: B) boon

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 22933
Q:

Improve the bracketed part of the sentence.

My brother is indifferent (about) whatever I say.

A) in B) of
C) to D) No improvement
 
Answer & Explanation Answer: C) to

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

2 22918
Q:

Read each sentence to find out whether there is any error in any part

That Brutus, who was his trusted friend(a) had attacked on him(b) caused heartbreak to Julius Caesar(c). No error.(d)

A) a B) b
C) c D) d
 
Answer & Explanation Answer: B) b

Explanation:

‘Attacked on him’ is the incorrect form of phrasal verb that needs to be replaced with ‘Attacked him’ to make the sentence correct. This is because; ‘Attack’ is not followed by any preposition. Thus, the correct sentence would be, ‘That Brutus, who was his trusted friend had attacked him caused heartbreak to Julius Caesar’.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 22864
Q:

enum colors {BLACK,BLUE,GREEN}

main()

{

printf( "%d..%d..%d", BLACK, BLUE, GREEN );

return(1);

}

A) 1..2..3 B) 0..1..2
C) 1..1..1 D) 0..0..0
 
Answer & Explanation Answer: B) 0..1..2

Explanation:

enum assigns numbers starting from 0, if not explicitly defined.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

8 22828
Q:

Select the antonym of

intrinsic

A) elemental B) innate
C) connate D) accquired
 
Answer & Explanation Answer: D) accquired

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

3 22807
Q:

Rocket works on the principle of conservation of

 

A) Momentum B) Mass
C) Velocity D) Energy
 
Answer & Explanation Answer: A) Momentum

Explanation:

Rocket works on the principle of conservation of momentum. The rockets gain momentum equal to the momentum of the gas expelled from the engine, but in the opposite direction.

 

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

1 22801
Q:

Improve the bracketed part of the sentence.

The driver gave (advice) at the court during the murder trial.

 

A) evidence B) proof
C) witness D) no improvement
 
Answer & Explanation Answer: A) evidence

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 22760