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 have full access to your home directory and to the Internet.
Scope
The test will cover everything up to the prior week. This means up to beans, filters, and listeners.
Format
The test involves hands-on problem solving: you will be presented with a task (e.g. contact a server at a given address:port, communicate with it in a given protocol, and retrieve something) and asked to do it. The server's response gives you the next task to do and this repeats until you complete the very last task. There is nothing to hand in or submit; the servers keep track of your progress. To that end, make sure you observe the following rules:
- Answer the server's questions truthfully! For example, provide your correct 8-character
cs
username if asked. The server will terminate the connection if your answers are incorrect even if they abide by the protocol. - Do not
ssh
tored
. Your IP address must be that of your lab machine, notred
.
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” above refers more to “understanding” and “knowing where things are” rather than “memorizing”.
Note also that since you will have access to you home directory during the test then you are advised to create 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.
-->