Relational Database
Relational Database contains concept based questions of SQL, Database for Information Technology
Questions
Which of the following is/are not known as attribute type in a relation?
- Composite
- Single - valued
- Derived
- Unary
- Simple
In how many types the connectivity of a relationship can be classified?
- 8
- 6
- 4
- 5
- 3
Which of the following entity sets do not have a primary key?
- Composite entity set
- Weak entity set
- Strong entity set
- Derived entity set
- None of these
A relationship can be classified in terms of which of the following?
- Degree
- Connectivity
- Composition
- Both 1 and 3
- All of the above
What are the members of weak entity set called?
- Subordinate entity
- Dominant entity
- Compound entity
- Derived entity
- None of these
How many types of record based data models are there in database?
- 6
- 5
- 4
- 3
- 2
P : Foreign key cannot have a null value.
Q : Primary key and foreign key can exist in same relation.
R : Foreign key relation is known as target relation.
Which of the given statements are true?
- Q only
- P only
- Both P and Q
- Both P and R
- R only
P : Total number of tuples at any one time is known as degree of a relation.
Q : Total number of columns that comprise a relation is known as cardinality of a relation.
R : Restrictions can be applied on the value of attributes.
Which of the given statements is/are correct?
- Both P and Q
- R only
- None of these
- All of these
- Both P and R
How many types of attributes are there in relational database?
- 6
- 5
- 4
- 3
- None of these
How many types of data models are present in DBMS?
- 5
- 4
- 3
- 2
- None of these
Which of the following operations is/are unary operations?
- Union
- Selection
- Projection
- Both 2 and 3
- All of these
How many types of keys are there in relational database?
- 9
- 7
- 8
- 6
- None of these
P : Candidate key cannot be null.
Q : If the primary key is composed of more than one attribute, then these attributes are known as super attributes.
R : All the candidate keys can be primary key.
Which of the given statements is/are correct?
- P only
- Both P and Q
- Both P and R
- Both Q and R
- All of these
Which of the following operations is/are known as binary operations?
- Intersection
- Cartesian product
- Difference
- Both 2 and 3
- All of these
What are the members of strong entity set called?
- Dominant entity
- Derived entity
- Subordinate entity
- Composite entity
- None of these