revision and test review. int s = 10; int r; for(r=0; r
TRANSCRIPT
Lecture 6.2Revision and test review
int s = 10;int r;for(r=0; r<=4; r=r+2) {
s = s + 5;}System.out.println(s);
Put this code into Jeliot
For loops – what is the value of s ?
http://cs.joensuu.fi/jeliot/webstart.php
int thimble = 10;int needle = 3;do {
thimble = thimble - 2; needle = needle + 3;
} while(thimble > 7);System.out.println(needle);
Put the code into Jeliot
http://cs.joensuu.fi/jeliot/webstart.php
Do loops – what is the value of needle ?
int apple = 3;int banana = 5;while (apple > 0) {
banana = banana + 5;apple--;
}System.out.println(banana);
Put the code into Jeliot
http://cs.joensuu.fi/jeliot/webstart.php
While loops – what is the value of banana?
Monday November 24th 10:00 in MA112. ◦ Part-time and retake students.
Tuesday November 25th 10:00 in MI214.◦ Students who need extra time.
Thursday November 27th.◦ 12:50 pm in MI034 groups A and B◦ 12:50 pm in MI035 groups C and D◦ 12:50 pm in MI214 groups E and F◦ 11:50 am in MI035 groups J and K◦ 13:30 pm in MI034 groups G and P and S◦ 13:30 pm in MI214 groups Q and R
Arrive on time.(More than 15 minutes late not allowed to enter the room).
Start as soon as you are told you can start. Fill out dry run sheet – remember your pens and pencils. There are two different tests, your neighbour will be doing a different set of questions.
You must follow the tutor’s instructions to log on to Qmark.
What will happen in the test
Monday November 24th
◦ Part-time students and retake students MA112 starting at 10:00 am.
Tuesday November 25th ◦ Students who need extra time
Thursday November 27th.◦ Groups A and B 1:00 pm in MI034.◦ Groups C and D 1:00 pm in MI035.◦ Groups E and F 1:00 pm in MI214.◦ Groups J and K 12:00 noon in MI035.◦ Groups G and P and S 2:00 pm in MI034.◦ Groups Q and R 2:00 pm in MI214.
Dates and times of the tests
Arrive on time Bring pens and/or pencils Check which test version you are doing
◦ e.g. Test A or Test B Start completing the paper dry run as soon
as the test starts. Logon for your test (i.e. A or B) when
advised to do so.
Test Summary
You have 50 minutes to complete the whole test which includes: -◦ doing the dry run, ◦ entering your answers to the 15 questions on line, and ◦ doing the 10 Jafa type questions.
You should spend no longer than 15 to 20 minutes completing the dry run on paper, which gives you about half an hour to enter the answers to the 5 questions and then answer another 10 quiz type questions.
There is no negative marking. You will not be penalised for getting the answer wrong, so you may as well attempt each question.
How long should you spend doing the dry run?
In the last lecture, you revisited how to do a dry run and revised some of the key material that we have covered up to this week.
In the last tutorial you went through the answers to the mock test.
Some of you are not up to date with Jafa – please see your tutors to explain why you are having difficulty with this. You need to catch up before next week, or you will have significant difficulty in the test.
Essential knowledge
Have a look at this youtube video (8 mins) – not all of it is relevant to your programming test, but there is some good general advice:
http://www.youtube.com/watch?v=9BH9XMTNoMQ
Strategies for passing a multiple choice test
We hope you do well in the test next week. We will go through the test answers in the
tutorials the following week, and will get your results up on Wolf as soon as possible.
In this school, we always aim to get your results back to you for feedback within 4 weeks – this is the same as almost every other university – because this is an online test we should be able to get them to you within two weeks.
Finally....