IT Trainer Questions


Q:

A relational database developer refers to a record as

A) a relation B) an attribute
C) a criteria D) a tuple
 
Answer & Explanation Answer: D) a tuple

Explanation:

A relational database developer refers to a record as a tuple.

Report Error

View Answer Report Error Discuss

41 20405
Q:

How many constructors can a class have?

A) 1 B) 2
C) 4 D) None of the above
 
Answer & Explanation Answer: D) None of the above

Explanation:

A class can have any number of constructors. If a class have more than one constructor, we call it as the constructor is overloaded.

Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: Database Administration , IT Trainer

17 20232
Q:

Which motherboard form factor uses one 20 pin connector?

A) Baby AT B) AT
C) ATX D) All the above
 
Answer & Explanation Answer: C) ATX

Explanation:

ATX (Advanced Technology extended) is a motherboard form factor uses one 20 pin connector.

 

ATX is developed by Intel in 1995 to improve on previous de facto standards like the AT form factor. It was the first major change in desktop computer enclosure, motherboard, and power supply design in many years, improving standardization and interchangeability of parts.

Report Error

View Answer Report Error Discuss

40 19904
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

16 19894
Q:

The number of ways in which 8 distinct toys can be distributed among 5 children?

A) 5P8 B) 5^8
C) 8P5 D) 8^5
 
Answer & Explanation Answer: B) 5^8

Explanation:

As the toys are distinct and not identical,

For each of the 8 toys, we have three choices as to which child will receive the toy. Therefore, there are 58 ways to distribute the toys.

 

Hence, it is 58 and not 85.

Report Error

View Answer Report Error Discuss

Filed Under: Permutations and Combinations
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

16 19782
Q:

How is Radha's mother's mother's daughter-in-law's daughter related to Radha?

A) Sister-in-law B) Sister
C) Neice D) Aunt
 
Answer & Explanation Answer: A) Sister-in-law

Explanation:

Radha ----> Radha's mother ------> Mother's mother => Radha's Grand-mother.

 

Radha's Grand-mother's daughter-in-law ------> Radha's Aunt -----> Radha's Aunt's daughter => Radha's sister-in-law.

Report Error

View Answer Report Error Discuss

53 19466
Q:

Book is to chapter as organization is to

Answer

A book is consists of various chapters, so as the Organization consists of various departments. Therefore if Book is to chapter so organization is to department.


 


Hence, Book : Chapter :: Organisation : Department.

Report Error

View answer Workspace Report Error Discuss

16 19266
Q:

A world wide web contains web pages

A) residing in many computers linked together using HTML. B) with links to other web pages.
C) residing in many computers. D) created using HTML.
 
Answer & Explanation Answer: A) residing in many computers linked together using HTML.

Explanation:

A_world_wide_web_contains_web_pages1551768792.jpg image

A world wide web contains web pages residing in many computers linked together using HTML.

Report Error

View Answer Report Error Discuss

27 19260