[Year 12 SofDev] 2007 exam

Juliana Pang pang.juliana.c at edumail.vic.gov.au
Wed Nov 12 13:24:59 EST 2008


The code that is relevant for this is in the second repeat loop: 

 

Ingredient_ID <- 1

Repeat 

                Ingredient_ID <- Ingredient_ID + 1

                                ... 

                                ... 

Until Ingredient_ID = Num_Ingredients

 

We first allocate the value of 1 to ingredient_ID, then straightaway
increment ingredient_ID again in the repeat loop. Effectively, we're
starting the count at ingredient_ID=2 and have skipped ingredient_ID = 1.
To fix this error (part d), you can either set the initial line to
Ingredient_ID <- 0, or alternatively, move the increment line at the top of
the repeat loop to the end of the loop. 

 

 

 

Regards

Juliana Pang

 

IT/Maths Teacher

East Doncaster Secondary College

20 George Street, East Doncaster, 3109

Telephone +61 3 9842 2244

mailto:pang.juliana.c at edumail.vic.gov.au

 

 

 

From: sofdev-bounces at edulists.com.au [mailto:sofdev-bounces at edulists.com.au]
On Behalf Of EDWARDS. John
Sent: Wednesday, 12 November 2008 1:50 PM
To: Year 12 Software Development Teachers' Mailing List
Subject: [Year 12 SofDev] 2007 exam

 

Hi Guys,

 

I was going through the 2007 past paper with a student and had difficulty
with the test data question 3c, in Section C. I have read the examiner's
report but still had difficulty. If anyone has a spare moment (he laughs)
would you be able to have a quick look at it for me.

 

Many Thanks,

 

John Edwards

-----Original Message-----
From: sofdev-bounces at edulists.com.au
[mailto:sofdev-bounces at edulists.com.au]On Behalf Of Adrian Janson
Sent: Monday, 8 September 2008 10:40 AM
To: 'Year 12 Software Development Teachers' Mailing List'
Subject: [Year 12 SofDev] U4O2 Janson's Child Care

Hi everyone,

 

Here is my U4O2 Janson's Child Care test.  

 

http://archive.vitta.org.au/resources/detail.php?doc_id=3491

 

I have also uploaded my suggested solutions.

 

http://archive.vitta.org.au/resources/detail.php?doc_id=3492

 

Cheers,

Adrian

 

Adrian Janson, 

VITTA President

Director of ICT, 

Melbourne High School, 

Forrest Hill, South Yarra 3141 Australia.

Phone: 03 9826 0711 International: +61 3 9826 0711

Fax: 03 9826 8767 International: +61 3 9826 8767

E-mail: janson.adrian.a at edumail.vic.gov.au

Website: http://www.mhs.vic.edu.au

Blog: http://jansona.edublogs.org <http://jansona.edublogs.org/> 

 

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.

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

  _____  

Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient is
prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy and copies.

  _____  

  _____  

This e-mail message has been scanned by MailMarshal from Marshal Software,
an email content filter. 

  _____  

_______________________________________________ 
http://www.edulists.com.au  <http://www.edulists.com.au> IT Software
Development Mailing List kindly supported by 
http://www.vitta.org.au/vce/studies/infotech/softwaredevel3-4.html
<http://www.vitta.org.au/vce/studies/infotech/softwaredevel3-4.html%20%20>
- Victorian Curriculum and Assessment Authority and 
http://www.vitta.org.au  <http://www.vitta.org.au> - 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 --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/sofdev/attachments/20081112/6522fb7b/attachment-0001.html


More information about the sofdev mailing list