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
13 questions
Python

Quiz
•
7th - 8th Grade
14 questions
year 8 lesson 2 quiz - python

Quiz
•
8th - 10th Grade
13 questions
App Creators - Activity 1.7

Quiz
•
6th - 8th Grade
11 questions
Python for Class 7

Quiz
•
7th - 8th Grade
8 questions
Edublocks D01

Quiz
•
6th - 9th Grade
11 questions
Programming

Quiz
•
7th Grade
10 questions
Quiz 1 G7

Quiz
•
7th Grade
15 questions
Motion in Scratch

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
18 questions
Digital Footprint

Quiz
•
6th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade