NEW
Font size
WorksheetsRevision
Total questions: 32
Worksheet time: 16mins
What is pseudocode?
A way to encode a message
A way to represent algorithms using written language
A way to decode a message
A way to represent algorithms using encrypted language
Which statement about pseudocode is correct?
There is no specific syntax
The syntax is exactly like python
There is a very strict syntax
The syntax is exactly like Arduino
Look at the code below.What is this an example of?
Sequence
Selection
Repetition
Looping
What is the meaning of the operator?
Equal to
Less than equal to
Greater than or equal to
Not equal to
Which loop do you use to repeat only 5 times?
If
For loop
Never ending loop
Selection
What operator do you use to assign a variable?
==
-
*
=
What is the error in the code?
The variable "three_years_time" is too long
Line 3 should have = not ==
There are no errors in the code
The variables on lines 1 and 2 should start with capital letters
What is the term for breaking down problems into smaller parts?
Algorithmic thinking
Abstract
Decomposition
Repetition
How would you show decomposition when programming a car simulator?
Write code for everything together at once
Write separate code for each separate part
Write code for the wheels only
Write code for the engine only
Which is the best way to represent the decision symbol in the flowchart?
Use the print statement
Use an if statement
Use an input command
Use an output command
What data type is 75?
Boolean
String
Integer
Float
Which component gives a sound output?
LED
Buzzer
Servomotor
Push button
Which component outputs light?
LED
Buzzer
Ambient light sensor
Servomotor
You are building a system. It will need to know when it is day or night. What component should you use?
LED
Buzzer
Rotation sensor
Ambient light sensor
You have a car. It does not work when it is too cold. What component can you use to help?
Buzzer
Ambient light sensor
Servomotor
Temperature sensor
What is the smallest unit of digital data?
Hexadecimal digit
Denary digit
Decimal digit
Binary digit
Which computer code do we use to store alpha-numeric text characters (characters on a keyboard) as binary digits?
Alphabet
Denary
ASCII
Hexadecimal
Some methods used to create algorithms are pseudocode and ___________.
pie charts
flowcharts
bar charts
bar charts
What is a variable?
A number
A basic data storage
A function
A value
Which data type is used to represent text?
String
Float
Integer
Boolean
What does the "print" function do in Python?
Assign values to variables
Display output on the screen
Perform mathematical operations
Inputs a value
Which computational tool can you use to collect data from the environment?
Survey
Presentation software
Infrared sensor
Google forms
Which computational tool can you use to collect data from people easily?
Motion sensor
Presentation sensor
Google forms
Infrared sensor
Look at the decision tree below. Which question will lead to a bird?
Does it have four legs? -> Can it fly?
Does it have four legs? -> Does it have paws? -> Does it bark?
Can it fly?
Does it bark? -> Can it fly? -> Does it have paws?
Why do you use data transformation?
To make data more difficult to understand
To make data cheaper to use
To make data easier to understand
To make data more expensive to use
Look at the decision tree below. Which animal do you get to if you follow these statements [It has 4 legs -> It does not have paws]?
Dog
Cat
Horse
Bird
Below is a survey of a class on popular future jobs. Why is the data biased?
There are only five jobs
No girls were asked
No boys were asked
The engineer has only two votes
Tis is a decision tree for fruit. What do we use it for?
A computer will use this to make decisions
A person will use this to see what to eat
A computer will use this to decide which color is best
A person will use this to choose the car they want
You are training an AI to identify apples and oranges. You have 20 pictures of apples and 2 pictures of oranges. The AI is not good. How can you improve it?
Have more pictures of oranges
Have fewer pictures of oranges
Have more pictures of apples
Have pictures of pears and strawberries
What question should the computer ask to get to the carrot?
Carrot
Is it a fruit or vegetable? -> Is it a fruit? -> Is it orange?
Is it a fruit? -> Kiwi -> Is it a sunflower seed?
Is it a person? -> Kiwi
Which number system has 16 different digits?
Binary
Hexadecimal
Decimal
Denary
What is the name of the character set used to represent text and numbers?
Binary
Hexadecimal
ASCII
Decimal
