EUROPEAN COMPUTER DRIVING LICENCE – MODULE 5 SYLLABUS VERSION 4 – MOCK 2 DATABASE The following test for Module 5 Database is based on opening and editing a database called Mock 2. In the test you will create a small table and enter some data, establish a simple relationship between two tables, design queries that will extract data from the database and create simple forms and reports. Remember to save any changes you make. To pass you need to obtain 24 out of 32 marks. 1 Open the Answer file Mock 2 on your Candidate Disk and 4 Marks attempt Questions 1, 2, 3 and 4. Save and close the Answer file Mock 2. 2 Open the Mock 2 database from your Candidate Disk. Create a new table with the 3 fields and their properties as shown below. 2 Marks Field Name Data Type Field Size or Format Order No Plant Name Category Number Text Text Long Integer 30 30 3 Using your knowledge of databases set the most appropriate field as the primary key. 1 Mark 4 The table should be saved as Discontinued. 1 Mark 5 Add the following records to the Discontinued table, then close. 1 Mark Order No 102 117 6 Plant Name Heather Marigold Category Perennial Annual Open the Plants table and add the field below so that it becomes the final field, then close. 1 Mark Field Name Colour Data Type Text Field Size or Format 60 7 In the Orders table there is an error. The Garden Centre name Follys should be Follies. Please make the appropriate change. 1 Mark 8 Set all the column widths for the Orders table to 20 points. Mock 5-2 Issue 1 - September 2003 1 1 Mark 9 The Quantity field needs moving in table design view so that it appears immediately after the Plant ID field in the Orders table. 1 Mark 10 Sort the Name field in the Plants table in ascending order. 1 Mark 11 The Containers table is no longer required and should be deleted. 1 Mark Using the Plant ID fields from both the Plants table and the Orders table, create a one-to-many relationship between the tables. 1 Mark Apply referential integrity to the relationship created in Question 12. 1 Mark 12 13 14 Create a query using all the fields from the Orders table that will show all the garden centres which have ordered plants with the Plant ID B2. Save the query as Biennials Query. 2 Marks 15 Create a query using all the fields from the Plants table showing plants which cost less than £3.50. Save the query as Budget Plants query. 2 Marks 16 Open Awards query and delete the Price field, then close. 1 Mark 17 Delete the Perennials query and the Annuals report. 1 Mark 18 Create a simple form using all fields from the Orders table. (Accept default settings). Save the form as Order Form. 1 Mark Open the New Stock form and modify the header New Stock to be green, size 16. 1 Mark 20 Open the Order Form form and print the first record. 1 Mark 21 Create a report using all the fields from the Plants table. (Accept default settings). Save the report as Products. 1 Mark Move the date from the bottom to the top of the Products report. Do not obscure any other objects in the report. 1 Mark Change the Products report orientation to landscape, save and close. 1 Mark Create a report using the Orders table, grouped by Garden Centre only, which will show the total spent on orders by each Garden Centre. Save the report as Totcost. 1 Mark 19 22 23 24 25 Open the report Conifers and modify the footer Items to Mock 5-2 Issue 1 - September 2003 2 26 read Stock. 1 Mark Open the Plants table and print to an output printer. 1 Mark Save any open objects and close the database application. Mock 5-2 Issue 1 - September 2003 3