Database Administration Questions


Q:

A column defined as UNIQUE can contain Nulls while a column defined as PRIMARY KEY can't contain Nulls

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

Because a table can have only one primary key

Report Error

View Answer Workspace Report Error Discuss

1 4161
Q:

The shorter i am, the bigger i am.

What am I?

Answer

A Temper.

Report Error

View answer Workspace Report Error Discuss

8 4120
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 4101
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 4081
Q:

Which layer 4 protocol is used for a Telnet connection?

A) UDP B) IP
C) TCP D) TCP/IP
 
Answer & Explanation Answer: C) TCP

Explanation:

Telnet uses TCP at layer 4. It uses IP at layer 3. We know that Telnet uses TCP/IP protocol, but in the question, it is asked specifically at layer 4 what is used in Telnet. So it is TCP at layer4 and IP at layer 3.

Report Error

View Answer Report Error Discuss

0 4074
Q:

What word begins and ends with an E but only has one letter?

A) Eye B) Envelope
C) Both A & B D) None of the above
 
Answer & Explanation Answer: B) Envelope

Explanation:

Envelope is a letter holder for one letter and in the question it mean that it holds one letter. Eye is also a word which starts and end with E but has one letter in the middle.

Report Error

View Answer Report Error Discuss

3 4055
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 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