Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Document preview thumbnail
Voorbeeld 4 van de 52 pagina's
Tentamen (uitwerkingen)

GCSE Computer Science OCR J277/02 Computational thinking algorithms programming GCSE computing revision pseudocode flowcharts programming concepts problem solving logic exam paper with mark scheme computing assessment

Document preview thumbnail
Voorbeeld 4 van de 52 pagina's

tuesday 20 May 2025 – Afternoon GCSE (9–1) Computer Science J277/02 Computational thinking, algorithms and programming Time allowed: 1 hour 30 minutes Do not use: • a calculator Please write clearly in black ink. Do not write in the barcodes. Centre number Candidate number First name(s) Last name 2025 OCR GCSE Computer Science J277/02 Computational thinking, algorithms and programming Complete Question paper with Marking Scheme Combined INSTRUCTIONS • Use black ink. • Write your answer to each question in the space provided. If you need extra space use the lined pages at the end of this booklet. The question numbers must be clearly shown. • Answer all the questions. INFORMATION • The total mark for this paper is 80. • The marks for each question are shown in brackets [ ]. • This document has 20 pages. ADVICE • Read each question carefully before you start your answer. • We advise you to spend approximately 50 minutes on Section A and approximately 40 minutes on Section B. © OCR 2025 [601/8355/X] DC (WW/JG) 355817/3 OCR is an exempt Charity Turn over

Voorbeeld van de inhoud

20251202204238_692f4f3e3d676_ngcr__56_.docx
20251202204238_692f4f3e3d676_ngcr__56_.docx 20251202204238_692f4f3e3d676_ngcr__56_




2025 OCR GCSE Computer Science
J277/02 Computational thinking, algorithms and programming
Complete Question paper with Marking Scheme Combined


Tuesday 20 May 2025 – Afternoon
GCSE (9–1) Computer Science
J277/02 Computational thinking, algorithms and programming
Time allowed: 1 hour 30 minutes

Do not use:
• a calculator




Please write clearly in black ink. Do not write in the barcodes.

Centre number Candidate number
INSTRUCTIONS
• Use black ink.
• Write your answer to each question in the space provided. If you need extra space use
First name(s)
the lined pages at the end of this booklet. The question numbers must be clearly shown.
• Answer all the questions.
Last name
INFORMATION
• The total mark for this paper is 80.
• The marks for each question are shown in brackets [ ].
• This document has 20 pages.

ADVICE
• Read each question carefully before you start your answer.
• We advise you to spend approximately 50 minutes on Section A and approximately
40 minutes on Section B.


© OCR 2025 [601/8355/X] OCR is an exempt Charity
DC (WW/JG) 355817/3 Turn over




20251202204238_692f4f3e3d676_ngcr__56_.docx 5/29/2026 20251202204238_692f4f3e3d676_ngcr__56_.docx

,20251202204238_692f4f3e3d676_ngcr__56_.docx
20251202204238_692f4f3e3d676_ngcr__56_.docx 20251202204238_692f4f3e3d676_ngcr__56_



2
Section A

We advise you to spend approximately 50 minutes on Section A.

1 A program asks a user to enter a number. Only integer values between 1 and 100 (inclusive) are
accepted. The program is tested.

(a) Tick (✓) one or more boxes in each row to identify the type or types of test for each example of
test data.

Invalid /
Example Normal Boundary
erroneous
test data test data test data
test data

27


"Hello"


105


100

[4]

(b) An algorithm is written for the program.

(i) Complete the algorithm for the program.

num = input("Enter a number between 1 and 100")

if num ........................................ AND ..............................................then

print("accepted")

........................................

print("not accepted")

endif
[3]

(ii) Give the identifier of one variable used in the algorithm in part (b)(i).

. ................................................................................................................................................. [1]

(iii) Give one Boolean operator used in the algorithm in part (b)(i).

. ................................................................................................................................................. [1]




© OCR 2025




20251202204238_692f4f3e3d676_ngcr__56_.docx 5/29/2026 20251202204238_692f4f3e3d676_ngcr__56_.docx

,20251202204238_692f4f3e3d676_ngcr__56_.docx
20251202204238_692f4f3e3d676_ngcr__56_.docx 20251202204238_692f4f3e3d676_ngcr__56_



3
2 This flowchart uses iteration.


Start



INPUT x



OUTPUT "OK"



x = x - 2



FALSE
IS x < 0?


TRUE

End


(a) Complete the table by identifying how many times "OK"will be output for when each value is input.

Input value Number of times "OK"is output

3


10

[2]

(b) Iteration is a programming construct.

(i) Identify and describe two different examples of iteration that can be used in a high-level
language.

1 .......................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

2 .......................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................
[4]
© OCR 2025 Turn over



20251202204238_692f4f3e3d676_ngcr__56_.docx 5/29/2026 20251202204238_692f4f3e3d676_ngcr__56_.docx

, 20251202204238_692f4f3e3d676_ngcr__56_.docx
20251202204238_692f4f3e3d676_ngcr__56_.docx 20251202204238_692f4f3e3d676_ngcr__56_



4
(ii) Give the names of two other programming constructs that are used in a high-level language.

1 .......................................................................................................................................................

2 .......................................................................................................................................................
[2]

(c) A programmer implements the flowchart as a program in a high-level language using an
Integrated Development Environment (IDE).

Identify and describe two tools that the programmer could use in the IDE to create a program
from the flowchart.

Tool 1 ................................................................................................................................................

Description .......................................................................................................................................

..........................................................................................................................................................

Tool 2 ................................................................................................................................................

Description .......................................................................................................................................

..........................................................................................................................................................
[4]




© OCR 2025




20251202204238_692f4f3e3d676_ngcr__56_.docx 5/29/2026 20251202204238_692f4f3e3d676_ngcr__56_.docx

Documentinformatie

Studie
Geüpload op
1 juni 2026
Aantal pagina's
52
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden
$10.78

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kan je een ander document kiezen. Je kan het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Verkocht
4
Volgers
0
Items
101
Laatst verkocht
2 maanden geleden



Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo eenvoudig kan het zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen