Review Python

Quiz
•
Computers
•
12th Grade
•
Medium
Anne Schreiber
Used 12+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of variable is x = 15.8?
String
Float
Integer
Boolean
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to create a variable?
create.variable(‘x’)
x == 25
print (‘Create variable x=25’)
x = 25
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the right statement:
25 < 8
3%3 == 1
5 + 2 > 6
33 - 9 < 10
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which of the following options removes an element from a list called tower:
tower.append(“carrot”)
tower.pop(5)
tower[1]=”blue”
tower.insert(1,”orange”)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, we can create lists that include elements of many different types (floats, strings and integers)?
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct way of extracting the word “dog” from the list:
Animals= [“cat”,”dog”,”bird”]
Animals(2)
Animals[1]
Animals[2]
Animals(1)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the correct answer:
if a<b
print(a)
if a<b:
print(a)
if (a=b):
print(b)
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Int Prog: Lists and Functions

Quiz
•
9th - 12th Grade
20 questions
HTML5 Basics

Quiz
•
6th - 12th Grade
25 questions
Algorithms - python (GCSE)

Quiz
•
10th - 12th Grade
20 questions
Python String

Quiz
•
12th Grade
20 questions
Python Basics & Syntax

Quiz
•
10th - 12th Grade
26 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Quiz
•
9th - 12th Grade
20 questions
Intro to Microsoft Access

Quiz
•
10th - 12th Grade
26 questions
html

Quiz
•
KG - 12th 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