Machine-translated by Google. Questions are authored in English.
Top

Database Management System Questions and Answers

151.

DBMS is a collection of _____ that enables user to create and maintain a database.

Answer: B

Correct answer: Whenever a 1 is present at an input

NOR is the complement of OR. OR is 1 as soon as any input is 1, so NOR is 0 in that case, and it is 1 only when every input is 0.

Please log in or register to report this question.

152.

Immediate database modification technique uses

Answer: A

Correct answer: Both undo and redo

With immediate modification a transaction's writes reach the database before it commits, so an uncommitted transaction's changes must be undone after a crash, and a committed transaction's changes that had not yet reached disk must be redone. Deferred modification needs redo only, since nothing is written before commit.

Please log in or register to report this question.

154.

Processed data is called _____

Answer: C

Correct answer: Information

Data are raw facts; once they have been organised, summarised or interpreted so that they mean something, they are information. That is the distinction on which the whole subject rests.

Please log in or register to report this question.

155.

Assume transaction A holds a shared lock R. If transaction B also requests for a shared lock on R.

Answer: C

Correct answer: It will immediately be granted.

Shared locks are compatible with one another, since reading does not interfere with reading. B would have to wait only if A held an exclusive lock or if B were asking for one.

Please log in or register to report this question.

Answer: A

Correct answer: Create table Employee(EMPNO int, EMPNAME char(10));

A ten-character column is declared char(10); String is not an SQL type and a bare string has no length. The table must also be named as the question specifies, which rules out the options calling it Emplo or Emp.

Please log in or register to report this question.

157.

In a relational schema, each tuple is divided into fields called

Answer: A

Correct answer: Domains

A relation is defined over a set of attributes, each drawn from a domain - the set of permitted values for that field. So the fields into which a tuple divides correspond to the domains of the relation. Relations are the tables themselves, one level up.

Please log in or register to report this question.

Answer: D

Correct answer: both B and C

Data independence has two halves: physical independence means programs do not depend on how the data is stored, and logical independence means they survive changes to the logical structure. Both are meant by the term, which is why the two options are taken together.

Please log in or register to report this question.

159.

Which of the following is not a consequence of non-normalized database?

Answer: D

Correct answer: Lost update problem

Update anomalies, insertion anomalies and redundancy are all consequences of a badly normalised design and would appear with a single user. The lost update problem arises from two transactions running at the same time, which is a concurrency issue.

Please log in or register to report this question.

160.

According to the levels of abstraction, the schema at the intermediate level is called

Answer: D

Correct answer: Logical schema.

The three levels of abstraction are physical at the bottom, logical in the middle and external, or view, at the top. The logical schema describes the whole database as tables and relationships without saying how it is stored.

Please log in or register to report this question.

Loading…
Tags: Database Management System Questions and Answers || Database Management System MCQ Questions and Answers || Database Management System GK Questions and Answers || Database Management System GK MCQ Questions || Database Management System Multiple Choice Questions and Answers || Database Management System GK || GK on Database Management System || Computer Awareness Questions and Answers || Computer Awareness MCQ Questions and Answers || Computer Awareness GK Questions and Answers || GK on Computer Awareness