Lab Test 2
You can access the questions for the second lab test here:
Friday and
Monday.
A model solution for the Friday lab test can be found here:
script and
C program.
A model solution for the Monday lab test can be found here:
script and
C program.
These are only one possible solution,
there are many other ways to do the same task.
Lab Test 1
You can access the questions for the first lab test here:
Friday and
Monday.
A model solution for the two lab tests can be found here:
Friday and
Monday.
They are only one possible solution,
there are many other possibilities.
You can find all
test inputs and expected outputs here:
Friday and
Monday.
If a test case output contains the phrase timeout waiting for
child
this means that your program crashed (or less likely has an
infinite loop).
If a test case output contains the phrase Binary files
... differ
this means that your program printed out garbage
values.
Lab Test Rules
- Be present on time. You will not be allowed to enter the lab 20 minutes after the test starts.
- After entering the lab, no one will be allowed to leave within the first 30 minutes of the test.
-
This is an open book test, i.e.
you can bring the C textbook (no other papers or electronic aids). Put
away all other materials (under the desks) and keep only a pen or pencil. The test invigilators will give you blank paper for scrap work.
- Turn off cell phones and pagers while in the lab.
-
Towards the end of the lab session, you will see a warning message that time is running out and
the system will be re-booted soon. Submit your work before you are logged off the system, or
all your work will be lost.
Academic Honesty
"Academic honesty is essentially giving credit where credit is due. And not misrepresenting what you have done and what work you have produced. When a piece of work is submitted by a student it is expected that all unquoted and uncited ideas and text are original to the student. Uncited and unquoted text, diagrams, etc., which are not
original to the student, and which the student presents as their own work is considered academically dishonest."
- Department of Computer Science and Engineering Academic Honesty Guidelines
We use MOSS (Measure Of Software Similarity) to detect software plagiarism.