Implement a functional relational database

Assignment Help Database Management System
Reference no: EM133034218

CO4703 Database Implementation - University of Central Lancashire

Learning Outcome 1: Implement a functional relational database, giving consideration to integrity and validation constraints, using appropriate database environment

Learning Outcome 2: Apply and justify database design techniques for the construction of a conceptual data model

Learning Outcome 3: Critically review work with respect to underpinning theories

Task 1
Use Oracle Forms to create a database application. This application is based on the following table types, with primary keys underlined and foreign keys in italics:

Student (sId, surname, forenames, address, mobilePhone, cCode, cYear, dob)
Module (mCode, mTitle, mDescription, mLeader, credit, fee)
Registration (regNo, sId, mCode, dateOfRegistration, approvedBy)

Student

sId                               20 char maximum (e.g. Johnson_B)    (student ID)

surname                       15 char maximum

forenames                    15 char maximum

address                                    45 char maximum

mobilePhone               11 digit number (e.g. 07123456789)

cCode                          5 char (e.g. C1001)                             (course code)

cYear                           1digit number (range 1,2,3,4)             (course year)

dob                              date                                                     (date of birth)

Module

mCode                                    6 char maximum (e.g. CO4703)          (module code)

mTitle                          50 char maximum                                (module title)

mDescription               1000 char maximum                            (module description)

mLeader                      20 char maximum                                (module leader)

credit                           2 digit number (20 or 40 or 60 only)

fee                               number (e.g. 495.95); always below 1000

Registration

regNo                          number (5 digits)

sId                               20 char maximum

mCode                                    6 char

dateOfRegistration     date

approvedBy                20 char maximum

You are expected to create these tables using SQL and then populate them with appropriate and sufficient test data of your own (hint: use varchar2 for sId and mCode, and also for all variable length character strings).

To gain a pass mark for Task 1 you will achieve basic functionality for forms A, B and C as outlined below. To gain higher marks you will create a more user-friendly interface (e.g. good screen layout, appropriate use of colours, use of buttons, clear messages), and will achieve the functionality as italicised for each form.

Form A - Create/Amend a student

1. Enter details; all alphabets should be in upper case automatically
2. Save a new record
3. Year should be 1 to 4 only (inclusive)
4. Date of birth (they should be on or past their 18th birthday and on or before 40th birthday)
5. Buttons that perform functions (SAVE, CLEAR, DELETE etc.)
6. A list of values for the course code (based on existing codes in the script file)
7. Any other functionality you deem to be appropriate

Form B - Display a student's module registration details

A twoblock form showing full details of a student and all the modules she/he has registered.
1. Enter a sId and the basic module details are displayed
2. This form is read only and updating should be disallowed
3. sId is selected from a list of values
4. For each module registration the module title and fee should be displayed
5. Display the total amount of module fees for the student
6. Addition of functional buttons
7. Any other functionality that you deem to be appropriate

Form C - Menu

1. Two buttons which call up Forms A and B
2. When Forms A and B are exited, control should pass back to the menu
3. A password is required for form A (but not B). Form A should be accessed only if the correct password is entered.
4. Any other functionality that you deem to be appropriate.

For Task 1, you should submit relevant and detailed documentation in a word-processed file demonstrating the design and implementation of the above three forms. The documentation should have the following; you may include additional items that you deem to be appropriate.

1. SQL table creation and insertion statements for all tables.
2. For each of the functions listed above under Form A, B and C, explain how the function is implemented. Show and explain trigger codes and other techniques (list of values, alert etc.) wherever appropriate.
3. Include screenshots to illustrate your explanation wherever appropriate.

Task 2

You should submit one single word-processed file including the previous Task 1 and the current Task 2.

(a) Design a relational database for the table fragment shown on the next page.

You should assume that the data shown in the table is a typical snapshot of data for these records and demonstrates all the enterprise rules which apply, even though some rules may be simpler than those in reality.

Normalise this table into Third Normal Form showing the intermediary stages of First and Second Normal Form. Primary keys and foreign keys in all the three forms should be indicated clearly. You are expected to start the normalisation process by first choosing the customer code alone as a primary key. Your normalised tables should only include the attributes shown in the table fragment; do not add any new attribute.

Justify your solution to this problem.

(b) Critically evaluate normalisation as a technique for database design. For each advantage or disadvantage identified, you should use the Product-4-U Ltd data to illustrate and explain it. You may extend these data in order to identify suitable examples to illustrate your point, however you should only do so if the current data do not provide for such examples.

The evaluation should not exceed 500 words (excluding the list of references).

References must be listed in the end and cited within your evaluation using a consistent formatsuch as Harvard Refencing.

Attachment:- Database Implementation.rar

Reference no: EM133034218

Questions Cloud

Compute the equivalent units of materials : Compute the equivalent units of materials, labor, and overhead in the ending work in process inventory for the month
Potential contamination in a food production area : How would you dispose of kitchen waste and potentially hazardous substances according to environmental requirements and to prevent potential contamination in a
Explain the evolution of retailing : Explain the evolution of Retailing from Brick and Mortar to Multi channel to "Omni channel." What are the reasons for, and advantages of, this evolution?
How much should the shares be worth today : The consensus estimate of the coming year's market returns is 4% and T-bills currently offer a 1.5% return. How much should the shares be worth today
Implement a functional relational database : Critically review work with respect to underpinning theories - Apply and justify database design techniques for the construction of a conceptual data model
Improve productivity levels : What recommendations could a team leader make to management to improve productivity levels?
What is the division ROI : The division has an asset turnover of 3.2. Segment margin as a percentage of sales is 10%. What is the division's ROI
Cash inventories accounts receivable : Identify the following accounts. Choose Cash Inventories Accounts receivable if it is related to cash, if it is related to Inventories, and if it is related to
Develop transformational leadership strategies : The following exercise allows you to practice collaboration skills to develop transformational leadership strategies.

Reviews

len3034218

11/23/2021 8:52:59 PM

Hi team I need assignment service for database implementation by using my University VM logins..need form builder code triggers form codes , procedures .. normalization

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd