It took place during the first hour of your own lab time, in the usual lab room.
Topics coverage:
Topics covered in the Lab exercises week #2 and Lab week #3
(Selected solutions to lab exercises are posted in the Lab exercises section).
Corresponding topics and examples seen in class, until and including week #4.
Corresponding notes: until and including notes #7.
Focus on:
Classes with main and possibly other static methods
Decomposition of a solution in methods
Methods: passage of parameteres and returning of (single) values
For loops
Minimal usage of if statements
Using (non-static and static) methods from Classes in the Java standard API:
String, Scanner, Math, Random, Date
String manipulations
String creation vs. printing of strings
Quiz style:
Done during lab time, using the computers, individually.
Focus on exercises
You will be allowed to access the API documentation of the
classes String, Scanner, Math, Random and Date.
You are allowed to bring a crib sheet,
written in only one side of a regular size piece of paper, normal font,
handwritten or
typed. It may include any notes you want to include.
It should include your name and student number.
You will submit it and it will be returned to you.
Quiz during Class time #2. Week 7 Tuesday October 19.
It took place during the usual class time, paper and pen/cil.
while loops, do while loops, if statements, for loops
while loops with two conditions
avoinding breaks
defining classes of objects: instance data, constructors,
getter and setter methods, toString methods.
driver or tester classes: creating new objects of defined
classes and invoking methods through them
UML class diagrams - at most a couple classes and only
the "uses" relation.
Quiz style:
Done during the usual class time, paper and pen/cil .
Focus on some conceptual questions, understanding of code AND ALSO
coding exercises.
You are allowed to bring a crib sheet,
written in up to 2 sides of a regular size piece of paper,
normal font, handwritten or typed. It may include any notes you may want to include.
It should include your name and student number.
You will submit the crib sheet and it will be returned to you.
if you are interested in getting your previous quiz crib sheet you can
get it before the quiz starts (please ask for it). In that case you may
bring an additional one side crib sheet.
MIDTERM EXAM Week 10, Tuesday November 9
It took place during the usual class time, paper and pen/cil.
returning more than one value from a method (HashMap not tested)
encapsulation, public/private variables and methods
static/non static variables and methods
defining and using classes where the instance variables are
arrays of objects and or multidimensional arrays
Midterm style:
Done during the usual class time, paper and pen/cil .
Focus on some conceptual questions, understanding of code AND ALSO
coding exercises.
You are allowed to bring a crib sheet,
written in up to 3 (THREE) sides of a regular size
piece of paper,
normal font, handwritten or typed. It may include any notes you may want to include.
It should include your name and student number.
You will submit the crib sheet and it will be returned to you.
if you did not pick up your previous quiz crib sheet you can
get it before the quiz starts (please ask for it). In that case you may
bring an additional one side crib sheet.
Quiz #3, it was a take home version
Topics coverage:
Recursion and Array lists.
Corresponding posted lecture notes: 19 to 24
Exercises seen in class (posted in the Examples section)
Solutions to lab exercises (corresponding to lab week #9 and lab week #10)