ICT285 PASS Week 13

ICT285 PASS Week 13

University

10 Qs

quiz-placeholder

Similar activities

Data modelling

Data modelling

University

10 Qs

JavaScript

JavaScript

University

14 Qs

Risk Management

Risk Management

University

9 Qs

Internet Basics

Internet Basics

University

15 Qs

NORMALIZATION IN DM

NORMALIZATION IN DM

University

6 Qs

Relational Database Model

Relational Database Model

University

10 Qs

DBMS

DBMS

University

15 Qs

Database Management System

Database Management System

University

9 Qs

ICT285 PASS Week 13

ICT285 PASS Week 13

Assessment

Quiz

Computers

University

Medium

Created by

Jason Holloway

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

REORDER QUESTION

2 mins • 1 pt

CUSTOMER (CustomerNumber, CustomerName, DateOfBirth)

EMPLOYEE (EmployeeNumber, EmployeeName, DateOfBirth)

SALE (SaleID, CustomerNumber, EmployeeNumber, Cost)

What is the CustomerName for SaleID='1111'? Reorder the following steps.

PROJECT CustomerName (JOINED)

CUSTOMER* CUSTOMER.CUSTOMERNUMBER = SALE.CUSTOMERNUMBER RES_SALE

RESTRICT SaleID='1111' (SALE)

2.

REORDER QUESTION

2 mins • 1 pt

SALESPERSON(SPN, Name, StartYear, DeptNo)

TRIP(TripID, ToCity, DepartDate, ReturnDate, SPN)

EXPENSE(TripID, Account#, Amount)

Give the TripID for all trips by salesperson 'Steve'. Reorder the following steps.

RESTRICT Name='Steve' (SALESPERSON)

RES_SALE* RES_SALE.SPN = TRIP.SPN TRIP

PROJECT TripID (TRIP)

3.

REORDER QUESTION

2 mins • 1 pt

SALESPERSON(SPN, Name, StartYear, DeptNo)

TRIP(TripID, ToCity, DepartDate, ReturnDate, SPN)

EXPENSE(TripID, Account#, Amount)

Give the names of sales people that have NOT gone to Sydney. Reorder the following steps.

PROJECT Name (JOINED) -> ALL_SYD_NAMES

SALESPERSON* SALESPERSON.SPN = TRIPS_SYDNEY.SPN TRIPS_SYDNEY -> JOINED

PROJECT Name (SALESPERSON) -> ALL_NAMES

RESTRICT ToCity='Sydney' (TRIP) -> TRIPS_SYDNEY

ALL_NAMES MINUS ALL_SYD_NAMES

4.

REORDER QUESTION

2 mins • 1 pt

PROPERTY (PropertyNo, Address, NumberOfRooms, OwnerNo)

OWNER (OwnerNo, FamilyName, GivenNames, Address)

List the family names for owners that own properties with more than 3 rooms. Reorder the following steps.

RESTRICT NumberOfRooms > 3 (PROPERTY)

PROJECT FamilyName (RES_JOINED)

OWNER* OWNER.OwnerNo=RES_3.OwnerNo RES_3

5.

REORDER QUESTION

2 mins • 1 pt

PROPERTY (PropertyNo, Address, NumberOfRooms, OwnerNo)

OWNER (OwnerNo, FamilyName, GivenNames, Address)

List the family names for owners that do not own properties. Reorder the following steps.

PROJECT OWNER TABLE FIRST.

PROJECT FamilyName (ALL_NON_OWNERS)

PROJECT OwnerNo (OWNER) -> ALL_OWNERS

ALL_OWNERS MINUS ALL_PROP_OWNERS -> ALL_NON_OWNERS

PROJECT OwnerNo (PROPERTY) -> ALL_PROP_OWNERS

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What normal form is this table in?

Invalid

1NF

2NF

3NF

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What normal form is this table in?

Invalid

1NF

2NF

3NF

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?