Quiz3

Quiz3

University

12 Qs

quiz-placeholder

Similar activities

PYTHON PROGRAMMING

PYTHON PROGRAMMING

University

10 Qs

Java Bootcamp Day 4

Java Bootcamp Day 4

University

15 Qs

Exploring Python: Input and Output Essentials

Exploring Python: Input and Output Essentials

9th Grade - University

10 Qs

Python introduction

Python introduction

University

15 Qs

Python Quiz - 4 Lists,Loops,String Manipulation

Python Quiz - 4 Lists,Loops,String Manipulation

University

15 Qs

if statement

if statement

University

11 Qs

Python Quiz

Python Quiz

University

15 Qs

DEBUG THE CODE

DEBUG THE CODE

University

10 Qs

Quiz3

Quiz3

Assessment

Quiz

Computers

University

Medium

Created by

Mohand Mahmoud

Used 2+ times

FREE Resource

12 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 3 pts

t =(12,7,9)

t=list((12,7,9))

t.append(15)

t.append(5)

t.append(6)

t=tuple(t)

print(t)

what is the output of this code?

2.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

t =(12,7,9)

t=list((12,7,9))

t.clear()

t=tuple(t)

print(t!=())

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

t =(12,7,9)

t=list((12,7,9))

t.remove(3)

t=tuple(t)

print(t)

(12,7)

( )

(9)

Error

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

t=list((12,7,9))

for i in t: print(i)

if(i==7):

break

12 , 7

12,7.9

Error

12,9

5.

FILL IN THE BLANK QUESTION

1 min • 3 pts

p =([2,4],6,8,9)

print(p.len())

what is the output of this code?

6.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Can set change to list?

True

False

7.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

x=[[1,2,3],[4,5,6]]

print(x[0][2])

what is the output of this code?

4

5

3

2

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?