Database Administration Questions


Q:

What place is designated as 0 degrees longitude?

A) Greenwich B) Prime meridian
C) Tibet D) Norway
 
Answer & Explanation Answer: A) Greenwich

Explanation:

The place which is designated as 0 degrees longitude is Greenwich, England.

Report Error

View Answer Report Error Discuss

1 3406
Q:

What is immutable object? Can you write immutable object ?

Answer

Immutable classes are Java classes whose objects can not be modified once created. Any modification in Immutable object result in new object. For example is String is immutable in Java. Mostly Immutable are also final in Java, in order to prevent sub class from overriding methods in Java which can compromise Immutability. You can achieve same functionality by making member as non final but private and not modifying them except in constructor.

Report Error

View answer Workspace Report Error Discuss

3 3405
Q:

In each question given below four conclusions are followed by statements. You have to take the three given statements to be true (even if they seem to be at variance from the commonly known facts). Read the conclusions and decide which of the following set of statement indicate that conclusion is logically follows.

Statements :
1. All chairs are tents.

2. No chairs is jugs.

3. No jugs is glasses.

4. No glasses is pots.

Conclusions :
I. All pots are tents.

II. All glasses are chair.

III. Some jugs are tents.

A) Only conclusion I follows B) Both conclusion II & III follows
C) None follows D) Only conclusion II follows
 
Answer & Explanation Answer: C) None follows

Explanation:
Report Error

View Answer Report Error Discuss

5 3394
Q:

A UPS connects your computer and a power source.

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

Explanation:

A UPS (Uninterruptible Power Supply) is a device that provides battery backup when the electrical power fails or drops to an unacceptable voltage level.


Related image


Small UPS systems provide power for a few minutes; enough to power down the computer in an orderly manner, while larger systems have enough battery for several hours.

Report Error

View Answer Workspace Report Error Discuss

1 3388
Q:

Which key is used for the last action?

A) Ctrl + D B) Alt + Z
C) Ctrl + Z D) Alt + D
 
Answer & Explanation Answer: C) Ctrl + Z

Explanation:

For undo the action or last action [Ctrl + Z] is used.

Report Error

View Answer Report Error Discuss

7 3388
Q:

The time complexity of sequential search is

A) O(n) B) O(2n)
C) O(n^2) D) None
 
Answer & Explanation Answer: A) O(n)

Explanation:

The time complexity of sequential search is O(n)

Report Error

View Answer Report Error Discuss

Filed Under: Database
Job Role: Database Administration

0 3376
Q:

The difference between the present ages of Avanthi and Kapil is 9 years. After 7 years, Kapil’s age is twice of Avanthi’s age. What will be Kapil’s age after 4 years?

A) 15 B) 16
C) 18 D) 20
 
Answer & Explanation Answer: A) 15

Explanation:

Let the present ages of Kapil and Avanthi be K & A

Given difference in their ages = K - A = 9 years ...........(1)

After 7 years, K + 7 =  2(A + 7) ......(2)

K + 7 = 2A + 14

K - 2A = 7 ............(3)

K - A = 9 ....(1)

From (1) & (3),

-A = -2

=> A = 2 years

=> K = 9 + 2 = 11 years

 

Required, age of Kapil after 4 years = 11 + 4 = 15 years.

Report Error

View Answer Report Error Discuss

3 3365
Q:

A man and his son are in a terrible accident and are rushed to the hospital in critical care. The doctor looks at the boy and exclaims "I can't operate on this boy, he's my son!" How could this be?

Answer

This is only possible when that doctor is boy's mother.

Report Error

View answer Workspace Report Error Discuss

15 3360