Computer Science Paper 2 OCR GCSE (9-1) Unofficial Mark scheme Watch

ThomasClay
Badges: 10
Rep:
?
#1
Report Thread starter 7 months ago
#1
This is the discussion about the ocr gcse computer science paper 2 which was sat on the 17th of May 2018
Posted on the TSR App. Download from Apple or Google Play
0
reply
peeked
Badges: 18
Rep:
?
#2
Report 7 months ago
#2
For the logic question did you get 1,1,1,0?
5
reply
ThomasClay
Badges: 10
Rep:
?
#3
Report Thread starter 7 months ago
#3
2 programming constructs were ITERATION and SEQUENCING
Posted on the TSR App. Download from Apple or Google Play
3
reply
Georgev1337
Badges: 3
Rep:
?
#4
Report 7 months ago
#4
the binary to hex question was B5
3
reply
peeked
Badges: 18
Rep:
?
#5
Report 7 months ago
#5
(Original post by ThomasClay)
2 programming constructs were ITERATION and SEQUENCING
, I put for loop and print function, at least it was only 2 marks
0
reply
peeked
Badges: 18
Rep:
?
#6
Report 7 months ago
#6
(Original post by Georgev1337)
the binary to hex question was B5
Yeah I got B5
0
reply
sbalfe16
Badges: 9
Rep:
?
#7
Report 7 months ago
#7
boi it was 2,4,6
2
reply
ThomasClay
Badges: 10
Rep:
?
#8
Report Thread starter 7 months ago
#8
(Original post by sbalfe16)
boi it was 2,4,6
My G
Posted on the TSR App. Download from Apple or Google Play
0
reply
ThomasClay
Badges: 10
Rep:
?
#9
Report Thread starter 7 months ago
#9
(Original post by sbalfe16)
boi it was 2,4,6
How many times did it run?
Posted on the TSR App. Download from Apple or Google Play
0
reply
RocksLikeA13055
Badges: 3
Rep:
?
#10
Report 7 months ago
#10
(Original post by peeked)
For the logic question did you get 1,1,1,0?
yea thats exactly what i got
2
reply
RocksLikeA13055
Badges: 3
Rep:
?
#11
Report 7 months ago
#11
(Original post by Georgev1337)
the binary to hex question was B5
yess 1 right
0
reply
RocksLikeA13055
Badges: 3
Rep:
?
#12
Report 7 months ago
#12
(Original post by ThomasClay)
2 programming constructs were ITERATION and SEQUENCING
oh wow. i wrote loops and indentation
0
reply
Loci Pi
Badges: 16
Rep:
?
#13
Report 7 months ago
#13
I did 'A OR (NOT B) for the logic one

B5 for hexadecimal

10000100 for the binary one

Sequence and Iteration

* for SQL Wild Card

One place left shift for doubling

M and K for variables (if I remember correctly)

ASCII in 7 bits, extended ASCII in 8 bits so it has more combinations for characters.
2
reply
jkdsjksd
Badges: 1
Rep:
?
#14
Report 7 months ago
#14
(Original post by peeked)
For the logic question did you get 1,1,1,0?
yep
0
reply
RocksLikeA13055
Badges: 3
Rep:
?
#15
Report 7 months ago
#15
(Original post by ThomasClay)
How many times did it run?
i got 3 * 5 which was 15
2
reply
Loci Pi
Badges: 16
Rep:
?
#16
Report 7 months ago
#16
What did everyone get for the 2nd question about the first 3 numbers output and how many times does line 3 repeat?
0
reply
RocksLikeA13055
Badges: 3
Rep:
?
#17
Report 7 months ago
#17
What did you guys get for the SQL command question that outputs all the items in the database. i Wrote
If 1=1
0
reply
ThomasClay
Badges: 10
Rep:
?
#18
Report Thread starter 7 months ago
#18
(Original post by RocksLikeA13055)
i got 3 * 5 which was 15
Ahh sh*t yeh! I added
Posted on the TSR App. Download from Apple or Google Play
0
reply
samsam78910
Badges: 6
Rep:
?
#19
Report 7 months ago
#19
Alright, these are the questions I remember:
The SQL ones:
Data types: string / text, integer, boolean
SQL statement: SELECT StudentName FROM Conduct WHERE Points < 0
Wildcard: * (an asterik)

Algorithm:
If studentdata [3] == "TRUE" then
Print ("sent")
Else
Print ("not sent")
Endif

For the algorithm with the nested for loop:
First three outputted numbers: 2,3,4 (not sure about this)
Number of times line 3 repeats: 15
Define a variable: stores a data value under an identifier which links to a memory location. The value can change at any time whilst the programme is running
The two variables: could have been m,k or p

The library code question:
The parameter was "year"
The number in .subString () was 3
The next line is assigning it to any variable name (I named it "code")

The algorithm:
Title = input ("enter title")
Year = input ("enter year")
code = librarycode (title, year)
file = openWrite ("books.txt") - can't remember the file name
file.writeLine (code)
file.close ()

Difference between a function and a procedure:
Functions always return at least one value whereas parameters don't return a value.

Advantages of subprograms:
- useful when you need to repeat code in diferent places in a program
-more structure and readability
-cuts down on amount of code
(+explanation as 4 marks)

For the infinite loop question:
The first two were infinite the second two were not.

Algorithm to count to 10:
For k = 1 to 10
print k
next k

132 in binary: 10000100
Binary to hex : B5
To double number: left shift 1 place
That's what I remember
2
reply
RocksLikeA13055
Badges: 3
Rep:
?
#20
Report 7 months ago
#20
(Original post by Loci Pi)
What did everyone get for the 2nd question about the first 3 numbers output and how many times does line 3 repeat?
for that i got 2,3,4
and the next one was 3*5 which was 15
1
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

University open days

  • University of East Anglia
    All Departments Open 13:00-17:00. Find out more about our diverse range of subject areas and career progression in the Arts & Humanities, Social Sciences, Medicine & Health Sciences, and the Sciences. Postgraduate
    Wed, 30 Jan '19
  • Aston University
    Postgraduate Open Day Postgraduate
    Wed, 30 Jan '19
  • Solent University
    Careers in maritime Undergraduate
    Sat, 2 Feb '19

Brexit: Given the chance now, would you vote leave or remain?

Remain (1065)
79.01%
Leave (283)
20.99%

Watched Threads

View All