IT Trainer 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

7 9683
Q:

The main interface in Windows and OS X is __________ interface.

A) Command-line B) Embedded
C) Neural D) Graphical
 
Answer & Explanation Answer: D) Graphical

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems
Exam Prep: Bank Exams
Job Role: Analyst , Bank Clerk , IT Trainer

16 9675
Q:

The marked price of an article is increased by 25% and the selling price is increased by 16.66%, then the amount of profit doubles. If the original marked price be Rs. 400 which is greater than the corresponding cost price by 33.33%, what is the increased selling price?

A) Rs. 380 B) Rs. 420
C) Rs. 460 D) Rs. 440
 
Answer & Explanation Answer: B) Rs. 420

Explanation:

As given in the question, Marked price is 25% more than the Cost price.

=> C.P of the article = 34 x 400 = 300 

Now, 

Let the original S.P of the article be Rs. P

Now the new S.P = P + 16.666 +13.333300 x P 

=> S.P = 7P6

According to the question,

7P6 - 300 = 2P - 300

=> 5P = 1800

=> P = Rs. 360

Hence, the increased S.P = 360 x 7/6 = Rs. 420. 

Report Error

View Answer Report Error Discuss

Filed Under: Profit and Loss
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

11 9668
Q:

Who is making the web standards?

A) Internet Explorer B) Netscape Navigator
C) The World Wide Web Consortium D) All of the above
 
Answer & Explanation Answer: C) The World Wide Web Consortium

Explanation:

Web standards are rules and guidelines established by the World Wide Web Consortium ( W3C ) developed to promote consistency in the design code which makes up a web page.

 who_is_making_the_web_standards1557557101.jpg image

 

W3C is an international community of member organizations created in 1994 that articulates web standards so that websites look and work the same in all web browsers.

 

Its mission is to lead the World Wide Web to its full potential.

Report Error

View Answer Report Error Discuss

7 9663
Q:

Which among the following is a folk dance of India?

A) Garba B) Kathakali
C) Manipuri D) Mohiniattam
 
Answer & Explanation Answer: A) Garba

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Culture
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

61 9633
Q:

Country : President :: State : ?

A) Governor B) Speaker
C) Prime Minister D) Chief Minister
 
Answer & Explanation Answer: A) Governor

Explanation:

The President is the highest officer in the country. Similarly, Governor is the highest officer of the state.

 

Hence, Country : President :: State : Governor.

Report Error

View Answer Report Error Discuss

Filed Under: Analogy
Exam Prep: AIEEE , Bank Exams , CAT , GRE
Job Role: Analyst , Bank Clerk , Bank PO , Database Administration , IT Trainer

18 9580
Q:

Which is the point from where an azimuth originates?

A) South B) North
C) East D) West
 
Answer & Explanation Answer: B) North

Explanation:

The azimuth originates at true North i.e, the azimuth originates from the north point. It is a measure of how far an object forms the observer's north point.

 

Azimuth is a technical mapping term which is used to describe the direction of an angle between north and south on a compass circle through which the circle line passes. It is the most common military method to express direction. When using an azimuth, the point from which the azimuth originates is the center of an imaginary circle.

Report Error

View Answer Report Error Discuss

8 9506
Q:

Which entity owns ITIL now?

Answer

ITIL (Information Technology Infrastructure Library) is owned by Axelos since, 2013.

Report Error

View answer Workspace Report Error Discuss

11 9497