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

Database Management System Questions and Answers

21.

Which of the following is not a logical database structure?
 

Answer: A

Correct answer: Chain

The three logical database structures are hierarchical (tree), network and relational. A chain is a way of linking records physically, not a logical model of the data.

Please log in or register to report this question.

23.

______is a preferred method for enforcing data integrity
 

Answer: A

Correct answer: Constraints

Constraints are declared as part of the table definition, so the DBMS itself enforces them on every operation and no path can bypass them. A trigger can enforce a rule too, but it is code that has to be written correctly and runs after the fact.

Please log in or register to report this question.

25.

The relational model is based on the concept that data is organized and stored in two-dimensional tables called ______
 

Answer: C

Correct answer: Relations

The relational model stores data in two-dimensional tables called relations, whose rows are tuples and columns attributes. The name comes from the mathematical relation, a set of tuples over given domains.

Please log in or register to report this question.

26.

______ keyword is used to find the number of values in a column.

Answer: C

Correct answer: COUNT

COUNT returns the number of values; SUM adds them. The distinction matters because \( \text{COUNT}(column) \) counts only the non-null values, while \( \text{COUNT}(*) \) counts rows.

Please log in or register to report this question.

27.

______contains information that defines valid values that are stored in a column or data type.
 

Answer: B

Correct answer: Rule

A rule is bound to a column or a user-defined data type and specifies which values are acceptable there. A default supplies a value when none is given, and an index affects only how rows are found.

Please log in or register to report this question.

Answer: C

Correct answer: data is integrated and can be accessed by multiple programs

The point of the database approach is that data is held once, in one place, and shared: many programs read the same integrated store instead of each keeping its own file. Redundancy falls rather than rises, and the data becomes independent of the programs.

Please log in or register to report this question.

29.

Which of the syntax is correct for insert statement? 
i) insert into values 
ii) insert into (column list) values
 

Answer: C

Correct answer: Both of them

Both forms are valid. Naming the columns explicitly is safer, because the statement then does not depend on the order in which the columns were defined; omitting the list requires a value for every column in table order.

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