Use Table 1 to answer the following question.


Table 1: TableStudent
 

 Reg No  House

 Age

 18/001  Yellow  14
 18/002  Blue  15
 18/003  Yellow  15

The attributes in Table 1 are

 

A.

Yellow, Blue, Yellow

B.

14, 15, 15

C.

Reg. No, House, Age

D.

18/001, 18/002, 18/003

Correct answer is C

The attributes in Table 1 are Reg. No, House, and Age.

An attribute is a single piece of data about an entity. In Table 1, each row represents a student entity. The Reg. No, House, and Age columns represent the attributes of the student entity.

The values in the Reg. No column are unique, so the Reg. No column is the primary key of the table. The House and Age columns are not unique, so they cannot be used as primary keys.

The other values in the table are the data for the attributes. For example, the value "18/001" in the Reg. No column is the data for the Reg. No attribute of the first student entity.