Quiz on variables

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Ridhaan Mishra
Used 2+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable?
it stores a value or string
it stores food
it stores mathematical operators
it stores the turtle module
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an invalid variable?
_name = 'hello'
1name = 'hello'
first_name = 'hello'
name = 'hello'
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of variable is boo?
global
string
number
local
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following is a variable?
hi = ("hi")
hi = "hi"
1hi = "hi"
well_hi = "hi"
5.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Type the global variable:
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many characters can a variable name consist of?
10
40
infinite
100
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If I want to store my name in a variable, which of the following would be a good variable name?
name
1name
_myname
1stname
Create a free account and access millions of resources
Similar Resources on Wayground
7 questions
Scratch - Operators, Ask, Join

Quiz
•
7th Grade
15 questions
Python basics

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

Quiz
•
8th - 10th Grade
8 questions
Intro to Python

Quiz
•
7th - 9th Grade
13 questions
Small basic

Quiz
•
4th - 6th Grade
10 questions
Flowchart

Quiz
•
1st - 9th Grade
10 questions
Programming Basics Basics

Quiz
•
8th Grade - University
10 questions
Python - Printing, Variables and Syntax

Quiz
•
8th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
13 questions
Primary and Secondary Sources

Quiz
•
6th Grade
15 questions
Decimal Operations

Quiz
•
6th Grade
10 questions
Plotting Points on the Coordinate Plane

Quiz
•
7th - 8th Grade