What is a variable?
Functions and Variables in MakeCode

Quiz
•
Computers
•
6th - 8th Grade
•
Hard

Nazia Naseer
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A. A tool that lets us make sounds
B. A container that stores information or values
C. A block that moves a character on the screen
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is it important to give clear names to variables?
So we can understand what each variable is used for
To make the microcontroller work faster
To make the program look fancy
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a good name for a variable that keeps track of a player’s score?
p
score
123score
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function in programming?
A way to add graphics to a game
A block of code that performs a specific task
A tool to delete variables
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why would you use a function in a program?
To organize code and avoid repeating instructions
To create more variables
To change the background color of the code editor
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In MakeCode, how do you create a function?
By clicking the “Sprites” menu
By going to the “Functions” category and selecting “Make a Function”
By pressing the "Delete" button
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you "call" a function in your program?
The function's instructions run
A new variable is created
The program stops running
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Sequence,Variable,Selection,Iteration

Quiz
•
7th Grade
15 questions
Code.org Unit 3 Lesson 3 and 4

Quiz
•
6th - 8th Grade
10 questions
Computer Programming Jan 22

Quiz
•
6th Grade
10 questions
Python L2 Input & Variable

Quiz
•
6th - 8th Grade
15 questions
Year 8 | Intro to Python | Quiz 1

Quiz
•
7th Grade
15 questions
Programming Vocabulary

Quiz
•
6th - 8th Grade
10 questions
Python Variables

Quiz
•
6th Grade
15 questions
Intro to Scratch

Quiz
•
6th - 8th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
12 questions
Dividing Fractions

Quiz
•
6th Grade
9 questions
1. Types of Energy

Quiz
•
6th Grade
20 questions
Parts of Speech

Quiz
•
3rd - 6th Grade
43 questions
LinkIt Test - 24-25_BM4_7th

Quiz
•
7th Grade
6 questions
Final Exam: Monster Waves

Quiz
•
6th Grade