Which of the following is invalid?
Python Class 9

Quiz
•
Computers
•
9th - 10th Grade
•
Hard
Kanchan Chowdhary
Used 311+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
_a = 1
__a = 1
__str__ = 1
none of the mentioned
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an invalid variable?
my_string_1
1st_string
__
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this expression, 3*1**3?
27
9
3
1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What input will I need to collect the height (in cm) of pupils in a class?
float
Int
input
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a variable do?
Stores a value in memory
Helps you print to screen
It works out the maths
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the answer be?
x = input("enter a number ")
print(x+x)
33
31
error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the answer?
a = "564"
b = "2342"
print(a+b)
2609
5642324
2906
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Algoritma Fungsi Phyton

Quiz
•
10th Grade
20 questions
quiz dasar python

Quiz
•
1st Grade - University
20 questions
AQA GCSE Computer Science Paper 1

Quiz
•
9th - 11th Grade
20 questions
Python variables and operators quiz

Quiz
•
9th - 12th Grade
20 questions
Intro to Python Vocabulary

Quiz
•
7th - 12th Grade
20 questions
Python Basics Review (TSK)

Quiz
•
9th - 12th Grade
25 questions
Python for Absolute Beginners

Quiz
•
8th - 12th Grade
20 questions
Python Quiz 1

Quiz
•
9th - 12th Grade
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
17 questions
Chapter 12 - Doing the Right Thing

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

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

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

Quiz
•
KG - University