IT Trainer Questions


Q:

What is conversion operator ?

Answer

Class can have a public method for specific data type conversions.
for example:
class B
{
double value;
public  B(int i )
operator double()
{
return value;
}
};
B BObject;
double i = BObject; // assigning object to variable i of type double.
now conversion operator gets called to assign the value.

Report Error

View answer Workspace Report Error Discuss

11 4441
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 4438
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 4434
Q:

The command to eliminate a table from a database is

A) REMOVE TABLE CUSTOMER; B) UPDATE TABLE CUSTOMER;
C) DELETE TABLE CUSTOMER; D) DROP TABLE CUSTOMER;
 
Answer & Explanation Answer: D) DROP TABLE CUSTOMER;

Explanation:

The SQL DROP TABLE statement is used to remove a table definition and all data, indexes,...

Report Error

View Answer Report Error Discuss

4 4432
Q:

Component Testing is also called as

component_testing_is_also_called_as1542088267.jpg image

A) Unit testing B) Module testing
C) Program testing D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

Component Testing is also called as Module or Unit or Program testing. It is testing of all the components in an application separately.

Report Error

View Answer Report Error Discuss

6 4409
Q:

In latest generation computers, the instructions are executed

A) Sequentially only B) Parallelly only
C) Both sequentially and parallelly D) None of the above
 
Answer & Explanation Answer: C) Both sequentially and parallelly

Explanation:

In_latest_generation_computers,_the_instructions_are_executed1556257673.jpg image

 

In latest generation computers, the instructions are executed both sequencially and parallelly.

Report Error

View Answer Report Error Discuss

3 4397
Q:

Pinaka is a

A) a multi barrel rocket launcher developed by DRDO B) a rocket launcher developed by France
C) a missile developed by DRDO D) a missile imported from Russia
 
Answer & Explanation Answer: A) a multi barrel rocket launcher developed by DRDO

Explanation:

1. Pinaka is a multi barrel rocket launcher developed by the Defence Research and Development Organisation (DRDO) for the Indian Army.

2. The system has a maximum range of 40 km for Mark-I and 75 km for Mark-II, and can fire a salvo of 12 rockets in 44 seconds.

3. The system is mounted on a Tatra truck for mobility.

4. Actually, the meaning of Pinaka is Shiv Dhanush.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank PO , IT Trainer

7 4394
Q:

Which class is used to indicate Black Navigation Bar ?

A) .navbar-inverse B) .navbar-black
C) .navbar-dark D) .navbar-default
 
Answer & Explanation Answer: A) .navbar-inverse

Explanation:

.navbar-inverse is used to display in black color.

Report Error

View Answer Report Error Discuss

Filed Under: .NET
Exam Prep: Bank Exams
Job Role: Analyst , IT Trainer

2 4383