New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Higher Pseudocode Practice Fill in The Blanks

Fill in the Blanks

Played 9

About this activity

Practice Pseudocode

Created by

United Kingdom

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Higher Pseudocode Practice Fill in The Blanks
 

Fill in the Blanks

Higher Pseudocode Practice Fill in The BlanksOnline version

Practice Pseudocode

by Mrs Robbie
1

An online game measures a player ? s reaction time to seeing a green dot appear on the screen .
Each time someone plays the game , their name , e ? mail address , attemptID , and reaction time to the nearest thousandth of a second is stored .

Sample data is shown below .
Lucy Scott , lscott@hmail . com , lscott8 , 0 . 215

Using a programming language of your choice , define a suitable record structure to store a player ? s data .

RECORD IS
( STRING ,
email ,
STRING ,
REAL )

2

Using a programming language of your choice , declare a variable called allPlayers that could be used to store details for 10 000 attempts . Your answer should make use of the record data structure defined in part 1 .

DECLARE ( ) AS OF

3

The predefined function used in Python to convert text to ASCII is

4

The predefined function used in Python to convert an ASCII character into text is

5

The predefined function used in Python to find the remainder of a division ( ) is %

6

Reading the details of 200 games into an array called gameData in Python :

f = ( " Games . csv " , " " )
for counter in ( 0 , ) :
line = . ( )
line = line . ( 'n' )
line = line . ( ' , ' )
gameData [ counter ] . gameName = line [ ]
gameData [ counter ] . cost = int ( [ 1 ]
f . ( )

7

SET TO arrayName [ 0 ]
SET maxPosition TO 0
FOR FROM 1 TO DO
IF arrayName [ ] maximum THEN
SET maximum TO arrayName [ counter ]
SET TO
END IF
END FOR
" The name of the person with the max score is " & name ( )

8

#Search for an item of stock and display its stock level

searchItem = ( " Enter stock item to search for : " )
found =
foundPosition = 0

for in ( 0 , 10 ) :
if stockName [ counter ] = = :
found =
foundPosition =

if = = True :
( " The " , searchItem , " stock level is " , stockLevel [ ] )
else :
print ( " Not found " )

9


RECEIVE value FROM ( INTEGER ) KEYBOARD
FOR counter FROM 0 TO endOfList DO
IF age [ counter ] = THEN
+
END IF
END FOR
" The number of people of the age " & value & " is " & "

10

file to
FOR counter 1 TO endOfFile
WRITE value1 ( ) TO file
WRITE value2 ( counter ) TO file
END

Are you sure you want to leave the page?

If you leave the page, you will lose your game progress.