wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Coding Quiz Challenge

Total questions: 60

Worksheet time: 18mins

Name
Class
Date
1.

Which option solves this maze?

a)
b)
c)
d)
2.

What is coding?

a)

Coding is the set of instructions that tells a computer what to do.

b)

It is the name of a person.

c)

It's a game on the computer.

d)

It is a maze game on the computer.

3.

Finding and fixing errors in a program.

a)

debugging

b)

decompose

c)

digital footprint

d)

variables

4.

A piece of code with multiple steps that have been simplified down to one command which you can easily call over and over again.

a)

digital footprint

b)

run program

c)

abstraction

d)

function

5.

Statements that can only run under certain conditions or situations, such as: if the seat is taken, then move to the next available seat.

a)

conditionals (if/then statements)

b)

variable

c)

abstractions

d)

binary

6.

A letter or symbol to which a value can be assigned.

a)

Print

b)

Variable

c)

Output

d)

Bug

7.

What is a bit?

a)

A larger unit of 8 bits to store a single character

b)

The smallest unit of data a computer can process that consists of 0 and 1.

c)

The smallest unit of data a computer can process that consists of on and off.

8.

Computer represents data using...

a)

binary

b)

decimal

c)

hexadecimal

d)

octal

9.

A list of steps to finish a task.

a)

coding

b)

abstraction

c)

algorithm

d)

binary

e)

artificial intelligence

10.

A computer language that allows users to create programs by manipulating graphical elements rather than writing code using text.

a)

algorithm

b)

binary

c)

block-based programming

d)

computer science

e)

data

11.

The ability of some machines to perform tasks that demonstrate they can be almost as smart as a human being.

a)

coding

b)

abstraction

c)

algorithm

d)

binary

e)

artificial intelligence

12.

................... run a block of code a set number of times.

a)

While Loop

b)

Loop

c)

For Loop

13.

............. run an unknown or unspecified number of times

a)

For Loop

b)

Loop

c)

While Loop

14.

An open-source operating system designed to run on multiple types of devices, such as laptops, phones, tablets, robots, and many others.

a)

Microsoft

b)

Linux

c)

Apple

15.

A variable

a)

is a placeholder for a piece of information that can change.

b)

is like a bucket for holding information.

c)

can be written as letters or with longer words.

d)

all of these

16.

Which symbol means "not equal to"?

a)

==

b)

<=

c)

>=

d)

!=

17.

This is a catch-all for every other situation besides the one where the condition is true.

a)

then

b)

do

c)

else

d)

if

18.

What is syntax?

a)

A catch-all for every other situation besides true.

b)

Pieces of code that direct the program to run in different ways depending on what else is happening.

c)

A set of rules for how a language is written.

d)

English, Chinese, or Spanish.

19.

Coding is:

a)

Python, JavaScript, Java, PHP, and Ruby

b)

the action of writing instructions for a computer in a language that it can understand.

c)

a language that is more precise than English but less precise than a coding language.

d)

a specific action to be taken if the condition is false.

20.

A program is:

a)

a series of steps to complete a task that a computer can understand.

b)

Python, JavaScript, Java, PHP, and Ruby

c)

the action we want the program to take.

d)

a condition that is false.

21.

A step-by-step process, or a defined list of steps required to accomplish a goal

a)

algorithm

b)

variable

c)

string

d)

module

22.

True or False: 
There are only 3 different programming languages.

a)

True

b)

False

23.

A plain language description of the steps in an algorithm or another system.

a)

pseudocode

b)

sprite

c)

loop until

d)

variable

24.

What does LED stand for?

a)

Light Emitting Device

b)

Light Emitting Diode

c)

Light Emiting Diode

d)

Light Emiting Device

25.

A drag-and-drop programming language used to learn the basics of coding.

a)

blockly

b)

algorithm

c)

loop

d)

sprite

26.

The action of doing something over and over again.

a)

loop

b)

sprite

c)

event

d)

debugging

27.

What does IDE stand for?

a)

In Deep Environment

b)

Integrated Development Environment

c)

Internal Deep Escape

d)

IDE

28.
The (+) column on your breadboard represents the positive charge or power to your circuit.
a)
True
b)
False
29.

Identify this component

a)

Uno Cards

b)

Raspberry Pi

c)

Arduino Duo Board

d)

Arduino Uno Board

30.

Identify this component

a)

Arduino Uno board

b)

Raspberry Pi

c)

Breadboard / Protoboard

d)

White Plastic Board

31.

What is the main difference between the data types "int" and "float"?

a)

Data type int is real and float is made up

b)

Data type int can be in decimals and float must be whole numbers

c)

There is no difference

d)

Data type int must be whole numbers and float can be in decimals

32.

_____ is the list of commands in Scratch.

_____ the characters in Scratch.

a)

Sprite, Script

b)

Script, Sprite

c)

Scratch, Sprite

d)

Script, Scratch

33.

What is the name of the sensor that measures distance?

a)

Color

b)

Gyro

c)

Ultrasonic

d)

Touch

34.

Who developed the Python Programming Language?

a)

a) Wick van Rossum

b)

b) Rasmus Lerdorf

c)

c) Guido van Rossum

d)

d) Niene Stom

35.

Which of the following is the correct extension for a Python file?

a)

a) .python

b)

b) .pl

c)

c) .py

d)

d) .p

36.

Which of the following character(s) is/are used to give single-line comments in Python?

a)

a) //

b)

b) #

c)

c) !

d)

d) /*

37.

What will be the output of the “hello” + 1 + 2 + 3?

a)

a) hello123

b)

b) hello

c)

c) Error

d)

d) hello6

38.

In the following code, "city" is an example of what?

a)

List

b)

Loop

c)

Variable

d)

Array

39.

What is the Python built-in function to convert a number to a string?

a)

str()

b)

int()

c)

parseInt()

d)

convert

40.
print("12"*3)
What would this print?
a)
36
b)
121212
c)

Error

d)
12*3
41.

Suppose you have a variable defined a = "4". What is the variable type of a?

a)

str

b)

int

c)

float

d)

number

42.
The correct way to write a variable in Python?
a)

my_variable: 10

b)
my variable = 10
c)

my_variable = 10

d)
my_variable: 10
43.

Which of the following are valid variable naming rules?

a)

Variable names cannot contain whitespace

b)

Do not use reserve keywords as a variable name

c)

A variable name can only contain A-Z

d)

Variable names are case insensitive

44.

When was Python first released?

(a)  

45.

Which of the following are valid variable declarations?

a)

name = "Mojoyin"

b)

class = "SS3"

c)

my_age = 13

d)

my_class = SS3

46.

Which of the following is the current Python version?

a)

Python 1

b)

Python 2

c)

Python 3

d)

Python 4

47.

What is the greater than symbol?

(a)  

48.

What is the output of this condition?

a)

You have blue eyes

b)

blue

c)

green

d)

You do not have blue eyes

49.

Which is correct?

a)

A

b)

B

50.
Which of the following symbols is used in Python to mean "Less than or equal to"?
a)
<<
b)
=<
c)
<=
d)
!=
51.

What will this code do?

a)

Print Numbers 1-11

b)

Print Numbers 1-10

c)

Print Numbers 2-10

d)

Print Error

52.

Which of the following is a programming language?

a)

HTML

b)

Python

c)

SQL

d)

CSS

53.

Which of the following data structures uses First-In-First-Out (FIFO) principle?

a)

Stack

b)

Queue

c)

Tree

d)

Graph

54.

In HTML, which tag is used to create a hyperlink?

a)

<img>

b)

<a>

c)

<p>

d)

<link>

55.

In which of the following cases does a while loop stop?

a)

When the condition is true

b)

When the condition is false

c)

After a set number of iterations

d)

When there is no break statement

56.

What is recursion in programming?

a)

A function that calls itself

b)

A loop that iterates indefinitely

c)

A method that reverses a string

d)

A way to declare variables

57.

What is the difference between a stack and a queue?

a)

Stack is faster than queue

b)

Stack is LIFO, queue is FIFO

c)

Stack is FIFO, queue is LIFO

d)

Stack stores numbers, queue stores strings

58.

What is a pointer in programming?

a)

A variable that stores a memory address

b)

A function that returns multiple values

c)

A special keyword to declare variables

d)

A loop that points to the next iteration

59.

What does SQL stand for?

a)

Structured Query Language

b)

Simple Query Language

c)

Sequential Query Language

d)

Server Query Language

60.

What will be the output of the following code: print(type(5.0))?

a)

str

b)

int

c)

float

d)

number