Questions

Q:

What symbol is used to enter number as text?

A) = B) "
C) ' D) _
 
Answer & Explanation Answer: C) '

Explanation:

Apostrophe(‘) symbol is used before a number to make it a text or label.

Report Error

View Answer Report Error Discuss

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

26 7166
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

7 7161
Q:

Germany signed the Armistice Treaty on ____ and World War I ended

A) January 19, 1918 B) May 30, 1918
C) November 11, 1918 D) February 15, 1918
 
Answer & Explanation Answer: C) November 11, 1918

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

20 7160
Q:

Kalbaisakhis or Norwesters originate in

A) Chhota Nagpur Plateau B) Karnataka Coast
C) Coromandal Coast D) Malwa plateau
 
Answer & Explanation Answer: A) Chhota Nagpur Plateau

Explanation:

They are carried eastwards to West Bengal and Assam by westerly winds

Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography

11 7160
Q:

Padma Shri - Dr Sundaram (S) Ramakrishnan passed away recently. What was his profession?

 

A) Scientist B) Politician
C) Engineer D) Doctor
 
Answer & Explanation Answer: A) Scientist

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Famous Personalities
Exam Prep: Bank Exams

1 7159
Q:

Gold and silver are extracted from their respective ores by _______

A) Smelting B) Roasting
C) Leaching D) Hydro metallurgy
 
Answer & Explanation Answer: D) Hydro metallurgy

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

24 7156
Q:

Central processing unit is combination of

A) Arithmetic and Control unit B) Control and Output unit
C) Control and Storage unit D) Arithmetic logic and input unit
 
Answer & Explanation Answer: A) Arithmetic and Control unit

Explanation:
Report Error

View Answer Report Error Discuss

9 7146
Q:

Which city in Australia is hosted the 2018 commonwealth Games?

 

A) Hobart B) perth
C) Gold Coast D) Adelaide
 
Answer & Explanation Answer: C) Gold Coast

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

1 7139