Relational Database

Relational Database contains concept based questions of SQL, Database for Information Technology

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following is/are not known as attribute type in a relation?

  1. Composite
  2. Single - valued
  3. Derived
  4. Unary
  5. Simple
Question 2 Multiple Choice (Single Answer)

In how many types the connectivity of a relationship can be classified?

  1. 8
  2. 6
  3. 4
  4. 5
  5. 3
Question 3 Multiple Choice (Single Answer)

Which of the following entity sets do not have a primary key?

  1. Composite entity set
  2. Weak entity set
  3. Strong entity set
  4. Derived entity set
  5. None of these
Question 4 Multiple Choice (Single Answer)

A relationship can be classified in terms of which of the following?

  1. Degree
  2. Connectivity
  3. Composition
  4. Both 1 and 3
  5. All of the above
Question 5 Multiple Choice (Single Answer)

What are the members of weak entity set called?

  1. Subordinate entity
  2. Dominant entity
  3. Compound entity
  4. Derived entity
  5. None of these
Question 6 Multiple Choice (Single Answer)

How many types of record based data models are there in database?

  1. 6
  2. 5
  3. 4
  4. 3
  5. 2
Question 7 Multiple Choice (Single Answer)

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?

  1. Q only
  2. P only
  3. Both P and Q
  4. Both P and R
  5. R only
Question 8 Multiple Choice (Single Answer)

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?

  1. Both P and Q
  2. R only
  3. None of these
  4. All of these
  5. Both P and R
Question 9 Multiple Choice (Single Answer)

How many types of attributes are there in relational database?

  1. 6
  2. 5
  3. 4
  4. 3
  5. None of these
Question 10 Multiple Choice (Single Answer)

How many types of data models are present in DBMS?

  1. 5
  2. 4
  3. 3
  4. 2
  5. None of these
Question 11 Multiple Choice (Single Answer)

Which of the following operations is/are unary operations?

  1. Union
  2. Selection
  3. Projection
  4. Both 2 and 3
  5. All of these
Question 12 Multiple Choice (Single Answer)

How many types of keys are there in relational database?

  1. 9
  2. 7
  3. 8
  4. 6
  5. None of these
Question 13 Multiple Choice (Single Answer)

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?

  1. P only
  2. Both P and Q
  3. Both P and R
  4. Both Q and R
  5. All of these
Question 14 Multiple Choice (Single Answer)

Which of the following operations is/are known as binary operations?

  1. Intersection
  2. Cartesian product
  3. Difference
  4. Both 2 and 3
  5. All of these
Question 15 Multiple Choice (Single Answer)

What are the members of strong entity set called?

  1. Dominant entity
  2. Derived entity
  3. Subordinate entity
  4. Composite entity
  5. None of these