IT Trainer Questions


Q:

What is C-Sharp (C#) and its advantages ?

Answer

C# is a type-safe, managed and object oriented language, which is compiled by .Net framework for generating intermediate language (IL).


Below are some of the features supported in C# -
* Constructors and Destructors
* Properties
* Passing Parameters
* Arrays
* Main
* XML Documentation and
* Indexers


Below are the advantages of C# -


* Easy to learn
* Object oriented
* Component oriented
* Part of .NET framework

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: IT Trainer , Analyst

1 4057
Q:

What do you mean by friend function in C++ ?

Answer

Friends can be either functions or other classes. The class grants friends unlimited access privileges.

* The declaration of the function should be preceded by the keyword 'friend'.
* The function definition will not use the keyword or the scope operator '::'.


Thus, a friend function is an ordinary function or a member of another class.

Report Error

View answer Workspace Report Error Discuss

15 4049
Q:

What is the most important step in prioritizing goals?

A) deciding what is most important B) having multiple tasks lined up for each goal
C) determining categories for various goals D) writing a list of goals
 
Answer & Explanation Answer: A) deciding what is most important

Explanation:

Always prioritize by what's most important to what is less important to us to reach our goals as soon as possible.

Report Error

View Answer Report Error Discuss

3 4034
Q:

Break the logic behind the given mathematical puzzle?

Maths_logic_puzzle1557901040.png image

A) 7 B) 8
C) 11 D) 13
 
Answer & Explanation Answer: B) 8

Explanation:

In the given puzzle,

The logic is in the format of lets say, a/b


In that case b doesn't matter, because

2/2 = 1,

6/5 = 6/2 = 3,

10/11 = 10/2 = 5

 

This means that equation is a/2

So 16/19 is equal 16/2 = 8.

Report Error

View Answer Report Error Discuss

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

19 4029
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 3996
Q:

6 B in an O?

A) 6 books in an order B) 6 balls in an over
C) 6 bats in an odd D) None of the above
 
Answer & Explanation Answer: B) 6 balls in an over

Explanation:

6 b in an o means 6 balls in an over in cricket.

Report Error

View Answer Report Error Discuss

4 3982
Q:

Which Indian city is named after the snake Anantha of Lord Vishnu?

A) Trivandrum B) Tiruchirappalli
C) Tanjavore D) Vellore
 
Answer & Explanation Answer: A) Trivandrum

Explanation:

Thiruvananthapuram also known as Trivandrum, is the capital and the largest city of the Indian state of Kerala is named after the snake Anantha of Lord Vishnu.

Report Error

View Answer Report Error Discuss

16 3958
Q:

Manisha went to shop with certain amount, with which she can buy 50 Chacobar or 40 Fivestar. She uses 10% amount for petrol and out of the remaining balance, she purchases 20 Fivestar and some Chacobar. Find the number of Chacobar she can buy?

A) 20 B) 24
C) 26 D) 28
 
Answer & Explanation Answer: A) 20

Explanation:

Let the total amount be 200 {L.C.M of 40 and 50}

Chacobar C.P. = 200/50 = 4

Fivestar C.P = 200/40 = 5

Remaining Money after petrol = [200 - 200×10%] = 180

Remaining money after buying fivestars = [180 - 20×5] = 80

So number of Chacobar she can buy = 80/4 = 20

Report Error

View Answer Report Error Discuss

17 3958