Python Review - PLTW CSE / Codecademy

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Standards-aligned
Allison Marcroft
Used 55+ times
FREE Resource
53 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find T ?
T=144 / 2 + 5 * 9 - ( 8 -3 )
106
688
112
684
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def.number (r1 , r2)
sum = r1 / r2
return sum
a = number (r2 = 15 , r1 = 10)
2 / 3
3 / 2
error
2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find the Output:
Item = {"ECE" , "CSE" , "EEE" , "CIVIL"}
Item.add (2,"MECH")
print(Item)
{ "ECE" , "MECH" , "CSE" , "EEE" , "CIVIL" }
{ "ECE" , "CSE" , "MECH" , "EEE" , "CIVIL" }
{ "ECE" , "CSE" , "EEE" , "CIVIL" }
{ "ECE" , "CSE" , "EEE" ,"MECH" , "CIVIL" }
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the output of the following code ?
var1 = 1
var2 = 2
var3 = "3"
print (var + var2 var3)
Error. Mixing operators between numbers and strings are not supported
6
33
123
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following function convert a string to a float in python ?
float(X)
int(x[,base])
long(X[,base])
str(X)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the output of the following programing ?
X = [ 'ab' , 'cd' ]
for i in X:
i.upper()
print (x)
[ 'AB' , 'CD' ]
[ 'ab' , 'cd' ]
[ AB , CD ]
ERROR
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what will be the output of the following python code snippet ?
not (10 < 20) and not (10 > 30 )
TRUE
FALSE
Create a free account and access millions of resources
Similar Resources on Quizizz
57 questions
CS: Python Unit 1 Review

Quiz
•
9th - 12th Grade
50 questions
PTS Semester Genap 23 (FAJRIANI/INFORMATIKA)

Quiz
•
10th Grade
50 questions
Знакомство с IDE. Алфавит языка. Синтаксис. Типы данных. Правила

Quiz
•
11th Grade
50 questions
Q2LQ

Quiz
•
12th Grade
48 questions
Algorithms

Quiz
•
9th - 11th Grade
50 questions
JavaScript Basics: Introduction to Arrays

Quiz
•
9th Grade
50 questions
Strings in python - Test

Quiz
•
11th Grade
50 questions
PYTHON-STRINGS

Quiz
•
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
30 questions
Linear Inequalities

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

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