Font size
WorksheetsCoding Quiz Challenge
Total questions: 60
Worksheet time: 18mins
Which option solves this maze?
What is coding?
Coding is the set of instructions that tells a computer what to do.
It is the name of a person.
It's a game on the computer.
It is a maze game on the computer.
Finding and fixing errors in a program.
debugging
decompose
digital footprint
variables
A piece of code with multiple steps that have been simplified down to one command which you can easily call over and over again.
digital footprint
run program
abstraction
function
Statements that can only run under certain conditions or situations, such as: if the seat is taken, then move to the next available seat.
conditionals (if/then statements)
variable
abstractions
binary
A letter or symbol to which a value can be assigned.
Variable
Output
Bug
What is a bit?
A larger unit of 8 bits to store a single character
The smallest unit of data a computer can process that consists of 0 and 1.
The smallest unit of data a computer can process that consists of on and off.
Computer represents data using...
binary
decimal
hexadecimal
octal
A list of steps to finish a task.
coding
abstraction
algorithm
binary
artificial intelligence
A computer language that allows users to create programs by manipulating graphical elements rather than writing code using text.
algorithm
binary
block-based programming
computer science
data
The ability of some machines to perform tasks that demonstrate they can be almost as smart as a human being.
coding
abstraction
algorithm
binary
artificial intelligence
................... run a block of code a set number of times.
While Loop
Loop
For Loop
............. run an unknown or unspecified number of times
For Loop
Loop
While Loop
An open-source operating system designed to run on multiple types of devices, such as laptops, phones, tablets, robots, and many others.
Microsoft
Linux
Apple
A variable
is a placeholder for a piece of information that can change.
is like a bucket for holding information.
can be written as letters or with longer words.
all of these
Which symbol means "not equal to"?
==
<=
>=
!=
This is a catch-all for every other situation besides the one where the condition is true.
then
do
else
if
What is syntax?
A catch-all for every other situation besides true.
Pieces of code that direct the program to run in different ways depending on what else is happening.
A set of rules for how a language is written.
English, Chinese, or Spanish.
Coding is:
Python, JavaScript, Java, PHP, and Ruby
the action of writing instructions for a computer in a language that it can understand.
a language that is more precise than English but less precise than a coding language.
a specific action to be taken if the condition is false.
A program is:
a series of steps to complete a task that a computer can understand.
Python, JavaScript, Java, PHP, and Ruby
the action we want the program to take.
a condition that is false.
A step-by-step process, or a defined list of steps required to accomplish a goal
algorithm
variable
string
module
True or False:
There are only 3 different programming languages.
True
False
A plain language description of the steps in an algorithm or another system.
pseudocode
sprite
loop until
variable
What does LED stand for?
Light Emitting Device
Light Emitting Diode
Light Emiting Diode
Light Emiting Device
A drag-and-drop programming language used to learn the basics of coding.
blockly
algorithm
loop
sprite
The action of doing something over and over again.
loop
sprite
event
debugging
What does IDE stand for?
In Deep Environment
Integrated Development Environment
Internal Deep Escape
IDE
Identify this component
Uno Cards
Raspberry Pi
Arduino Duo Board
Arduino Uno Board
Identify this component
Arduino Uno board
Raspberry Pi
Breadboard / Protoboard
White Plastic Board
What is the main difference between the data types "int" and "float"?
Data type int is real and float is made up
Data type int can be in decimals and float must be whole numbers
There is no difference
Data type int must be whole numbers and float can be in decimals
_____ is the list of commands in Scratch.
_____ the characters in Scratch.
Sprite, Script
Script, Sprite
Scratch, Sprite
Script, Scratch
What is the name of the sensor that measures distance?
Color
Gyro
Ultrasonic
Touch
Who developed the Python Programming Language?
a) Wick van Rossum
b) Rasmus Lerdorf
c) Guido van Rossum
d) Niene Stom
Which of the following is the correct extension for a Python file?
a) .python
b) .pl
c) .py
d) .p
Which of the following character(s) is/are used to give single-line comments in Python?
a) //
b) #
c) !
d) /*
What will be the output of the “hello” + 1 + 2 + 3?
a) hello123
b) hello
c) Error
d) hello6
In the following code, "city" is an example of what?
List
Loop
Variable
Array
What is the Python built-in function to convert a number to a string?
str()
int()
parseInt()
convert
What would this print?
Error
Suppose you have a variable defined a = "4". What is the variable type of a?
str
int
float
number
my_variable: 10
my_variable = 10
Which of the following are valid variable naming rules?
Variable names cannot contain whitespace
Do not use reserve keywords as a variable name
A variable name can only contain A-Z
Variable names are case insensitive
When was Python first released?
(a)
Which of the following are valid variable declarations?
name = "Mojoyin"
class = "SS3"
my_age = 13
my_class = SS3
Which of the following is the current Python version?
Python 1
Python 2
Python 3
Python 4
What is the greater than symbol?
(a)
What is the output of this condition?
You have blue eyes
blue
green
You do not have blue eyes
Which is correct?
A
B
What will this code do?
Print Numbers 1-11
Print Numbers 1-10
Print Numbers 2-10
Print Error
Which of the following is a programming language?
HTML
Python
SQL
CSS
Which of the following data structures uses First-In-First-Out (FIFO) principle?
Stack
Queue
Tree
Graph
In HTML, which tag is used to create a hyperlink?
<img>
<a>
<p>
<link>
In which of the following cases does a while loop stop?
When the condition is true
When the condition is false
After a set number of iterations
When there is no break statement
What is recursion in programming?
A function that calls itself
A loop that iterates indefinitely
A method that reverses a string
A way to declare variables
What is the difference between a stack and a queue?
Stack is faster than queue
Stack is LIFO, queue is FIFO
Stack is FIFO, queue is LIFO
Stack stores numbers, queue stores strings
What is a pointer in programming?
A variable that stores a memory address
A function that returns multiple values
A special keyword to declare variables
A loop that points to the next iteration
What does SQL stand for?
Structured Query Language
Simple Query Language
Sequential Query Language
Server Query Language
What will be the output of the following code: print(type(5.0))?
str
int
float
number
