Python Review - PLTW CSE / Codecademy

Python Review - PLTW CSE / Codecademy

9th - 12th Grade

53 Qs

quiz-placeholder

Similar activities

dictionary for ip 11 by vaishali

dictionary for ip 11 by vaishali

11th Grade

51 Qs

Python with Functions

Python with Functions

12th Grade

50 Qs

PENILAIAN I / ANALISIS DATA

PENILAIAN I / ANALISIS DATA

9th - 12th Grade

50 Qs

Final Exam

Final Exam

12th Grade

50 Qs

Python Basic Loops

Python Basic Loops

9th - 12th Grade

55 Qs

Computer Programming Function

Computer Programming Function

7th Grade - University

55 Qs

Python String Manipulation and Cipher Quiz

Python String Manipulation and Cipher Quiz

10th Grade

50 Qs

FUNDAMENTAL in PROGRAMMING

FUNDAMENTAL in PROGRAMMING

1st - 10th Grade

52 Qs

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

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?