tag:blogger.com,1999:blog-6077811990350817164.post5947435511398428230..comments2015-01-07T08:07:10.384-08:00Comments on Computer Science: Exam Question Siminhttp://www.blogger.com/profile/13966425210428915012noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-6077811990350817164.post-52380398151090721192014-09-30T07:54:03.442-07:002014-09-30T07:54:03.442-07:00This question is out of 28 marks and makes up a fa...This question is out of 28 marks and makes up a fair proportion of the January 2009 F452 paper. The mark scheme is as follows:<br />A. 4<br />B. 8<br />C. I 2 ii 2<br />D. 4<br />E. 8<br />This was not set in exam conditions but in the exam you should look to spend no more than 25 minutes on this question.<br />You scored the following on each question<br />A. 4<br />B. 6<br />C. I 2 ii 2<br />D. 4<br />E. 2<br />Total = 20<br />Look at what you missed:<br /><br />A. Correct<br />B. <br />There is a facility for scrolling for more ingredients than the screen can fit<br />There is a button to start over/clear data<br />There is a button to save ingredient data/add a line of ingredients<br />There is a button to close the program<br />Optimal use of screen<br />Space for ingredient and recipe name long enough (at least 10 characters)<br /><br />C. Correct<br /><br />D. Correct<br /><br />E.<br />Input NewNumberOfPeople (from user)<br />Open both files<br />...one for Input/Reading, one for output/writing<br />Read a line of text (recipe name) from Input file<br />Write that line to output file<br />Read a line of text from input<br />Write NewNumberOfPeople to output file / scale number of people from input file<br />Repeat ... / use a loop to read line by line<br />Read a line of text from Input<br />Calculate new recipe quantity<br />Replace quantity in string<br />Write string to output file<br />Until input file gets to end of file<br />Close all files (which have been opened)<br /><br />Simin, I am pleasantly surprised by this. You have given every question a good go and even though E was set as the higher level question you have attempted it and for this I applaude you.<br />You are working at a A/B grade at the moment which is excellent and I am very impressed with the way you work and conduct yourself. Look at where you dropped marks and we will go over these questions on Thursday. Well done!<br />Anonymousnoreply@blogger.com