Database Administration Questions


Q:

Which of the following is the largest unit of information?

A) 1 TB B) 1 GB
C) 1 MB D) 1 KB
 
Answer & Explanation Answer: A) 1 TB

Explanation:

1 TB  >  1 GB  >  1 MB  >  1 KB

 

1 Tb (Tera Byte) = 1024 GB

 

1 GB (Giga Byte) = 1024 MB

 

1 MB (Mega Byte) = 1024 KB

 

1 KB (Kilo Byte) = 1024 Bytes

 

1 Byte = 8 Bit

 

Hence, largest unit of information is TB (Tera Byte) and smallest unit of information is Bit.

 

Report Error

View Answer Report Error Discuss

4 3343
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 3340
Q:

What is an error-first callback ?

Answer

Error-first callbacks are used to pass errors and data as well. You have to pass the error as the first parameter, and it has to be checked to see if something went wrong. Additional arguments are used to pass data.


 


fs.readFile(filePath, function(err, data) {
if (err) {
// handle the error, the return is important here
// so execution stops here
return console.log(err)
}
// use the data object
console.log(data)
})

Report Error

View answer Workspace Report Error Discuss

2 3329
Q:

Google has introduced a new app named what that allows anybody to submit stories for and about their communities?

A) Bulletin B) Allo
C) FastRead D) Google Express
 
Answer & Explanation Answer: A) Bulletin

Explanation:
Report Error

View Answer Report Error Discuss

2 3327
Q:

What words are similar in meaning to Run?

A) Race B) Amble
C) Lope D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

All of the options given are synonyms of RUN.

 

Hence, Race, Amble, Lope are similar in meaning to the word Run.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , Database Administration , IT Trainer

2 3322
Q:

How fast do satellites orbit the earth?

A) 28,000 kmph B) 26,000 kmph
C) 17,500 kmph D) 22,500 kmph
 
Answer & Explanation Answer: A) 28,000 kmph

Explanation:

Satellites orbit the earth at a speed of 28,000 kmph.

Satellites that are further away actually travel slower. The International Space Station has a Low Earth Orbit, about 400 kilometers (250 miles) above the earth's surface. Objects orbiting at that altitude travel about 28,000 kilometers per hour (17,500 miles per hour).

Report Error

View Answer Report Error Discuss

5 3321
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 3320
Q:

Makaibari is the costliest variety of what?

A) Coffee B) Pepper
C) Tea D) Water
 
Answer & Explanation Answer: C) Tea

Explanation:

Makaibari is the world's first tea factory and was established in 1859 in Darjeeling, West Bengal. 

 

It is most expensive tea in India which costs around 1.12 lakhs for 1 kg of tea.

 

Hence, Makaibari is the costliest variety of Tea.

Report Error

View Answer Report Error Discuss

6 3314