2
Student ID Last Name First Name Gender Attendance Punctualit y P1 Adams Megan F 100% 96% P2 Ali Raza M 95% 98% P3 Jones Timothy M 89% 93% P4 Smith Winston M 98% 97% P5 Williams Sally F 87% 100% 1. State which of the fields is the most likely to be the primary key and explain and your answer. Student ID 2. At certain times during the year, a teacher run queries to find out if any students have low levels of attendance, punctuality or both. State the Student ID of all records the would fit the following criteria: a. Attendance = 100 P1 b. Attendance <95 AND punctuality <95 P3 c. Attendance <95 OR punctuality <95 P3, P5 3. What criteria would be used to find all female students with 90% attendance Gender, First Name, Last Name, Attendance 4. Explain what is meant by the term DBMS A database management system (DBMS) is a collection of programs that enables you to store, modify, and extract information

Database questions

Embed Size (px)

Citation preview

Page 1: Database questions

Student ID Last Name First Name Gender Attendance Punctuality

P1 Adams Megan F 100% 96%

P2 Ali Raza M 95% 98%

P3 Jones Timothy M 89% 93%

P4 Smith Winston M 98% 97%

P5 Williams Sally F 87% 100%

1. State which of the fields is the most likely to be the primary key and explain and your answer.

Student ID

2. At certain times during the year, a teacher run queries to find out if any students have low levels of attendance, punctuality or both. State the Student ID of all records the would fit the following criteria:

a. Attendance = 100

P1

b. Attendance <95 AND punctuality <95

P3

c. Attendance <95 OR punctuality <95

P3, P5

3. What criteria would be used to find all female students with 90% attendance

Gender, First Name, Last Name, Attendance

4. Explain what is meant by the term DBMS

A database management system (DBMS) is a collection of programs that enables you to store, modify, and extract information from a database. There are many different types of database management systems, ranging from small systems that run on personal computers to huge systems that run on mainframes.

Page 2: Database questions

5. Give an example of how each of the following might be used in a register system at a secondary school

a. Form

To input data about a student

b. Report

To display a certain kind of information about a student e.g. Age

c. Query

To display a certain kind of information about a student e.g. Age. But this is more user friendly