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

Introduction To Database Questions and Answers

91.

What is a relationship called when it is maintained between two entities?

Answer: B

Correct answer: Binary

A relationship’s degree is the number of entity types it connects: binary for two, unary (recursive) for one entity type related to itself, ternary for three. Binary relationships are much the most common.

Please log in or register to report this question.

92.

Which of the following operations is used if we are interested in only certain columns of a table?

Answer: A

Correct answer: PROJECTION

Projection picks out columns - the vertical slice - and removes duplicate rows from the result. Selection is the horizontal counterpart, picking rows that satisfy a condition. In SQL, projection is the list after SELECT and selection is the WHERE clause.

Please log in or register to report this question.

93.

The RDBMS terminology for a row is

Answer: A

Correct answer: Tuple.

In relational terminology a row is a tuple, a column is an attribute, the table itself is a relation, the number of attributes is its degree and the number of tuples its cardinality.

Please log in or register to report this question.

94.

Which of the following is an advantage of view?

Answer: D

Correct answer: All of the above

A view gives all three. Security: users can be granted access to the view and not to the underlying table, so they see only certain rows or columns. Derived columns: a view can compute values that are not stored. Simplicity: a complex join can be defined once and then queried as though it were a single table.

Please log in or register to report this question.

95.

The users who use easy-to-use menu are called

Answer: B

Correct answer: Naïve users.

Naive (or parametric) users interact through a prepared interface - menus, forms, a screen with a few fields - and never write a query. A bank teller is the standard example. Sophisticated users write their own SQL; stand-alone users work with a personal database of their own.

Please log in or register to report this question.

96.

Which database level is closest to the users?

Answer: A

Correct answer: External

The three-level architecture runs external → conceptual → internal. The external level is closest to the user: each user group sees its own view of the data. The conceptual level is the whole database as one community picture, and the internal level describes how it is physically stored.

Please log in or register to report this question.

97.

Which are the two ways in which entities can participate in a relationship?

Answer: B

Correct answer: Total and partial

Participation is total when every entity of the set must take part in the relationship - every loan must have a borrower - and partial when only some need to. In an E-R diagram total participation is drawn with a double line.

Please log in or register to report this question.

98.

The result of the UNION operation between R1 and R2 is a relation that includes

Answer: C

Correct answer: All the tuples of R1 and R2

Union returns every tuple that appears in either relation, with duplicates removed. It requires the two to be union-compatible: the same number of attributes, with matching domains. The last option describes an intersection or a join, not a union.

Please log in or register to report this question.

99.

 A set of possible data values is called

Answer: D

Correct answer: Domain.

A domain is the set of permitted values for an attribute - the integers 0 to 100 for a mark, or a list of valid state codes. Constraining an attribute to its domain is the most basic form of integrity checking a DBMS does.

Please log in or register to report this question.

100.

Which of the operations constitute a basic set of operations for manipulating relational data?

Answer: C

Correct answer: Relational algebra

Relational algebra is the procedural set of basic operations - selection, projection, union, set difference, Cartesian product, and the joins and intersection derived from them. Relational calculus is the non-procedural counterpart: it describes what is wanted rather than how to compute it, and the two have equivalent expressive power.

Please log in or register to report this question.

Loading…
Tags: Introduction To Database Questions and Answers || Introduction To Database MCQ Questions and Answers || Introduction To Database GK Questions and Answers || Introduction To Database GK MCQ Questions || Introduction To Database Multiple Choice Questions and Answers || Introduction To Database GK || GK on Introduction To Database || Database Questions and Answers || Database MCQ Questions and Answers || Database GK Questions and Answers || GK on Database