N5 Computing Science: Program Constructs

Quiz
•
Computers
•
9th Grade
•
Hard
Calum Gordon
Used 8+ times
FREE Resource
25 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
This is the pseudocode for a simple guessing game.
Type a line number where a variable declaration takes place...
Answer explanation
Declarations are where variables are first mentioned in a program. This may or may not also involve assigning them an initial value.
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
This is the pseudocode for a simple guessing game.
Type the name of an integer variable ...
Answer explanation
Integer variables can contain negative or positive whole numbers, up to a certain size depending on the number of bits used to store them.
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
This is the pseudocode for a simple guessing game.
Type the name of a real/float variable ...
Answer explanation
Real variables can store Real numbers with a fractional part, like 3.14. In Python they are called "floats."
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
This is the pseudocode for a simple guessing game.
Type the name of a Boolean variable ...
Answer explanation
Boolean vriables can store a Boolean value - True or False. There are only two possible values.
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
This is the pseudocode for a simple guessing game.
Type how many variables are used in the program ...
Answer explanation
Variables are used to store values in a computer program, for later recall. They are usually given meaningful coded names to make them recogniseable.
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
This is the pseudocode for a simple guessing game.
Type the name of a variable that acts like a flag or sentinel value ...
Answer explanation
A flag or sentinel variable is a (usually) Boolean variable that is used to indicate some condition or event having taken place in a program. When the variable changes its value it signals the event having happened.
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
This is the pseudocode for a simple guessing game.
Type a line number where a conditional loop starts ...
Answer explanation
A conditional loop is a loop that repeats for an undetermined number of times until a certain condition becomes false (or true).
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
UH Pygame - Vol. 1

Quiz
•
9th - 12th Grade
25 questions
Programming Basics

Quiz
•
9th Grade
20 questions
JavaScript Game Development Newton

Quiz
•
9th Grade - University
20 questions
Academic Vocabulary

Quiz
•
7th Grade - University
20 questions
Y9 CT Creating games and simulations wk11-18 PostQuiz

Quiz
•
9th Grade
20 questions
AQA GCSE Computer Science - 3.2.10 Subroutines

Quiz
•
8th - 10th Grade
25 questions
PENILAIAN SUMATIF AKHIR SEMESTER INFORMATIKA KELAS IX

Quiz
•
9th Grade
22 questions
for loop

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade