Font size
WorksheetsS3 Level 1
Total questions: 15
Worksheet time: 14mins
Fill in the missing code
FirstNumber = (a) (“Please enter the number of hours you played PlayStation on Saturday”)
The program needs to add points to the total.
total = (a) +score
The program needs to store a whole number of songs.
Dim Songs as (a)
The program needs to store the user's name.
Dim Name as (a)
The program requires you to store a price
Dim price as d (a)
Which one is an assignment?
Dim test as integer
do while x>5
score = score +1
Mr. Gibson is NOT a supporter of Morton
Which of the following is the code for RECEIVING length FROM (single) KEYBOARD
get length =enter message
Length = InputBox(“Please enter length of pitch”)
Length =msgbox("Please enter length")
length-getbox("Please enter length")
The program needs to store a Surname
Dim (a) as string
The program uses a text box to output a message using the variable length
txtoutputbox.appendtext("Length is "& (a) )
The line of code needs to input a time spent playing games at the weekend.
time= (a) ("Please enter the time played")
What symbol completes this line of code?
area=length (a) breadth
What is the design method shown here?
(a)
Which design method has a list of steps that can be further broken down or refined?
P
(a)
Which symbol is missing
MSGBOX (“The total number of hours I spent on PS4 over the weekend is ” _ Total
(a)
A student wants to change some code from a mobile phone to store their favorite social network
dim mobile as string
create social as string
store social as text
declare variables
dim sociaNetwork as string
