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
14 questions
Python Syntax

Quiz
•
6th - 12th Grade
13 questions
Scratch

Quiz
•
8th Grade
14 questions
Python Basics - Year 8

Quiz
•
7th - 9th Grade
12 questions
Python

Quiz
•
7th - 8th Grade
13 questions
Program Development - Python: Errors

Quiz
•
8th - 10th Grade
12 questions
Python Coding

Quiz
•
6th - 8th Grade
15 questions
Computer Coding Quiz

Quiz
•
2nd - 8th Grade
10 questions
Small Basic (Turtle)

Quiz
•
KG - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade