PyTron

PyTron

University

15 Qs

quiz-placeholder

Similar activities

Python Quiz - BPLCK105B

Python Quiz - BPLCK105B

University

20 Qs

Python

Python

University

10 Qs

PythonBasic

PythonBasic

University

15 Qs

Functions and Modules

Functions and Modules

University

10 Qs

Midterm_20250418

Midterm_20250418

University

20 Qs

COMP177 Mod 8 - Lists & Dictionaries

COMP177 Mod 8 - Lists & Dictionaries

University

16 Qs

Python Collection Data Type

Python Collection Data Type

University

20 Qs

CSE 6R Midterm Review

CSE 6R Midterm Review

University

10 Qs

PyTron

PyTron

Assessment

Quiz

Computers

University

Medium

Created by

Deepamal Shaminda

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Media Image

What's the value of z

10

-10

0

21

2.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Select the correct list of transfer statements

Break, Continue

Join, Continue, Pass

Null, Break, Join

Break, Pass, Continue

3.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Media Image

Select the last number that is printed

4

2

1

3

4.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Media Image

Select the correct list that is printed

0,1,2,4,5,7,8

0,1,2,3,4,5,6,7,8,9

1,2,3,4,5,6,7,8,9

0,2,4,6,8

5.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Media Image

Select the incorrect statement

Loop starts with i = 0

First 101 numbers are printed

The loop increments two

Last number printed is 100

6.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Select the correct statement regarding brackets

List - []

Tuples - []

Sets - ()

List - {}

7.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

Media Image

Select the correct pair

list1[1] is 20

list1[5] is 100

list1[2] is 30

list1[0] is 0

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?