Questions

Q:

In which language was the ' Shrimad Bhagavad Gita ' originally written

A) Sanskrit B) Apabhramsa
C) Prakrit D) Pali
 
Answer & Explanation Answer: A) Sanskrit

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

29 16505
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

25 16484
Q:

In the following pieces of code, B and D will compile without any error. True or false ?

A: StringBuffer sb1 = "abcd";

B: Boolean b = new Boolean("abcd");

C: byte b = 255;

D: int x = 0x1234;

E: float fl = 1.2;

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

The code segments B and D will compile without any error. A is not a valid way to construct a StringBuffer, you need to create a StringBuffer object using "new". B is a valid construction of a Boolean (any string other than "true" or "false" to the Boolean constructor will result in a Boolean with a value of "false"). C will fail to compile because the valid range for a byte is -128 to +127 (i.e., 8 bits, signed). D is correct, 0x1234 is the hexadecimal representation in java. E fails to compile because the compiler interprets 1.2 as a double being assigned to a float (down-casting), which is not valid. You either need an explicit cast, as in "(float)1.2" or "1.2f", to indicate a float.

Report Error

View Answer Workspace Report Error Discuss

16 16453
Q:

Which of the statements given below are correct?

1. The author of the novel 'Missile Gap' is Charles Stross.
2. The author of the novel 'Bird Box' is Victor LaValle.
3. The author of the novel 'The City and the City' is China Mieville.

A) 1 and 2 B) 2 and 3
C) 1 and 3 D) 1, 2 and 3
 
Answer & Explanation Answer: C) 1 and 3

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: Bank Exams

0 16438
Q:

What is the element present in urea

A) C,H,O B) C,N,O
C) C,N,H D) C,O,N,H
 
Answer & Explanation Answer: D) C,O,N,H

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

45 16423
Q:

Who among the following persons is called ' Desert Fox '

A) Walter Scott B) Erwin Rommel
C) Eisenhower D) Bismarck
 
Answer & Explanation Answer: B) Erwin Rommel

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Famous Personalities

57 16380
Q:

The outer membrane that covers the brain is

A) Myelin sheath B) Dura mater
C) Arachnoid membrane D) Pia mater
 
Answer & Explanation Answer: B) Dura mater

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

119 16375
Q:

The output of the code below is

        #include <stdio.h>
        int *m()
        {
            int *p = 5;
            return p;
        }
        void main()
        {
            int *k = m();
            printf("%d", k);
        }

A) 5 B) Junk value
C) 0 D) Error
 
Answer & Explanation Answer: A) 5

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

1 16367