[Year 12 SofDev] Your homework!

Frank Van Den Boom vandenboomfj at aquinas.vic.edu.au
Fri Oct 12 13:13:59 EST 2007


My kids did this trial paper this morning - this was not a good
question. It would have been helpful if the question had a few words
explaining what the algorithm was intended to do. There are any number
of answers to this when it is this open.

Btw, I still thought this was a good trial paper - lots of other good
questions. The case study was good though it had some similarities to
last years EOY paper.

Frank 

-----Original Message-----
From: sofdev-bounces at edulists.com.au
[mailto:sofdev-bounces at edulists.com.au] On Behalf Of Mark Kelly
Sent: Friday, 12 October 2007 1:09 PM
To: Year 12 Software Development Teachers' Mailing List
Subject: [Year 12 SofDev] Your homework!

Refer to SD VITTA exam 2, Q10b - algorithm...

Module Print_marks
Begin
     Display heading
     Enter Test_mark1
     Enter Test_mark2
     If Test_mark1 < 0 or Test_mark1 > 100
         Display error message
         End program
     Else
         Display prompt for user
         Input Test_mark1
     End if
     Test_total <- Test_mark1 + Test_mark2
     Case of Test_total
     Case: Test_total > 100
         Display 'S'
     Case: Test_total >= 160
         Display 'HD'
     Case: Test_total < 100
         Display 'F'
     End Case
End

Q10b. Under what circumstances will the user be asked to enter
'Test_mark1' again?

The suggested answer is "If test_mark1 is < 0 or > 100"

Can you spot something rather odd with this?
Only 4 of my 13 kids did :-)

--
Mark Kelly
Manager - Information Systems
McKinnon Secondary College
McKinnon Rd McKinnon 3204, Victoria, Australia Direct line / Voicemail:
8520 9085 School Phone +613 8520 9000 School Fax +613 95789253 kel AT
mckinnonsc.vic.edu.au

Webmaster - http://www.mckinnonsc.vic.edu.au IT Lecture notes:
http://vceit.com
Moderator: IT Applications Mailing List

You'll know when we are officially a civilised race: our schools have
all the money they need and the Air Force has to run a chook raffle to
buy a new bomber.

_______________________________________________
http://www.edulists.com.au
IT Software Development Mailing List kindly supported by
http://www.vcaa.vic.edu.au - Victorian Curriculum and Assessment
Authority and
http://www.vitta.org.au/vce/studies/infotech/softwaredevel3-4.html  -
VITTA Victorian Information Technology Teachers Association Inc

This email and any attachments may be confidential. If you are not the intended recipient, you must not disclose 
or use the information in this mail. If received in error, please notify the sender or the College immediately 
and delete the email and all copies. The College does not guarantee that this email is virus or error free. 
Any attached files may only be used on the basis that the user assumes all responsibility for any loss, damage 
or consequence resulting directly or indirectly from the use of the attached files, whether caused by the negligence 
of the sender or not. The content and opinions in this email are not necessarily those of the College.
 



More information about the sofdev mailing list