# AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012 Tweet

Computer Science and ICT discussion, revision, exam and homework help.

Announcements Posted on
TSR launches Learn Together! - Our new subscription to help improve your learning 16-05-2013
IMPORTANT: You must wait until midnight (morning exams)/4.30AM (afternoon exams) to discuss Edexcel exams and until 1pm/6pm the following day for STEP and IB exams. Please read before posting, including for rules for practical and oral exams. 28-04-2013
Sign in to Reply
1. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
Overall I found the exam much easier than when I did it in 2010. There were a couple of things I wasn't sure on such as describing the Analogue to Digital Converter, why not to use global variables in functions and a couple of questions asking why they used a certain technique in the code, everything else went really well, I managed to complete all of the programming tasks as well

One thing that threw me was with the east/south coordinates, I assumed they started on 0, but I set a breakpoint and realised they started on 1
2. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
i thing i got a u in unit one today, which is 60%, what would i need to get an pass overall for the second unit on Tuesday, what grade would i need to get in unit 2 on Tuesday to make it an E and above, lets say i get an A in the 40% because i find it easier, what would that u go up to
3. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
(Original post by luketg8)
for the last programming challenge, I used a function, it didn't seem right to use a Sub
I used a function as well because the question said it must out put an answer.
4. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
(Original post by Oliver17)
Yeah, AQA are great ones for offering vauge, 'figure-out-what-we-mean-for-yourself' questions. Some of the wording on the questions was frustrating because I didn't know what it was asking me. As you said, with the FSM it didn't state that it wanted ones that would reach S50, just ones that would be 'accepted' - in other words, not return an error. I assumed they wanted to reach S50 though so just did easy ones like "R, R, 50", "20, R, 50" etc..
If I remember correctly, S50 had a double ring around it, which means that it's the only accepting state - so they can't really be faulted for ambiguity, there.

However, I did find one vagueness: in the graphics question, when asked which vector information would be stored for an image similar to the "eye object", did it mean that the eye object would be round, or that it would be square like the original bitmap?

I made a comment to the examiner in the paper, putting the two conditions and then my answers - does anyone know if I'll still get the mark (assuming that the answers in those situations were correct)?
5. (Original post by andyator55)
I used a function as well because the question said it must out put an answer.
I used a sub, I really don't think it matters both make sense

This was posted from The Student Room's Android App on my GT-S5570
6. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
(Original post by moorbre)
I used a sub, I really don't think it matters both make sense

This was posted from The Student Room's Android App on my GT-S5570
As long as the answer got out into the program im sure it doesn't matter
7. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
I worked out I should get full marks for the programming(Section B and D) and 13/15 for the Section C. So thats 66 marks already. Should get 20 marks atleast from the Section A so I think, a GRADE A is on
8. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
What did people get for the first question? I couldn't remember if it was to be sampled at double the value or half the value during the exam (silly brain). I think I used doubled, so 600Hz, but I can't be sure.
9. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
(Original post by SamKennedy)
Overall I found the exam much easier than when I did it in 2010. There were a couple of things I wasn't sure on such as describing the Analogue to Digital Converter, why not to use global variables in functions and a couple of questions asking why they used a certain technique in the code, everything else went really well, I managed to complete all of the programming tasks as well

One thing that threw me was with the east/south coordinates, I assumed they started on 0, but I set a breakpoint and realised they started on 1
i think it went really well the only thing i struggled on was the last 2 questions i couldnt do them so -16 marks for me but everything else i didnt find anything particularly difficult it seemed fine(i think haha)
10. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
(Original post by Lfctv)
Sooooo hard I know I failed
lol the theory questions were okay section B was okay and C was okay if you had revised the skeleton code the only thing u had to really worry about was section D for me the 1st two questions were easy but the last two i got stuck and i couldnt figure out how to solve it so just ended up giving up and leaving it
11. (Original post by Zadok The Priest)
What did people get for the first question? I couldn't remember if it was to be sampled at double the value or half the value during the exam (silly brain). I think I used doubled, so 600Hz, but I can't be sure.
I got 600 Hz also

This was posted from The Student Room's Android App on my GT-S5570
12. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
(Original post by Zadok The Priest)
If I remember correctly, S50 had a double ring around it, which means that it's the only accepting state - so they can't really be faulted for ambiguity, there.

However, I did find one vagueness: in the graphics question, when asked which vector information would be stored for an image similar to the "eye object", did it mean that the eye object would be round, or that it would be square like the original bitmap?

I made a comment to the examiner in the paper, putting the two conditions and then my answers - does anyone know if I'll still get the mark (assuming that the answers in those situations were correct)?
That's exactly what I thought so I put

If eye is square:
-
-
-

But, if eye is round:
-
-
-
13. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
(Original post by TipTapToe)
That's exactly what I thought so I put

If eye is square:
-
-
-

But, if eye is round:
-
-
-
Excellent, glad I'm not the only one.

Also, whilst anything which got the job done would presumably be allowed, what method did everyone use on the last (number of cells between player and monster) question?

I subtracted the vertical component of the player position from the monster position, then did the same for the horizontal component. Then, because these could be negative values, I squared them both, and then square-rooted them before adding the values. Were there any easier ways to do it (other than seeing which was the largest, first)?
14. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
(Original post by Zadok The Priest)
Excellent, glad I'm not the only one.

Also, whilst anything which got the job done would presumably be allowed, what method did everyone use on the last (number of cells between player and monster) question?

I subtracted the vertical component of the player position from the monster position, then did the same for the horizontal component. Then, because these could be negative values, I squared them both, and then square-rooted them before adding the values. Were there any easier ways to do it (other than seeing which was the largest, first)?
So you basically used pythagaras to find the diagonal distance between the monster and the player? I was going to do this, but then I realised that the monster cannot move diagonally so I just left it like this:
Number of Cells away from Monster (North)
Number of Cells away from Monster (West)

Hoping for some marks anyway :P
15. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
Find the absolute value of the vertical distance
Find the absolute value of the horizontal distance

Add them together

Doing it this way means it doesn't matter whether you subtract the monster's position or the player's position
16. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
(Original post by xDanny 117)
So you basically used pythagaras to find the diagonal distance between the monster and the player? I was going to do this, but then I realised that the monster cannot move diagonally so I just left it like this:
Number of Cells away from Monster (North)
Number of Cells away from Monster (West)

Hoping for some marks anyway :P
No, I took the values for the vertical distance between player & monster and the horizontal distance between player & monster, and added them together.
The only reason I squared and square-rooted the number was to make both numbers a positive value.

E.g.
Monster is at (3 , 5), player is at (6 , 7).
Vertical distance = 3 - 6 = -3
Horizontal distance = 5 - 7 = -2
These are negative numbers, but I wanted the positive distance, so I squared the numbers, then square rooted. e.g. (-3)^2 = 9, Sqrt(9) = 3, (-2)^2 = 4, Sqrt(4) = 2.
Then the positive distances were added together, making 5.
17. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
(Original post by Zadok The Priest)
Excellent, glad I'm not the only one.

Also, whilst anything which got the job done would presumably be allowed, what method did everyone use on the last (number of cells between player and monster) question?

I subtracted the vertical component of the player position from the monster position, then did the same for the horizontal component. Then, because these could be negative values, I squared them both, and then square-rooted them before adding the values. Were there any easier ways to do it (other than seeing which was the largest, first)?
they were talking about the square so all u had to say was line colour, line thickness and x,y co ordinates
18. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
(Original post by pleasedtobeatyou)
Find the absolute value of the vertical distance
Find the absolute value of the horizontal distance

Add them together

Doing it this way means it doesn't matter whether you subtract the monster's position or the player's position
I used the Math.Abs() function in VB do you think this is acceptable?
19. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
(Original post by Zadok The Priest)
Excellent, glad I'm not the only one.

Also, whilst anything which got the job done would presumably be allowed, what method did everyone use on the last (number of cells between player and monster) question?

I subtracted the vertical component of the player position from the monster position, then did the same for the horizontal component. Then, because these could be negative values, I squared them both, and then square-rooted them before adding the values. Were there any easier ways to do it (other than seeing which was the largest, first)?
I did:

//For south

if player positon - monster position > 1 then
tempSouth <-- Playerposition - monster position
else
temp south <-- Monsterposition - Playerposition

//For East

if player positon - monster position > 1 then
tempEast <-- Playerposition - monster position
else
tempEast <-- Monsterposition - Playerposition

FunctionName <-- TempEast + TempSouth

I'm sure they'll accept Math.Abs() as well; AQA always say that they'll accept valid alternatives.

What did you put for the saving a binary file vs saving as a text file?
Last edited by TipTapToe; 25-05-2012 at 18:16.
20. Re: AQA Computing COMP1 (Unit 1) Exam 25th May (June) 2012
Heh,

I just ran 2 loops, Copied the if statements from the MakeMonsterMove function and made a distance = distance + 1 until MonsterPosition.NoOfCellsSouth/East = PlayerPosition.NoOfCellsSouth/East

Cheers!
Rahul
Sign in to Reply
Share this discussion:
Article updates
Moderators

We have a brilliant team of more than 60 volunteers looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is moderated by:
Reputation gems:
The Reputation gems seen here indicate how well reputed the user is, red gem indicate negative reputation and green indicates a good rep.
Post rating score:
These scores show if a post has been positively or negatively rated by our members.