PREMIUM
Join our WhatsApp Channel
Daily MCQs, Past Papers & Jobs for PPSC, FPSC, CSS
Daily MCQs • Past Papers • Jobs for PPSC, FPSC, CSS
Join Channel

What is a set of possible data values called?

A. Tuple
B. Degree
C. Attribute
D. Domain
Correct Answer: D. Domain

Correct answer: Domain. A set of possible data values is called a domain.

Background: In a database, the domain of an attribute is the set of all values that attribute is allowed to take.

  • Tuple: A tuple is a single row of a table, not a set of possible values.
  • Degree: Degree is the number of attributes in a table.
  • Attribute: An attribute is a column of a table, not its set of possible values.

Did you know? For example, the domain of a gender attribute might be the set containing Male and Female.

Memory trick: Domain means the allowed values, so link domain with the set of values.

0 comments

Leave a Reply

Join Our WhatsApp Channel ×