ER Model & Relational Algebra

JKSSB Sub-Inspector (Telecommunication) · Database Management Systems · 18 practice questions with answers and explanations: 10 Easy, 8 Medium, 0 Hard.

Sample questions

Sample Easy question 1

What does the cardinality of a relation mean?

  1. The number of relationships
  2. The number of tuples (rows)
  3. The number of attributes
  4. The number of foreign keys
Show answer

Answer: B. Cardinality counts the tuples in a relation.

Sample Easy question 2

In relational algebra, which symbol denotes selection?

  1. ⋈ (join)
  2. σ (sigma)
  3. π (pi)
  4. ∪ (union)
Show answer

Answer: B. σ selects rows that satisfy a condition.

Sample Easy question 3

In relational algebra, which operator picks specific columns?

  1. − (difference)
  2. π (projection)
  3. × (Cartesian product)
  4. σ (selection)
Show answer

Answer: B. π projects chosen attributes and removes duplicates.

Sample Medium question 4

A relationship in which one department has many employees but each employee belongs to one department is:

  1. One-to-one (1:1)
  2. Zero-to-zero
  3. Many-to-many (M:N)
  4. One-to-many (1:N)
Show answer

Answer: D. One department maps to many employees.

Sample Medium question 5

How is a many-to-many relationship usually implemented in a relational database?

  1. With a separate junction (linking) table
  2. With a single column
  3. By merging both tables
  4. It cannot be implemented
Show answer

Answer: A. The junction table holds the foreign keys of both entities.

Sample Medium question 6

What is a weak entity?

  1. An entity that has no key of its own and depends on a strong entity
  2. An entity that holds no data
  3. An entity with no attributes
  4. An entity with alone one row
Show answer

Answer: A. A weak entity is identified by its owner entity together with a partial key.

More Database Management Systems topics for JKSSB Sub-Inspector (Telecommunication)

Related articles