[Year 12 SofDev] Your homework!

Russo, Frank R Russo.Frank.R at edumail.vic.gov.au
Fri Oct 12 13:33:06 EST 2007


>From a quick glance the code it will not ask for the Mark to be input
again but rather end program if the score is less than 0 or above 100 !!

Logically that is the answer they are looking for but if they put in a
score between 1 and 99 it will ask for the Mark to be input again ??

Frank

Frank Russo
ICT ~ Teaching & Learning
Monterey Secondary College
-----Original Message-----
From: sofdev-bounces at edulists.com.au
[mailto:sofdev-bounces at edulists.com.au] On Behalf Of Frank Van Den Boom
Sent: Friday, 12 October 2007 1:14 PM
To: Year 12 Software Development Teachers' Mailing List
Subject: RE: [Year 12 SofDev] Your homework!

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.
 

_______________________________________________
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

Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Early Childhood Development.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Russo, Frank R.vcf
Type: text/x-vcard
Size: 524 bytes
Desc: Russo, Frank R.vcf
Url : http://www.edulists.com.au/pipermail/sofdev/attachments/20071012/e24247aa/RussoFrankR.vcf


More information about the sofdev mailing list