Which of the following variable names can be used in a Python program?
Programming in Python: Sequences

Quiz
•
Computers
•
8th Grade
•
Hard
Serdar Sakman
Used 5+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
first_name
Name_1
First Name
Name
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following is the most appropriate name for a variable that stores data about how tall someone is?
Num1
Value
x
height
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following correctly describes the programming concept sequencing?
When a set of instructions is repeated
When a set of instructions is carried out in order
Involves asking a question to which the answer is either true or false
Programs that use blocks of instructions that work with each other
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the program output?
animal = 'zebra'
print(animal)
'Zebra'
zebra
Animal
Zebra
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is wrong with this line of code:
input('What is your name?')
Input should be changed with Print
There is no variable assigned to the input
The question mark should not be included
The brackets are positioned in a wrong way
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A variable name must start with a letter and it cannot start with a number
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Variable names are case sensitive. Which means name, Name, NAME are all different variables.
True
False
Create a free account and access millions of resources
Similar Resources on Quizizz
17 questions
Python KS3

Quiz
•
6th - 9th Grade
16 questions
Python - Variables and Input

Quiz
•
1st - 10th Grade
17 questions
Direct Input Devices

Quiz
•
7th - 9th Grade
9 questions
Tynker 201 Intro

Quiz
•
6th - 8th Grade
13 questions
Python

Quiz
•
7th - 8th Grade
15 questions
Python basics

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

Quiz
•
8th - 10th Grade
10 questions
I Can Code!

Quiz
•
KG - University
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
5 questions
capitalization in sentences

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

Interactive video
•
5th - 8th Grade
10 questions
Identify Slope and y-intercept (from equation)

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

Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres

Quiz
•
8th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
25 questions
Argumentative Writing & Informational Text Vocabulary Review

Quiz
•
8th Grade
18 questions
Informational Text Vocabulary

Quiz
•
7th - 8th Grade