
Sequence and selection
Authored by Ed Smith
Computers
9th - 10th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
1. The following pseudocode tests how quickly a user can type a given sentence without making any mistakes.
The statement time.clockTick() returns the number of seconds elapsed since the program started followed by the number of characters in the sentence typed.
What type of variable is each of the following?
a) mistakeMade
2.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
1. The following pseudocode tests how quickly a user can type a given sentence without making any mistakes.
The statement time.clockTick() returns the number of seconds elapsed since the program started followed by the number of characters in the sentence typed.
What type of variable is each of the following?
b) n
3.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
1. The following pseudocode tests how quickly a user can type a given sentence without making any mistakes.
The statement time.clockTick() returns the number of seconds elapsed since the program started followed by the number of characters in the sentence typed.
What type of variable is each of the following?
c) totalTime
4.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
1. The following pseudocode tests how quickly a user can type a given sentence without making any mistakes.
The statement time.clockTick() returns the number of seconds elapsed since the program started followed by the number of characters in the sentence typed.
What type of variable is each of the following?
d) sentence
5.
FILL IN THE BLANK QUESTION
3 mins • 2 pts
e) What does line 16 do?
6.
FILL IN THE BLANK QUESTION
3 mins • 3 pts
f) Alter the program so that instead of storing the sentence “The quick brown fox jumped over the lazy dog”, the user can enter the sentence on which they will be timed.
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
2. A customer entering security details when logging in to a bank website is asked to enter three random characters from their password, which must be at least 8 characters long and contain no spaces. Assume that in this case the password is HC&dt2016.
The letters are then compared to those in the password held on file for that customer. Kelly has a first attempt at writing pseudocode for the algorithm.
(a) What value is assigned to numChars at line 2?
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
16 questions
Unit 8 Practice Test For CSP
Quiz
•
9th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
10 questions
Network Security
Quiz
•
9th - 11th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
15 questions
LA1.C1: Introduction to Small Basic
Quiz
•
9th Grade
13 questions
Melody Tone
Quiz
•
9th Grade
13 questions
WJEC GCSE ICT Unit 1 E-Mail
Quiz
•
9th - 10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade