IT Trainer Questions


Q:

Which of the following type casts will convert an Integer variable named amount to a Double type ?

A) (int to double) amount B) int (amount) to double
C) int to double(amount) D) (double) amount
 
Answer & Explanation Answer: D) (double) amount

Explanation:
Report Error

View Answer Report Error Discuss

6 4266
Q:

What is the theme of 2017 World Telecommunication and Information Society Day (WTISD)  ?

A) Entrepreneurship for social impact B) Reduce digital divide
C) Promote digital education for social welfare D) Big data for big impact
 
Answer & Explanation Answer: D) Big data for big impact

Explanation:

The World Telecommunication and Information Society Day (WTISD) is observed every year on May 17 to mark the anniversary of the signing of the first International Telegraph Convention (ITC) and the creation of the International Telecommunication Union (ITU). The purpose of the day is to help raise awareness of the possibilities that the use of the Internet and other information and communication technologies (ICT) can bring to societies and economies, as well as of ways to bridge the digital divide. The 2017 theme “Big Data for Big Impact” focuses on the power of Big Data for development and aims to explore how to turn imperfect, complex, often unstructured data into actionable information in a development context.

Report Error

View Answer Report Error Discuss

Filed Under: Important Days and Years
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , IT Trainer

5 8009
Q:

What is the difference between creating String as new() and literal ?

Answer

When we create string with new() Operator, it’s created in heap and not added into string pool while String created using literal are created in String pool itself which exists in PermGen area of heap.



String s = new String("Test");

does not put the object in String pool , we need to call String.intern() method which is used to put them into String pool explicitly. its only when you create String object as String literal e.g. String s = "Test" Java automatically put that into String pool.

Report Error

View answer Workspace Report Error Discuss

1 2125
Q:

There are 100 students in 3 sections A, B and C of a class. The average marks of all the three sections was 84. The average of B and C was 87.5 and the average marks of students in A section was :

A) 20 B) 35
C) 54 D) 40
 
Answer & Explanation Answer: A) 20

Explanation:

Numbers of students in section A = x
∴ Numbers of students in section B and C = (100 – x)
∴ x 70 + (100 – x) 87.5 = 84 100
=> 70x + 87.5 100 – 87.5x = 8400
=> 8750 – 17.5x = 8400
=> 17.5x = 8750 – 8400 => x = 20.

Report Error

View Answer Report Error Discuss

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

24 9780
Q:

What is immutable object? Can you write immutable object ?

Answer

Immutable classes are Java classes whose objects can not be modified once created. Any modification in Immutable object result in new object. For example is String is immutable in Java. Mostly Immutable are also final in Java, in order to prevent sub class from overriding methods in Java which can compromise Immutability. You can achieve same functionality by making member as non final but private and not modifying them except in constructor.

Report Error

View answer Workspace Report Error Discuss

3 2820
Q:

Which two method you need to implement for key Object in HashMap ?

Answer

In order to use any object as Key in HashMap, it must implements equals and hashcode method in Java.

Report Error

View answer Workspace Report Error Discuss

4 5939
Q:

A, B, C and D enter into partnership. A subscribes 1/3 of the capital B 1/4, C 1/5 and D the rest. How much share did A get in a profit of Rs.2490 ?

A) Rs. 820 B) Rs. 830
C) Rs. 840 D) Rs. 850
 
Answer & Explanation Answer: B) Rs. 830

Explanation:

Let the total amount in the partnership be 'x'.
Then A's share = x/3
B's share = x/4
C's share = x/5
D's share = x - (x/3 + x/4 +x/5) = 13x/60

A : B : C : D = x/3 : x/4 : x/5 : 13x/60 = 20 : 15 : 12 : 13

A's share in the profit of Rs. 2490 = 20 (2490/60) = Rs. 830.

Report Error

View Answer Report Error Discuss

Filed Under: Partnership
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Bank Clerk , Bank PO , IT Trainer

7 11065
Q:

What do you do when things do not go as planned ?

Answer
This question will gauge your ability to adapt to certain situations. Interviewers ask this question because they want to know how well you can manage problems and changes at work. This is necessary because changes happen in the workplace and those who show adaptability and flexibility are the ones who are still able to perform well in spite of the change. The interviewer, therefore, will give plus points to candidates who are able to prove that they possess these qualities. They are looking for people who are able to respond quickly and positively to changes and unexpected demands.

 

 A lot of people might be tempted to simply say, "I have never had problems when things do not go as planned" or worse, "I have never experienced that before". The first answer is fine as long as you are able to provide a supporting answer to it and be able to really show that you are, in fact, someone who can easily adjust yourself when changes occur. On the other hand, saying you have never had any experience on the matter would only make the interviewer think of how naive you are, which is not really going to help you land in the job. 

 

It is recommended that you summarize your answer in one sentence and then expound further later on. Answers such as "When things do not go as planned, the first thing I do is to take a deep breath and tell myself it will be okay". An answer like this can immediately give the interviewer an idea that you are a levelheaded person who knows how to handle situations properly.
Report Error

View answer Workspace Report Error Discuss

3 881