IT Trainer Questions


Q:

Inside an interface when should the variables be initialized?

A) Globally B) Whenever required
C) Inside a function D) During the time of declaration
 
Answer & Explanation Answer: D) During the time of declaration

Explanation:

They should be initialized during the time of declaration itself otherwise it is a compilation eror

Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: IT Trainer

0 4348
Q:

Which SQL keyword is used to sort the result-set?

A) ORDER B) ORDER BY
C) SORT BY D) SORT
 
Answer & Explanation Answer: B) ORDER BY

Explanation:

SQL keyword ORDER BY is used to sort the result-set.

Report Error

View Answer Report Error Discuss

Filed Under: SQL
Job Role: Analyst , Database Administration , IT Trainer

1 4309
Q:

Who will be awarded The Jnanpith Award for the year 2017?

A) Krishna Sobti B) Vikas Singh
C) Rohim Khan D) Sunita Verma
 
Answer & Explanation Answer: A) Krishna Sobti

Explanation:

Hindi writer Krishna Sobti has been chosen for this years Jnanpith Award for her contribution to Indian Literature. This is 53rd Jnanpith Award for India.

Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO , IT Trainer

14 4302
Q:

Which of the following is not an Output device?

A) Scanner B) Moniter
C) Printer D) Speakers
 
Answer & Explanation Answer: A) Scanner

Explanation:
Report Error

View Answer Report Error Discuss

9 4298
Q:

Which of the following method declarations are allowed inside interface?

A) public void m1() B) private void m1()
C) protected void m1() D) abstract public void m1()
 
Answer & Explanation Answer: D) abstract public void m1()

Explanation:

Inside an interface every method will be by default abstract and public

Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: IT Trainer

0 4297
Q:

Which one of the following is not a prime number?

A) 91 B) 71
C) 41 D) 31
 
Answer & Explanation Answer: A) 91

Explanation:

Prime Numbers :: Numbers which are divisible by only 1 and itself are Prime Numbers.

 

It's answer will be 91.

Because 91 can be divisible by 7,13,91,1.

It is quite clear that prime number should be divisible only by itself and by 1.

Report Error

View Answer Report Error Discuss

Filed Under: Problems on Numbers
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

5 4293
Q:

Everyone has it and no one can lose it. What is it?

A) Face B) Teeth
C) Hair D) Shadow
 
Answer & Explanation Answer: D) Shadow

Explanation:
Report Error

View Answer Report Error Discuss

3 4281
Q:

How to convert JSON Text to a JavaScript Object ?

Answer

One of the most common use of JSON is to fetch JSON data from a web server (as a file or as an HttpRequest), convert the JSON data to a JavaScript object, and then it uses the data in a web page.


The eval() function can compile and execute any JavaScript. This represents a potential security problem.


It is safer to use a JSON parser to convert a JSON text to a JavaScript object. A JSON parser will recognize only JSON text and will not compile scripts.

Report Error

View answer Workspace Report Error Discuss

2 4281