Database Administration Questions


Q:

Explain what is injector ?

Answer

1.  An injector is a service locator.
2.  It is used to retrieve object instances as defined by provider, instantiate types, invoke methods and load modules.
3. There is a single injector per Angular application, it helps to look up an object instance by its name.

Report Error

View answer Workspace Report Error Discuss

3 3959
Q:

Change Active Voice to Passive Voice?

Active voice : Has he completed the work?

Answer

Passive Voice : Has the work been completed by him?


 


Rules in changing from Active voice to Passive voice :


1. Identify the subject, the verb and the object: S+V+O


2. Change the object into subject


3. Put the suitable helping verb or auxiliary verb


4. Change the verb into past participle of the verb


5. Add the preposition "by"


6. Change the subject into object.

Report Error

View answer Workspace Report Error Discuss

3 3935
Q:

Difference between Candidate key and Primary key?

Answer

Candidate Key – A Candidate Key can be any column or a combination of columns that can qualify as unique key in database. There can be multiple Candidate Keys in one table. Each Candidate Key can qualify as Primary Key. 


Primary Key – A Primary Key is a column or a combination of columns that uniquely identify a record. Only one Candidate Key can be Primary Key.






        • One needs to be very careful in selecting the Primary Key as an incorrect selection can adversely impact the database architect and future normalization. For a Candidate Key to qualify as a Primary Key, it should be Non-NULL and unique in any domain.




Report Error

View answer Workspace Report Error Discuss

6 3931
Q:

What is silly window syndrome?

Answer

It is a problem that can ruin TCP performance. This problem occurs when data are passed to the sending TCP entity in large blocks, but an interactive application on the receiving side reads 1 byte at a time.

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Database Administration

0 3910
Q:

Which State Government has approved one per cent reservation for orphans in government jobs under general category?

A) Haryana B) Maharashtra
C) Madhya Pradesh D) Uttar Pradesh
 
Answer & Explanation Answer: B) Maharashtra

Explanation:
Report Error

View Answer Report Error Discuss

10 3898
Q:

Which alphabet is a tools?

A) X B) S
C) A D) Y
 
Answer & Explanation Answer: A) X

Explanation:

The letter 'X' resembles the same as the tool AXE in sounding.

 

Hence, the alphabet X is a tool.

Report Error

View Answer Report Error Discuss

6 3866
Q:

How many Teaspoons in a Tablespoon?

A) 4 B) 5
C) 2 D) 3
 
Answer & Explanation Answer: D) 3

Explanation:

Tablespoon > Teaspoon

In US & UK, 1 Tablespoon = 3 Teaspoons.

Report Error

View Answer Report Error Discuss

7 3855
Q:

What is the default return value of a function?

A) int B) char
C) string D) None of the above
 
Answer & Explanation Answer: A) int

Explanation:

The default return value from a function is int. In other words, unless explicitly specified the default return value by compiler would be integer value from function.

Report Error

View Answer Report Error Discuss

3 3853