Database Administration 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 4566
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 4559
Q:

Breaking of relationships is allowed once referential integrity on a database is enforced

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

Explanation:

Breaking of relationships is prevented once referential integrity on a database is enforced

Report Error

View Answer Workspace Report Error Discuss

0 4556
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 4548
Q:

IF YOU HAVE ME, YOU WANT TO SHARE ME. IF YOU SHARE ME, YOU HAVEN'T GOT ME. WHAT AM I?

Answer

A Secret is what you want to share if you have with you. And if you share that secret with anyone, then secret will not be with you only.

Report Error

View answer Workspace Report Error Discuss

24 4547
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 4481
Q:

A caribbean shape that makes ships disappear

A) Square B) Triangle
C) Circle D) Pentagon
 
Answer & Explanation Answer: B) Triangle

Explanation:

The triangle is a caribbean shape that makes ships disappear.

 

A_caribbean_shape_that_makes_ships_disappear1558074852.jpg image

Report Error

View Answer Report Error Discuss

1 4473
Q:

Sravan drove from home to a neighboring town at the speed of 50 km/h and on his returning journey, he drove at the speed of 45 km/h and also took an hour longer to reach home. What distance did he cover?

A) 350 kms B) 450 kms
C) 900 kms D) 700 kms
 
Answer & Explanation Answer: C) 900 kms

Explanation:

Let the distance he covered each way = d kms

According to the question,

d/45 - d/50 = 1

=> d = 450 kms.

 

Hence, the total distance he covered in his way = d + d = 2 d = 2 x 450 = 900 kms.

Report Error

View Answer Report Error Discuss

14 4413