0% found this document useful (0 votes)
7 views

RDA#1-11 Creating Relational Database

Uploaded by

dwilliamschool
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

RDA#1-11 Creating Relational Database

Uploaded by

dwilliamschool
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Year 11 – Information Technology (ACT-A/PNGUS-ICT)

Relational Database Assignment (RDA) #1/5


Creating Relational Database (Tables) and Forms

Assessment Weighting: ACT - 30%


Due Date: 03 November 2023 (Week 5)

Criteria Assessed
1. Appropriate application of knowledge and concepts specific to the unit.
2. Competence in the design, implementation and appraisal of solutions to specific problems relevant to the
unit.

Objectives
This is the first of a series of hands-on assignments that will allow you to revise on some basic skills and learn
new and advanced skills in operating a relational database management system (RDBMS) like MS Access 2013.

RDA #1 / Database 1 #1 will assess your basic knowledge and skills in creating tables with fields showing
appropriate data types, field lengths, format properties such as input masks and validation rules. You should
also be able to establish relationships among the tables created and design basic data entry forms.

General Instructions
1. In your home folder, create a new folder named your username relational dbase assignments
e.g. mjones relational dbase assignments.
2. Use the given handout on table and field properties for references or go to online help or ask your
teacher for assistance as necessary.
3. Submit your assignment folder into the submission folder for your teacher.

Assessment Rubric
You will receive a mark based upon the amount of work you complete, and the quality of your work. Failure
to submit any substantial work may result in a V grade for this unit. Your mark and grade awarded for this
assessment item will be based upon the following descriptors:

E D C B A
1-39% 40-49% 50-69% 70-84% 85-100%
At least one task shows At least one task show At least one task shows Most tasks show good All tasks show very high
Cr 1 some appropriate use of basic use of RDBMS. Many satisfactory use of use of RDBMS in an level use of RDBMS in
a RDBMS. Some of the of the table structures and RDBMS. More than half of appropriate style. Most an excellent style. All
table structures and field field properties have been the table structures and of the table structures of the table structures
properties have been completed as required. field properties and table and field properties and field properties
completed as required. relationships and entry have been completed, have been completed,
forms have been showing a good depth showing excellent
completed, with some of knowledge. depth of knowledge.
depth of knowledge.

There is some evidence There is evidence of a There is evidence of a There is evidence of a The table structures,
Cr 2 of a table structures, basic table structures, feasible table design & the feasible table design table relationships and
table relationships and table relationships, and table structures, table and the table entry forms are
entry forms. entry form that are relationships and entry structures, table elegantly designed and
partially completed. forms are partially relationships and entry formatted.
completed. forms are clearly
completed.

Port Moresby International School, SY 2022, Semester 2 Page 1 of 5


Source: Database Projects in Access for Advanced Level (2nd ed) by J Mott and I Rendell
Year 11 – Information Technology (ACT-A/PNGUS-ICT)
Relational Database Assignment (RDA) #1/5
Creating Relational Database (Tables) and Forms

Introduction – Driving School System


The database system that you will create is based on a local driving school operation. The driving school caters
for many students in the surrounding villages. The school has a number of full time and part time instructors.
When a student starts a course of lessons they are issued with membership card and allocated an instructor.
Students can book lessons through their instructor or by phoning the driving school office. Students usually
book lessons of one or two hours though they can book longer sessions if they wish.

The school offers different types of lessons – Introductory, Standard, Pass Plus or the Driving Test. Fees are
charged depending on the type of lesson booked. The driving school organises the practical and theory test for
the students and it successful the students can go on to a Pass Plus course.

The system will have four related tables Student, Instructor, Lesson Type and Lesson.

Task 1: Creating Tables with Field properties


1. Create a new blank database and save it as your username drivingschool.mdb, e.g. hjones
drivingschool.mdb in your assignment folder.

2. Create the following table structures and include field/format properties as required. Read the handouts
on Data Types, Field Properties, Setting Input Masks, Format Field Property, and Setting Validation Rules
to help you define field properties requirements or use the Online Help of Access.

a) Student Table
Field Names Data Type Field Size/Field Properties
Student ID AutoNumber Make this as primary key
Title Text Lookup Table values: Mr, Mrs, Ms, Miss; Field size=4
Last Name Text Field size = 20
First Name Text Field size = 20
Address 1 Text Field size = 20
Address 2 Text Field size = 20
Address 3 Text Field size = 20
Address 4 Text Field size = 20
Tel No Text Field size = 12; set Input Mask
Date of Birth Date/Time Format: short date; set Input Mask
Gender Text Field size = 1, Validation rule as either M or F
Theory Test Date Date/time Format= short date; set Input Mask
Passed Theory Test Yes/No Field size = 1
Practical Test Date Date/time Format: short date; set Input Mask
Passed Practical Test Yes/No Field size = 1
Pass Plus Req Yes/No Field size = 1
Issued Card Yes/No Field size = 1

Port Moresby International School, SY 2022, Semester 2 Page 2 of 5


Source: Database Projects in Access for Advanced Level (2nd ed) by J Mott and I Rendell
Year 11 – Information Technology (ACT-A/PNGUS-ICT)
Relational Database Assignment (RDA) #1/5
Creating Relational Database (Tables) and Forms

b) Lesson Type Table


Field Names Data Type Other Information
Lesson Type Text Set as primary key; field size=20
Cost Currency Field size=8, format = currency, 2 decimal places

c) Instructor Table
Field Names Data Type Other Information
Instructor ID AutoNumber Set as primary key
Title Text Lookup Table values: Mr, Mrs, Ms, Miss; Field size=4
Last Name Text Field size=20
First Name Text Field size=20
Address1 Text Field size=30
Address2 Text Field size=30
Address3 Text Default value=’Derby’; Field size=2027
Address4 Text Field size=20;
Home Tel No Text Field size=12
Mobile No Text Field size=12

d) Lesson Table
Field Names Data Type Other Information
Lesson No AutoNumber Set as primary key
Student ID Number Field size = 5, Format = Long Integer
Instructor ID Number Field size = 5, format = Long integer
Lesson Date Date/Time Format = Short Date; Set Input Mask
Start Time Date/Time Format = Short time & set Input mask
Lesson Length Number Format = Integer; set validation rule as between 1
and 8
Collection Point Text Default value=’Home Address’; Field size=30
Drop-off Point Text Default value=’Home Address’; Field size=30
Lesson Type Text Lookup Table values: Introductory, Standard, Pass
Plus, Test; Field Size=20

Port Moresby International School, SY 2022, Semester 2 Page 3 of 5


Source: Database Projects in Access for Advanced Level (2nd ed) by J Mott and I Rendell
Year 11 – Information Technology (ACT-A/PNGUS-ICT)
Relational Database Assignment (RDA) #1/5
Creating Relational Database (Tables) and Forms

Entering Data into the Tables


a) Lesson Table (Note: Replace the year 00 to 17 in the Date field.)

b)

Instructor Table

c) Lesson Type

d) Student Table – see the last page for the table records
(Note: Change the year 00 with 16 in the Theory Test Date & Practical Test date fields.)
e) Theory Task #1 – see attached worksheet for more details.
Task 2: Defining Relationships among Tables

1. Read the handout (in PDF) titled Relational Database requirements particularly that part on defining
relationships among tables.
2. From the tables you have created, define the relationship among the four tables including referential
integrity and cascading updates and deletes options.
3. Print a copy of the relationship diagram.

Task 3: Creating Data Entry Forms

1. General requirements for this task:


 Company logo - Think of a suitable name for your driving school. Look for an appropriate logo (in the
form of a picture, symbol, clipart, or something that you designed).
Port Moresby International School, SY 2022, Semester 2 Page 4 of 5
Source: Database Projects in Access for Advanced Level (2nd ed) by J Mott and I Rendell
Year 11 – Information Technology (ACT-A/PNGUS-ICT)
Relational Database Assignment (RDA) #1/5
Creating Relational Database (Tables) and Forms

 Header – in each data entry forms insert the logo and school’s name and a suitable title for the form at
the header of your form.
 Data fields – ensure that all required fields from the tables are included in the form. The fields may be
rearranged in the layout as necessary as you desire.

2. Create a Form for each of the following table using wizard with consideration of the above requirements:
a) Create a form from the Student Table using the AutoForm:Columnar format. Name the form as
Student Data Entry.
b) Create a form from the Instructor Table using the AutoForm:Columnar format. Name the form as
Instructor Data Entry.
c) Create a form from the Lesson Type Table using the AutoForm:Tabular format. Name the
form as Lesson Type Data Entry.

Attachment – Student table records

Port Moresby International School, SY 2022, Semester 2 Page 5 of 5


Source: Database Projects in Access for Advanced Level (2nd ed) by J Mott and I Rendell

You might also like