Python Review - PLTW CSE / Codecademy

Python Review - PLTW CSE / Codecademy

9th - 12th Grade

53 Qs

quiz-placeholder

Similar activities

PLTW Lesson 1.1 Quiz

PLTW Lesson 1.1 Quiz

Basics Python

Basics Python

EarSketch/Python Programming

EarSketch/Python Programming

My PLTW CSE Unit 2 Review - Python

My PLTW CSE Unit 2 Review - Python

PLTW CSE 3.1- 3.2

PLTW CSE 3.1- 3.2

Python Test

Python Test

YVIP Earsketch Vocab Review 2021

YVIP Earsketch Vocab Review 2021

Python Review - PLTW CSE / Codecademy

Python Review - PLTW CSE / Codecademy

Assessment

Quiz

Computers

9th - 12th Grade

Medium

CCSS
6.EE.B.6, L.2.2C

Standards-aligned

Created by

Allison Marcroft

Used 55+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?