MTN LTE 6:31 AM @ 95% Done Lab Work For the Database... CPEN 102: Introduction to...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
MTN LTE 6:31 AM @ 95% Done Lab Work For the Database... CPEN 102: Introduction to Database Systems Lecturer: Mr. George Kodjo Anni On successful completion of the laboratory work, student should be able to: 1. Appreciate the importance of conceptual modelling and apply the entity-relationship modelling approach to a realistic scenario. 2. Understand and apply the essential concepts of relational databases, (including keys, normalization and referential integrity) to sample data sets. 3. Given a business scenario, demonstrate the ability to apply best practice in the development of an appropriate and effective database system. 4. Identify and effectively apply appropriate activities involved in database administration. 5. Appreciate the significance of security in relation to Database Management Systems. COURSEWORK 1 [50 marks] The Global Motoring and Driving School was established in a makeshift kiosk at Lapaz in 2007. The School has since then grown steadily and now has several plush offices in most of the major towns in Accra. The School is now so large that the communication and sharing of information between offices is poor, hence more administrative staff are being employed to cope with the ever- increasing amount of paperwork. The Director of the School, Dr. Kofi Nkansah, feels that too many mistakes are being made and that the success of the School will be short-lived if nothing is done to remedy the situation. Understanding that a database could help in part solve the problem of increased paperwork; he has approached you to draw up the logical design of his intended database to support the running of the Global Motoring and Driving School. To help understand the workings of the school, Dr. Kofi Nkansah has provided you with the following brief description of how the Global Motoring and Driving School operates. Each office has a Manager [who tends to also be a Senior Instructor], several Senior Instructors, Instructors, and administrative staff. The Manager is responsible for the day- to-day running of the office. Clients must first register at an office and this requires that they complete an application form, which records their personal details. Before the first lesson, a client is requested to attend an interview with an Instructor to assess the needs of the client and to ensure that the client holds a valid provisional driving license. A client is free to ask for a particular Instructor or to request that an Instructor to be changed at any stage throughout the process of learning to drive. After the interview, the first lesson is booked. A client may individual lessons or book a block of lessons for a reduced fee. An individual lesson is for one hour, which begins and ends at the office. A lesson is with a particular Instructor in a particular car at a given time. Lessons can start as early Page | 1 as 8am and as late as 6:30pm. After each lesson, the Instructor records the progress made by the client and notes the mileage used during the lesson. The School has a pool of cars, which are adapted for the purposes of teaching. Each Instructor is allocated to a particular car. As well as teaching, the Instructors are free to use the cars for personal use. The cars are inspected at regular intervals for faults. Once ready, a client applies for a driving test date. To obtain a full driving license the client must pass both the MTN LTE Û Done Lab Work For the Database... use. The cars are inspected at regular intervals for faults. Once ready, a client applies for a driving test date. To obtain a full driving license the client must pass both the practical and theoretical parts of the test. It is the responsibility of the Instructor to ensure that the client is best prepared for all parts of the test. The Instructor is not responsible for testing the client and is not in the car during the test but should be available to drop off and pick up the client before and after the test at the DVLA Testing Centre. If a client fails to pass, the Instructor must record the reasons for the failure. REQUIREMENTS: (i) Using an appropriate CASE tool (e.g. Erwin data modeler, Microsoft Visio or ER Assistant) create an ERD using crow's foot notation for The Global Motoring and Driving School specifying the key attributes of each entity, and the structural constraints on each association. (You may note any unspecified requirements from the scenario, and make appropriate assumptions to make the specification complete). [30 marks] (ii) Describe the entity integrity & referential integrity rules in your data model. [10 marks] 6:32 AM (iii) At a car garage, a customer can place an order for a car in three modes, via telephone, web page or in person. Before an order can be accepted and processed, sales staff must verify all information to be accurate. Based on the scenario, the necessary data requirement has been organized below. Select a primary key and translate the data below to the third normal form explaining each form. [10 marks] carMakeModel YearNote) Order (orderNumber, orderDate, customerName, orderCreationMethodName, verifyingEmployeeName, totalSalesAmount, carSerialNumber, carColourNames, 2A.[10 marks] (i) @95% (ii) (iv) COURSEWORK 2 [50 marks] Page | 2 Using an SQL data definition language, write a query to transform all entities in your ERD in coursework 1 into relational database tables. Create a view that lists students with their corresponding department names. Modify client class and add a new attribute JOB. Modify staff class, add a new attribute salary. Specify a constraint on staff salary to ensure it is always positive 3 MTN LTE Done Lab Work For the Database... (i) 2B. [30 marks] Implement a database application for the driving school using MySQL RDBMS and answer the following queries. (ii) 6:32 AM (iii) (iv) (v) (vi) (vii) (viii) @ 95% Create a Cartesian product by using two tables. How many turples are in individual tables and how many turples are in the result set respectively How many staff is hired currently and what is their average salary. What is the smallest and biggest monthly salary? How much must be paid each month for the salaries? List staff with the vehicles they inspect or vehicles they manage under their offices. List all client that took driving test in Accra center but came from Tema Generate a table that lists all vehicles that has been assigned to a lesson and all clients who have enrolled for that lesson. Create a readable view that contains all data. Select the first 10 toyota avensis vehicles for inspection. Select all clients who have their first name as the first name of the staff who interviewed them. 2C. [10 marks] To assure the effective administration of your implemented database, discuss how you propose to manage the following database administration activities: (i) End-user support (ii) (iii) Data security, privacy and integrity Data backup and recovery Page | 3 DELIVERABLE: Coursework 2b, must be shown to the Teaching Assistant for validation of your queries and reports. NOTE: Copying (full/part) from any other source without acknowledgement or outsourcing this work is strictly prohibited and any such act shall result in an award of a 0 (zero) mark for the project. MTN LTE 6:31 AM @ 95% Done Lab Work For the Database... CPEN 102: Introduction to Database Systems Lecturer: Mr. George Kodjo Anni On successful completion of the laboratory work, student should be able to: 1. Appreciate the importance of conceptual modelling and apply the entity-relationship modelling approach to a realistic scenario. 2. Understand and apply the essential concepts of relational databases, (including keys, normalization and referential integrity) to sample data sets. 3. Given a business scenario, demonstrate the ability to apply best practice in the development of an appropriate and effective database system. 4. Identify and effectively apply appropriate activities involved in database administration. 5. Appreciate the significance of security in relation to Database Management Systems. COURSEWORK 1 [50 marks] The Global Motoring and Driving School was established in a makeshift kiosk at Lapaz in 2007. The School has since then grown steadily and now has several plush offices in most of the major towns in Accra. The School is now so large that the communication and sharing of information between offices is poor, hence more administrative staff are being employed to cope with the ever- increasing amount of paperwork. The Director of the School, Dr. Kofi Nkansah, feels that too many mistakes are being made and that the success of the School will be short-lived if nothing is done to remedy the situation. Understanding that a database could help in part solve the problem of increased paperwork; he has approached you to draw up the logical design of his intended database to support the running of the Global Motoring and Driving School. To help understand the workings of the school, Dr. Kofi Nkansah has provided you with the following brief description of how the Global Motoring and Driving School operates. Each office has a Manager [who tends to also be a Senior Instructor], several Senior Instructors, Instructors, and administrative staff. The Manager is responsible for the day- to-day running of the office. Clients must first register at an office and this requires that they complete an application form, which records their personal details. Before the first lesson, a client is requested to attend an interview with an Instructor to assess the needs of the client and to ensure that the client holds a valid provisional driving license. A client is free to ask for a particular Instructor or to request that an Instructor to be changed at any stage throughout the process of learning to drive. After the interview, the first lesson is booked. A client may individual lessons or book a block of lessons for a reduced fee. An individual lesson is for one hour, which begins and ends at the office. A lesson is with a particular Instructor in a particular car at a given time. Lessons can start as early Page | 1 as 8am and as late as 6:30pm. After each lesson, the Instructor records the progress made by the client and notes the mileage used during the lesson. The School has a pool of cars, which are adapted for the purposes of teaching. Each Instructor is allocated to a particular car. As well as teaching, the Instructors are free to use the cars for personal use. The cars are inspected at regular intervals for faults. Once ready, a client applies for a driving test date. To obtain a full driving license the client must pass both the MTN LTE Û Done Lab Work For the Database... use. The cars are inspected at regular intervals for faults. Once ready, a client applies for a driving test date. To obtain a full driving license the client must pass both the practical and theoretical parts of the test. It is the responsibility of the Instructor to ensure that the client is best prepared for all parts of the test. The Instructor is not responsible for testing the client and is not in the car during the test but should be available to drop off and pick up the client before and after the test at the DVLA Testing Centre. If a client fails to pass, the Instructor must record the reasons for the failure. REQUIREMENTS: (i) Using an appropriate CASE tool (e.g. Erwin data modeler, Microsoft Visio or ER Assistant) create an ERD using crow's foot notation for The Global Motoring and Driving School specifying the key attributes of each entity, and the structural constraints on each association. (You may note any unspecified requirements from the scenario, and make appropriate assumptions to make the specification complete). [30 marks] (ii) Describe the entity integrity & referential integrity rules in your data model. [10 marks] 6:32 AM (iii) At a car garage, a customer can place an order for a car in three modes, via telephone, web page or in person. Before an order can be accepted and processed, sales staff must verify all information to be accurate. Based on the scenario, the necessary data requirement has been organized below. Select a primary key and translate the data below to the third normal form explaining each form. [10 marks] carMakeModel YearNote) Order (orderNumber, orderDate, customerName, orderCreationMethodName, verifyingEmployeeName, totalSalesAmount, carSerialNumber, carColourNames, 2A.[10 marks] (i) @95% (ii) (iv) COURSEWORK 2 [50 marks] Page | 2 Using an SQL data definition language, write a query to transform all entities in your ERD in coursework 1 into relational database tables. Create a view that lists students with their corresponding department names. Modify client class and add a new attribute JOB. Modify staff class, add a new attribute salary. Specify a constraint on staff salary to ensure it is always positive 3 MTN LTE Done Lab Work For the Database... (i) 2B. [30 marks] Implement a database application for the driving school using MySQL RDBMS and answer the following queries. (ii) 6:32 AM (iii) (iv) (v) (vi) (vii) (viii) @ 95% Create a Cartesian product by using two tables. How many turples are in individual tables and how many turples are in the result set respectively How many staff is hired currently and what is their average salary. What is the smallest and biggest monthly salary? How much must be paid each month for the salaries? List staff with the vehicles they inspect or vehicles they manage under their offices. List all client that took driving test in Accra center but came from Tema Generate a table that lists all vehicles that has been assigned to a lesson and all clients who have enrolled for that lesson. Create a readable view that contains all data. Select the first 10 toyota avensis vehicles for inspection. Select all clients who have their first name as the first name of the staff who interviewed them. 2C. [10 marks] To assure the effective administration of your implemented database, discuss how you propose to manage the following database administration activities: (i) End-user support (ii) (iii) Data security, privacy and integrity Data backup and recovery Page | 3 DELIVERABLE: Coursework 2b, must be shown to the Teaching Assistant for validation of your queries and reports. NOTE: Copying (full/part) from any other source without acknowledgement or outsourcing this work is strictly prohibited and any such act shall result in an award of a 0 (zero) mark for the project.
Expert Answer:
Related Book For
Applying International Financial Reporting Standards
ISBN: 978-0730302124
3rd edition
Authors: Keith Alfredson, Ken Leo, Ruth Picker, Paul Pacter, Jennie Radford Victoria Wise
Posted Date:
Students also viewed these databases questions
-
Coursework 1 The Global Motoring and Driving School was established in a makeshift kiosk at Lapaz in 2007. The School has since then grown steadily and now has several plush offices in most of the...
-
The Global Motoring and Driving School was established in a makeshift kiosk at Lapaz in 2007. The School has since then grown steadily and now has several plush offices in most of the major towns in...
-
Danny just accepted a job offer as a full-time junior analyst and he works 40 hours per week and works 52 weeks per year. His annual salary is $45,000 per year Calculate the CPP, EI and Income tax...
-
Jimmy and Elizabeth plan on getting married on the 15th of August. Elizabeth decides that she would prefer to have the reception in her backyard, so she rents an event tent from CELEBRATE Ltd, a firm...
-
During the year ended July 31, 2007, Cisco Systems, Inc. acquired the following identifiable intangible assets through its purchase of two companies: Customer Relationships Technology Useful life...
-
Refer to Exercise 10.39 and obtain a 90% confidence interval for the difference between the mean times served by prisoners in the fraud and firearms offense categories.
-
Discuss the different types of HRIS T&D applications and their reporting and decision-support capabilities.
-
The bookkeeper for Willingham Corporation made these errors in journalizing and posting. 1. A credit posting of $400 to Accounts Receivable was omitted. 2. A debit posting of $750 for Prepaid...
-
At midday when a black grain storage facility is directly under the Sun, it receives 925 W of solar power per square meter of surface from the Sun. If this hot surface loses energy only by radiation...
-
Consolidation related simulation example: Millennium Capital Management, Inc., (MCM) acquired a 90% interest in NextGen, Inc. MCM's Financial Manager, Matthew Steven, has prepared a draft memo to the...
-
(a) Evaluate the double integral X2 y-3 | 6x - 2y + 6xy - 2x- 13y- 9 dy dx X-1 ya0 (b) Use multiple integration to evaluate the volume of the region enclosed by the surface z = x? + 8x - y2 + 6y + 10...
-
A document that is proof of ownership. a. bill of sale b. certifi cate of title c. condition s ubsequent d. condition pr ecedent e. estoppel f. fungible goods g. order bill of lading h. personal...
-
Indicate whether each of the following statements is true or false by writing T or F in t he a nswer c olumn. The owner of personal property cannot recover it from an innocent third party who...
-
Indicate whether each of the following statements is true or false by writing T or F i n t he a nswer c olumn. Advertising of drugs is legal, so long as detailed information about the drug being...
-
Kiang, a sales representative working for Prats Appliances, sold a refrigerator to Pogany. After several weeks, Pogany changed her mind and wanted to repudiate the sales contract. Her argument was...
-
Patterson was on a group vacation tour when he discovered that his camcorder was not where he had left it on the tour bus. Later on the tour, Patterson noticed another vacationer, Carlsen, with a...
-
Morning Dove Company manufactures one model of birdbath, which is very popular. Morning Dove sells all units it produces each month. The relevant range is 0 to 1,900 units, and monthly production...
-
Show, if u(x, y) and v(x, y) are harmonic functions, that u + v must be a harmonic function but that uv need not be a harmonic function. Is e"e" a harmonic function?
-
Does IAS 32 contain a clear hierarchy to be used in determining whether a financial instrument is a financial liability or an equity instrument of the issuer? Explain your answer.
-
What is a joint venture?
-
Explain how accounting profit and taxable profit differ and how each is treated when accounting for income taxes.
-
What is the formula to calculate an individuals taxable income?
-
Explain why a taxpayer with higher income does not have as large of a behavioral response to an increase in the tax rate as a lower-income taxpayer.
-
Describe the goal of tax planning.
Study smarter with the SolutionInn App