WorksheetsPyTron
Total questions: 15
Worksheet time: 3mins
What's the value of z
10
-10
0
21
Select the correct list of transfer statements
Break, Continue
Join, Continue, Pass
Null, Break, Join
Break, Pass, Continue
Select the last number that is printed
4
2
1
3
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
Select the incorrect statement
Loop starts with i = 0
First 101 numbers are printed
The loop increments two
Last number printed is 100
Select the correct statement regarding brackets
List - []
Tuples - []
Sets - ()
List - {}
Select the correct pair
list1[1] is 20
list1[5] is 100
list1[2] is 30
list1[0] is 0
What is the incorrect statemnet about List data Structure
List are ordered
List are mutable
List are unchangeable
List are indexed
Select the value that is printed
'hello'
('hello', 'world')
('world', 'hello')
'world'
What is the incorrect statement about Tuple data Structure
Tuples are ordered
Tuples are changeable
Tuples are mutable
Tuples are indexed
Select the odd one out
'one'
'two'
1
3
What is the incorrect statement about Dictionary data Structure
Dictionaries are changeable
Dictionaries are mutable
Dictionaries can have duplicate keys
Dictionaries have a key
How to access data from a Set
Using index
Using key
Using a for loop
Using links
What is the correct statement about Set data Structure
Sets are changeable
Sets are indexed
Sets are ordered
set can have duplicates
What's the answer for the following code
Error
3
5
2
