Practice free →
HomeGATE CSEcomputerscienceDatabase Management Systems › A student's grade earned in a particular course …

A student's grade earned in a particular course is best modelled as

Aan attribute of the enrolls relationship between Student and Course
Ban attribute of the Student entity, since the student earned it
Can attribute of the Course entity, since the course assigned it
Da separate weak entity with grade as the only attribute
Answer & Solution
Correct answer: A. an attribute of the enrolls relationship between Student and Course
Grade is meaningful only as 'this student in that course'. Storing it on Student is wrong (one student has many grades, one per course). Storing it on Course is wrong (the course has one grade per student, not one overall). It belongs to the enrolls relationship.
Solve this in the app — GATE CSE practice & 24k+ MCQs →
Related questions