Driving Test Log Book IMAT1604 Visual Web Development This log book must be handed in at the end of the academic year. This is an official record of your driving tests. Keep it in a safe place. Remember to attach print outs of all code and documentation. Your Name __________________________________________ P Number __________________________________________ Course __________________________________________ Tutor __________________________________________ Driving test 1 ______ /10 marks tutor’s signature: Driving test 2 ______ /10 marks tutor’s signature: Driving test 3 ______ /10 marks tutor’s signature: Driving test 4 ______ /10 marks tutor’s signature: Driving Test Schedule and Marks Awarded........................................................ 1 Overview .......................................................................................................................... 2 Submitting your Log Book .................................................................................... 2 The Driving Test Process ....................................................................................... 3 Question Skipping .................................................................................................... 3 Your Tutor Will Not Help you during the Driving Test ............................... 4 Your Tutor is a Very Busy Person ...................................................................... 4 The Longer you take the Lower your Grade .................................................. 4 Test Substitution ...................................................................................................... 4 Points Your Tutor will Check ................................................................................ 5 Plagiarism .................................................................................................................... 6 Getting Started on the Driving Tests ................................................................... 7 Driving Test 1 – Delete a Record in a Database .............................................. 8 Driving Test 1 Skills ................................................................................................ 8 The Programming Problem ................................................................................... 9 Driving Test 2 – Creating a List ............................................................................ 10 Driving Test 2 Skills .............................................................................................. 10 The Programming Problem ................................................................................. 11 Driving Test 3 – Insert and Update .................................................................... 12 Driving Test 3 Skills .............................................................................................. 12 The Programming Problem ................................................................................. 13 Driving Test 4 – Linking the Pages...................................................................... 14 Driving Test 4 Skills .............................................................................................. 14 The Programming Problem ................................................................................. 15 Driving Test Schedule and Marks Awarded Week no Driving Test 1 Driving Test 2 1 10 10 2 10 10 3 10 10 4 10 10 5 10 10 6 University reading week 7 10 10 8 10 10 9 9 10 10 8 10 11 7 10 12-14 Xmas break 15 Phase Test 1 16 6 10 17 5 10 18 4 9 19 3 8 20 2 7 21 University reading week 22 1 6 23 0 5 24 4 25 3 26 2 27 Phase Test 2 28-30 Easter break Driving Test 3 10 10 10 10 10 Driving Test 4 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 9 8 10 10 10 10 10 1 Overview This log book is the official record of your driving test. Keep this book safe! Submitting your Log Book At the end of the year you will submit your log book to student services, you will need to hand in: A signed cover sheet The log book Print outs of your code and testing 2 The Driving Test Process Step 1: Each driving test involves the completion of a part of the main system you are developing. Step 2: Once you are happy you understand the code you need to ask your fellow students to question you about your work. Step 3: Once you are happy you know what you are talking about you may approach your tutor to be formally tested. During the formal test, your tutor will ask you questions about your code to make sure that you have a clear idea of what the code is doing. Question Skipping The driving test process is not just about your ability to know and do, but also your ability to find out answers and solutions. If during the driving test there is any aspect of your program which you do not fully understand you have the option to skip the question and come back to it at a later test. If you skip three questions during the driving test on the third skipped question you will be deemed to have failed. This means that you must wait until next week to be reassessed picking up where you left off. 3 Your Tutor Will Not Help you during the Driving Test In these driving tests, you are encouraged to find answers for yourself. Your tutor will not help you during the test itself, nor should they give you any hints. The answers to the questions that arise may be found in the following places: Teaching Materials The Internet Your fellow students If you have any specific questions to ask your tutor, they must be asked outside of the formal test. Your Tutor is a Very Busy Person Remember you are not the only student wishing to see your tutor. You may only be tested during the timetabled sessions as and when it is convenient for your tutor. Also note that you may only be tested once in a given week. The Longer you take the Lower your Grade A successful driving test will mean that you are awarded a grade based on which week you pass the test in. It is very much in your interest to pass your driving tests as soon as possible. Don’t be shy, you may find you know more than you think, and even if you fail you will still find out what you need to know in order to pass on the next attempt. Test Substitution You may decide to replace a driving test with an earlier one. What this means is that you may decide to start with driving test 1 at full marks rather than taking driving test 2. In substituting a test in this way you will sacrifice later tests. For example substituting test 2 with test 1 would sacrifice test 4. 4 Points Your Tutor will Check Your code for suitable comments Your code and controls for correct use of the naming convention Your variable /object names The structure of your code (For example unwieldy or inefficient IF statements) The testing, by asking you to run through tests in your plan Your program, by running it to see if it works Your comprehension, by asking you questions on how your code works Your skill, by asking you to change / correct something If you answer all questions clearly and correctly you will be awarded the grade for the week in which you pass the test, e.g. a pass in week one will give you 10 out of 10, a pass in week sixteen 6 out of 10. You must pass all questions asked by your tutor. 5 Plagiarism In preparing for the driving tests, you are all encouraged to work together. This will inevitably result in people producing similar solutions. You must make an effort to personalise your own code. If your code is the same as another student’s you will automatically fail the test for that week. 6 Getting Started on the Driving Tests You have been provided with a file on the module web site called “Address Book Finished.Zip”. You will need to download and try out the sample web site. Having looked at the sample program you need to decide on an overall topic for your four driving tests. This topic may be anything that you like (but not an address book). You could perhaps decide you are setting up an on-line shop selling a product of some sort that you find interesting, e.g. mobile phones, DVDs or holidays. Once you have decided on your topic you must get it approved by your tutor. No two students in the same lab group may be working on identical topics! Once you have a topic you need to create an SQL server database to store the data for your site. At this stage you will need to create two tables. Table 1 will contain the primary data for your database e.g. tblAddress in the address book. This table must contain A primary key set up as identity Text fields of suitable size At least one numeric field At least one date field At least one Boolean field Keep the number of fields to a sensible minimum otherwise you will be creating too much work for yourself. Table 2 will contain secondary data for your database e.g. tblCounty in the address book example. This table must contain A primary key set up as identity A text field of suitable size 7 Driving Test 1 – Delete a Record in a Database Driving Test 1 Skills You are able to Write meaningful block and in-line comments Explain variables, naming conventions, values and data types Explain the use of the assignment operator Explain objects and classes, their purpose and relationship to each other Demonstrate the difference between methods and properties Demonstrate simple validation and error messages Give examples of sequence Explain events and handlers Demonstrate the correct use and purpose of naming conventions for controls Create a simple three layer application explaining some of the benefits Demonstrate database parameters and parameterised queries N Y 8 The Programming Problem You need to set up Visual Studio to support your three layer architecture such that your database is in the App_Data folder, the DataConnection class is in the App_Code folder and a web form called Delete.aspx is in the root of the site. When you run the program you should be able to enter the value of a primary key into a text box. Upon pressing a suitable button the value of the primary key should be passed to the middle layer and the corresponding record in the data layer should be deleted. If the user enters a value that is not a number the program should show an error message to let them know. The program does not need to deal with attempts to delete primary key values that do not exist in the database. 9 Driving Test 2 – Creating a List Driving Test 2 Skills You are able to Write meaningful block and in-line comments Explain the use of the assignment operator Make use of suitable naming conventions and good practice Create a list that is populated with data from the data layer Add items to a list using the ListItem class explaining the function of its parameters Demonstrate how to access data in a data table and assign values to the presentation layer Demonstrate the use of loops and indexes Create and explain a function that returns a value Explain how a function may accept a parameter Explain how functions may be used to create methods and properties Concatenate text to produce a meaningful message for the user Declare variables with suitable names and data types N Y 10 The Programming Problem You need to create a web form, suitable middle layer code and a suitable stored procedure that displays a list of records in a list box. 11 Driving Test 3 – Insert and Update Driving Test 3 Skills You are able to N Write meaningful block and in-line comments Explain the use of the assignment operator Make use of suitable naming conventions and good practice Create and explain a suitable method that validates presentation layer data Demonstrate a function that allows for updating of an existing record Demonstrate a function that allows for addition of a new record Pass parameters via the middle layer to the data layer to queries for insert and update Create and explain a range of parameters with suitable names and data types Create and apply test data Y 12 The Programming Problem You need to create a suitable web form that allows the user of your site to insert and update records. The web form should allow the user to enter a unique identifier value of -1 to make the code add a new record or the user may enter the value of an existing unique identifier value to update and existing record. The program does not need to check if the primary key value exists in the database, however all other values entered must be validated providing suitable error messages to the user. 13 Driving Test 4 – Linking the Pages Driving Test 4 Skills You are able to Write meaningful block and in-line comments Explain the use of the assignment operator Make use of suitable naming conventions and good practice Create a drop down list that links to the database Complete the list filtering functionality Demonstrate how you have linked the forms Explain how a query string works and how the data is processed using the request object Demonstrate delete functionality that asks the user to confirm the delete operation Select appropriate controls for the task at hand Implement the functionality for the other three tests Discuss three issues that must be addressed in securing your site N Y 14 The Programming Problem Having completed the functionality for the other three tests, your task is to link the pages together such that they form a finished application. The application should allow the user to add, edit, delete and filter a list of records. All data entry needs to be validated. 15
© Copyright 2026 Paperzz