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

  Why should we have separate databases and a data warehouse

Why should we have separate databases and a data warehouse? Why don't we just have one large database for all our data, both current and historical?

  Create a crow foot erd for the prodco company

Create a Crow's Foot ERD to include the following business rules for the ProdCo company: Each sales representative writes many invoices.

  Demonstrate why a database was required in the first place

A narrative description of the field chosen for the application being created. This should also include a description of the problem and addressing the weaknesses to be solved by the database.

  Create a new dataset called dsuser

Create a new DataSet called dsUser. Use the table tblLogin as the database table for this dataset. Do this in the same way you added datasets in the previous labs.

  Write a batch file which creates and populates a database

You must write a batch file which creates and populates a database of between 4 and 6 tables. The database must be of your own making and should be of an area of interest to you or related to your work

  Analyze how the verify method can be used to plan out system

Analyze how the verify method can be used to plan out system effectively and ensure that the number of transactions do not produce record-level locking.

  How an erd can be taken as a logical representation

Describe how an ERD can be taken as a logical representation, and implemented into a physical representation in a database. Find and explain some more advanced SQL queries that a DBA might use to find some specific information about a database

  To analyse and comprehend a provided er diagram

Display the item id and the difference between the default price and cost (ITECH5006 - together with a percentage markup) of all products.

  How you would configure the redo log files

Advanced Database Administration (COMP 0343) Evaluate requirements and select appropriate parameters to ensure effective storage management in a database system

  What is the purpose of database

In order to design a database, a database planner should spend a considerable amount of time thinking about what kind of information will be included in the database, and how it will be organized. There are several approaches to creating a success..

  What is the advantage of storing data in database

When would you store data in database and when would you use functions

  Demonstrate the strength of dw in supporting decision makers

Demonstrate the strength of DW in supporting decision makers. Also, your queries must cover all subjects in your DW. You should provide a short description

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