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

Who was the first Indian to be honoured with a lifetime achivement Oscar award

A) Salim Ali B) Pandit Ravi Shankar
C) Satyajit Roy D) Bachchendri pal
 
Answer & Explanation Answer: C) Satyajit Roy

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards

7 6744
Q:

Translation of the dna sequence AAGCTGGGA would result in

A) a DNA strand with the base sequence TTCGACCCT B) an mRNA strand with the sequence TTCGACCCT
C) a sequence of three amino acids linked by peptide bonds D) an mRNA strand with the sequence UUGCACCCU
 
Answer & Explanation Answer: A) a DNA strand with the base sequence TTCGACCCT

Explanation:

Translation_of_the_dna_sequence_AAGCTGGGA_would_result_in_a_DNA_strand_with_the_base_sequence_TTCGACCCT1557489837.jpg image

Report Error

View Answer Report Error Discuss

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

7 6742
Q:

Choose the word which is nearly opposite in meaning to the given word:-

Refractory

A) Refreshing B) Burdensome
C) Privileged D) Manageable
 
Answer & Explanation Answer: D) Manageable

Explanation:

Refractorymeans unmanageablewhich is nearly opposite to manageable.Refreshing means revivifyingBurdensome means troublesomePrivileged means advantage

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 6742
Q:

The period after parturition in which animal produces milk is called as _____

A) Calving period B) Lactation period
C) Dry period D) Conception
 
Answer & Explanation Answer: B) Lactation period

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds
Exam Prep: Bank Exams

38 6739
Q:

Of the following elements, which one has the same oxidation  state in all of its compounds?

A) Hydrogen B) Fluroine
C) Carbon D) oxygen
 
Answer & Explanation Answer: B) Fluroine

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

15 6736
Q:

Water pollution of a river is measured by_______

A) Amount of chlorine dissolve in water B) Amount of Ozone dissolve in water
C) Amount of nitrogen dissolve in water D) Amount of oxygen dissolve in water
 
Answer & Explanation Answer: D) Amount of oxygen dissolve in water

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

13 6736
Q:

Quality of transmission depends upon

A) Nature of signal only B) Nature of medium only
C) Both (A) and (B) D) Neither A nor B
 
Answer & Explanation Answer: C) Both (A) and (B)

Explanation:

Quality of transmission is governed both by nature of signal and nature of communication channel/medium.

Report Error

View Answer Report Error Discuss

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

18 6734