Database Management Systems
Questions 111 to 120
111.
|
Which of
the following SQL aggregate function gives the number of rows containing not
null values for the given column?
|
||||||||||||||||||||||||||||||||||||||
“One
disadvantage of index schemes in file organizations is that an index must be accessed and
read to locate records. In order to
eliminate the need for maintaining and searching indexes, the method can be used as a method of direct record
addressing.”
Find the
appropriate option which fills in the blanks with suitable terms for (i) and
(ii).
|
|||||||||||||||||||||||||||||||||||||||
A
Relational operator that yields all possible pairs of rows from two tables is
known as a/an
|
|||||||||||||||||||||||||||||||||||||||
The following are the three language components
of a database management system (DBMS).
I. Data
Definition Language (DDL).
II. Sub-schema
DDL.
III. Data
Manipulation Language (DML).
Two different types of people (users and
practioners) are concerned with them. Which of them do users of a DBMS
usually deal with?
|
|||||||||||||||||||||||||||||||||||||||
In the
ANSI/SPARC
three level database model, the external view is best described by which of
the following options?
|
|||||||||||||||||||||||||||||||||||||||
Match
each term in Column A with the most appropriate definition in Column B.
|
|||||||||||||||||||||||||||||||||||||||
Which of
the following set of operations represent a complete set of relational
algebra operations?
|
|||||||||||||||||||||||||||||||||||||||
The
following output is to be generated:
Which of
the following would produce the above output?
|
|||||||||||||||||||||||||||||||||||||||
The
referential integrity rule requires that ________.
|
|||||||||||||||||||||||||||||||||||||||
The lock
that prevents the use of any tables in the database from one transaction
while another transaction is being processed is
|
Answers
111.
|
Answer : (b)
Reason : Count function gives the number of rows containing not
null values for the given column.
|
Answer : (b)
Reason : (i) indexed Sequential (ii) hashing.
|
|
Answer : (e)
Reason : product
is the Relational operator that yields all possible pairs of rows from two
tables.
|
|
Answer : (b)
Reason : The
users and practioners are concerned with only Data manipulation language
component of DBMS.
|
|
Answer : (c)
Reason : It
is the place where the users interface to the DBMS.
|
|
Answer : (a)
Reason : (P)→(iii),
(Q)→(i), (R)→(ii), (S)→(iv)
|
|
Answer : (a)
Reason : {
σ, π, U } are the sets of operations which
represent a complete set of relational algebra operations.
|
|
Answer : (c)
Reason : π (Employee) U π Employee Fname,
Minit, Ssn, Sex, SupperSsn, Dno Salary
|
|
Answer : (d)
Reason : The
basic requirement of referential integrity is that every
non-null foreign key value reference an existing primary key value.
|
|
Answer : (a)
Reason : Data base-level lock prevents the use of any tables in
the database from one transaction while other transaction is being processed.
|
No comments :
Post a Comment