This is an old revision of the document!
Table of Contents
Lab Tests
Lab Test #1
Policies
- The test is 80-min long and will be held in Prism.
- You will login to one of machine in the lab using your 8-character
cs
username. - Bring a photo ID.
- No questions are allowed during the test.
- You may not communicate with anyone, inside or outside the lab, by any mean during the test.
- Seating may be preassigned; there may be several test versions; and network traffic may be monitored.
- The test is open-book and you will have full access to your home directory, the course web site, and all the resources linked to from the course site.
Scope
The test will cover everything up to the prior week. This means up to beans, filters, and listeners.
Format
The test involves building a webapp that meets a given requirement. You are expected to analyze the requirement, design a solution, implement it, and then submit it. Specifically, you submit a war
file of your webapp and it should include two things:
- Source files
- A file named
answer.txt
inWebContent
Your work is marked based on correctness and on meeting the various software engineering guidelines, design patterns, and best practices.
The file answer.txt
contains a self assessment of your submission. In it, you must indicate, for every feature in the requirement, whether your webapp implements that feature or not, and if so, whether the implementation works or not. Even if a feature is not implemented, or implemented incorrectly, you will receive part marks if you articulate how you plan to implement it.
Preparation
The best way to prepare for the test involves:
- Completing the first Lab, L1, and its explorations
- Reviewing the refinements done in lecture
- Reading Chapters 1, 2, 6, and 8 in the textbook
- Reading Chapters 6 and 10 (filters and events) in the Servlets Specs
Note that since you can bring your textbook to the test, and that you have access to the Specs, the word “Reading” refers more to “understanding” and “knowing where things are” than to “memorizing”.
Note also that since you will have access to you home directory during the test, you are advised to have a number of basic programs, xhtml, and jspx files in it so you can easily and quickly adapt them during the test rather than start from scratch.
<!--
===== Lab Test #2 =====
==== Policies ====
* The test is 80-min long and will be held in Prism.
* You will login to one of machine in the lab using your 8-character ''cs'' username.
* Bring a photo ID.
* No questions are allowed during the test.
* You may not communicate with anyone, inside or outside the lab, by any mean during the test.
* Seating may be preassigned; there may be several test versions; and network traffic may be monitored.
* The test is open-book and you have full access to your home directory and to the Internet. In particular, you have access to this site and to its //Resource Directory//.
==== Scope ====
The test will cover everything after LT#1 and up to the prior week. This means CGI (in Perl) and JEE Webapps (Servlets, JSP, MVC). Note, however, that custom JSP tags are not in scope; only EL and JSTL are.
==== Format ====
The test involves hands-on problem solving: you will be presented with a problem and asked to solve it. You are expected to devise a solution, implement it, and then submit it.
Note that even though this is a lab test, you may treat it as a paper test; i.e. write programs and submit them without even attempting to see if they compile. Doing so will allow you to finish faster but may lead to lower marks because your program may have errors or shortcomings that could have been identified had you compiled and ran your code. You must therefore manage your time carefully to achieve an optimal trade off.
==== Preparation ====
The best way to prepare for the test is to do the labs (labs 2-4) and review the lecture notes posted in the Calendar along with the cross-listed book sections. It also helps to have a number of basic template servlets and JSP files in your home directory so you can easily and quickly adapt them during the test to solve the test questions.
===== Lab Test #3 =====
==== Policies ====
* The test will be held at 8:30 am on Friday Feb 20.
* The test is 120-min long and will be held __**in Prism**__ (not in a lecture room).
* You will login to one of machine in the lab using your 8-character ''cs'' username.
* Bring a photo ID.
* No questions are allowed during the test.
* You may not communicate with anyone, inside or outside the lab, by any mean during the test.
* Seating may be preassigned; there may be several test versions; and network traffic / command history may be monitored.
* The test is open-book and you have full access to your home directory and to the Internet. In particular, you have access to this site and to its //Resource Directory//.
==== Scope ====
The test will cover everything after LT#2. This means advanced JSP, advanced Servlets, Web Services, and XML technologies.
==== Format ====
The test involves hands-on problem solving: you will be presented with a problem and asked to solve it. You are expected to devise a solution, implement it, and then submit it.
Note that even though this is a lab test, you may treat it as a paper test; i.e. write programs and submit them without even attempting to see if they compile. Doing so will allow you to finish faster but may lead to lower marks because your program may have errors or shortcomings that could have been identified had you compiled and ran your code. You must therefore manage your time carefully to achieve an optimal trade off.
==== Preparation ====
The best way to prepare for the test is to review the lecture notes posted in the Calendar along with the cross-listed book sections. It also helps to have a number of basic template programs in your home directory so you can easily and quickly adapt them during the test to solve the test questions.
-->