Questions

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

6 6821
Q:

The Essar group of companies has been promoted by  _____

A) Ambanis B) Kanorias
C) Ruias D) Goenkas
 
Answer & Explanation Answer: C) Ruias

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams , CAT

18 6819
Q:

Sound becomes hazardous noise pollution at decibels?

A) above 120 db B) above 80 db
C) above 50 db D) above 30 db
 
Answer & Explanation Answer: A) above 120 db

Explanation:

Sound intensity is measured in decibels(db). Sound pollution above 120 db becomes more hazardous and have adverse affects on human life. 

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

11 6812
Q:

The Programme of Swadeshi and Boycott against the partition of Bengal was visualised by

A) Surendra Nath Bennerjee B) BC Pal
C) Aurobindo Ghose D) Ras Behari Bosh
 
Answer & Explanation Answer: A) Surendra Nath Bennerjee

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

8 6811
Q:

5 L from A are V?

Answer

5 L from A are V --- 5 Letters from Alphabets are Vowels.


 

Report Error

View answer Workspace Report Error Discuss

13 6809
Q:

The oxidation number of Cr in K2Cr2O7 is

A) +6 B) -5
C) +3 D) -4
 
Answer & Explanation Answer: A) +6

Explanation:

We will rewrite the formula as an equation.

2K + 2Cr + 7O = 0

The zero comes from there being no overall charge on the compound.

Each oxidation number is represented by the element's symbol.

Since this compound is not a peroxide or superoxide, the oxidation value for O is -2

K being in group 1 has a +1 charge and therefore has an oxidation number of K is +1

Now, by putting known values in we have:

2(+1) + 2(Cr) + 7(-2) = 0

2 + 2Cr -14 = 0

2Cr = +12

Cr = +6.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams , GATE
Job Role: Analyst , Bank Clerk , Bank PO

13 6809
Q:

Select the antonym of

 

to wring

 

A) to gouge B) to untwist
C) to extort D) to choke
 
Answer & Explanation Answer: B) to untwist

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 6808
Q:

Improve the bracketed part of the sentence.

 

When the prodigal son returned home, his father welcomed him (with open hands).

 

A) with open hearts B) with open mind
C) with open arms D) no improvement
 
Answer & Explanation Answer: C) with open arms

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 6805