Databases Nat 5

Databases Nat 5

Assessment

Quiz

Computers

8th - 12th Grade

Practice Problem

Medium

Created by

Chris Meechan

Used 42+ times

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What field type would be used to store the the following phone number 07845774415

Text

Number

Time/Date

String

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following statements is TRUE?

A Primary Key needs to be a number.

A Primary Key needs to already exist in another table.

A Primary Key needs to be unique for each record.

A Primary Key needs to be AutoNumber.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which of the following fields should be used as the Primary Key in this entity?

FilmName

FilmID

AverageRating

Director

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which of these queries would display the name of all the films directed by Steven Spielberg?

SELECT Director, YearReleased

FROM Films

WHERE Director="Steven Spielberg"

SELECT FilmName, Director

FROM Director

WHERE Director="Steven Spielberg"

SELECT FilmName, Director

FROM Films

WHERE Director="Steven Spielberg"

SELECT FilmName, Director

FROM Films

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

How is the table being sorted?

YearReleased Ascending

AverageRating Descending

AverageRating Ascending

FilmName Ascending

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is referential integrity?

Ensuring the foreign key exists as a primary key before it can be used.

Ensuring the primary key exists as a foreign key before it can be used.

Ensuring the integrity of the database is upheld by validating all the entered data.

Ensuring that the referenced type of validation is carried out on the specified data.

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What kind of validation fits this description: Provides a list of options for the user to choose from.

Presence Check

Field Length Check

Restricted Choice

Range Check

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?