More Classes
5th Class
6th Class
7th Class
8th Class
9th Class
10th Class
11th Class
12th Class
NAT I
NAT II
CSS
IQ
General Knowledge
MDCAT
ECAT
GAT General
GAT Subject
Other Links
Go to Home
Online Tests
CS-403 Final Term Exams Preparation Virtual University MCQs With Answers
Question # 1
Select the correct statement among the following on proper naming of schema constructs:
Choose an answer
Entity type name applies to all the entities belonging to that entity type and therefore a plural name is selected for entity type.
In the narrative description of the database requirements, verbs tend to indicate the names of relationship types.
The nouns arising from a database requirement description can be considered as names of attributes.
Additional nouns which are appearing in the narrative description of the database requirements represent the weak entity type names.
Previous
Skip
Next
Question # 2
Which of the following constraints enforces referential integrity?
Choose an answer
FOREIGN KEY
CHECK
PRIMARY KEY
UNIQUE
Previous
Skip
Next
Question # 3
Select the correct statement among the following.
Choose an answer
Role names are not technically necessary in relationship types when all the participating entity types are distinct
When different entity types participate only once in a single relationship type it is called a recursive relationship.
Cardinality ratios for binary relationship are displayed on Entity Relationship Diagrams by using a diamond shape notation.
Partial participation which is also called existence dependency is displayed as a double line connecting the participating entity type to the relationship.
Previous
Skip
Next
Question # 4
Which of the following is INCORRECT statement concerning the database design process?
Choose an answer
During requirements collection and analysis phase, one can gather the data requirements of database users.
By referring to a high level data model, it is possible to understand the data requirements of the users, entity types, relationships and constraints.
Transformation of the high level data model into the implementation data model is called logical design or data model mapping
During the logical design phase of internal storage structures, access paths and file organization for the database files are specified.
Previous
Skip
Next
Question # 5
Which of the following is true about NOT NULL constraint?
Choose an answer
enforce domain integrity
limit the values that can be placed in a column
prevents any actions that would destroy links between tables with the corresponding data values
enforces the uniqueness of the values in a set of columns
Previous
Skip
Next
Question # 6
The ____ constraint specifies whether each entity supertype occurrence must also be a member of at least one subtype
Choose an answer
specialization
uniqueness
inheritance
completeness
Previous
Skip
Next
Question # 7
Which of the following is disadvantage of chaining technique to handle the collisions?
Choose an answer
Unlimited Number of elements
Fast re-hashing
Overhead of multiple linked lists
Maximum number of elements must be known
Previous
Skip
Next
Question # 8
If W, X, Y and Z are attributes of a relation, which of the following inference rules for functional dependencies is correct?
Choose an answer
If (X, Z) -> Y then X -> Y and Z -> Y.
If X -> Y and X -> Z then X -> (Y, Z)
If XY then Y -> X
If X -> Y then (X, Z) -> (Y,W).
Previous
Skip
Next
Question # 9
Which of the following functions are NOT performed by a database administrator?
Choose an answer
Planning, designing and implementing database systems
Establishing standards and procedures for database systems
Communicating with database users
Allocation of storage locations and data structures
Previous
Skip
Next
Question # 10
Identify the correct statement.
Choose an answer
Referential integrity constraints check whether the primary key values are unique
Referential integrity constraints check whether an attribute value lies in the given range
Referential integrity constraints are specified between entities having recursive relationships
When Referential integrity rules are enforced, a tuple in one relation that refers to another relation must refer to an existing tuple.
Previous
Skip
Next
Question # 11
Only one type of constraint can be enforced in any table by CREATE command
Choose an answer
True
False
Not Sure
Previous
Skip
Next
Question # 12
Select 'NORTH', CUSTOMER From CUST_DTLS Where REGION = 'N' Order By CUSTOMER Union Select 'EAST', CUSTOMER From CUST_DTLS Where REGION = 'E' Order By CUSTOMER The above statement
Choose an answer
Has an error - the string should be in double quotes
Has an error - ORDER BY clause.
Does not have an error.
Has an error - the string in single quotes 'NORTH' and 'SOUTH'.
Previous
Skip
Next
Question # 13
Which of the following is true for the relational model?
Choose an answer
Degree of a relation is the number of rows in a relation
Null value is a blank or zero value given to an attribute value when its value is inapplicable or its value is unknown
Complex key is a key consisting of more than one attribute.
Constraint is a rule that restricts the values in a database.
Previous
Skip
Next
Question # 14
Which of the following is not true with respect to denormalization ?
Choose an answer
A denormalized data model is not the same as a data model that has not been normalized
Denormalization takes place before the normalization process
It is an attempt to optimize the performance of database
Denormalization process can not be initiated before the Database design
Previous
Skip
Next
Question # 15
Which of the following is used to add or drop columns in an existing table?
Choose an answer
ALTER
HAVING
SELECT
THEN
Previous
Skip
Next
Back