Tuples
Quiz by Amanda Oliver
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
5 questions
Show answers
- Q1Which of the following is a tuple?tuple1 = boo, far, meowtuple1 = 'boofarmeow'tuple1 = (boo, far, meow)tuple1 = ('boo', 'far', 'meow')30s
- Q2Which of the following is NOT a tuple?aye = (1, 2, 3)price = (10, )pokemon_battle = ('pikachu', 'meowth', 'bulbasaur')tupleduple = 'tuple' , 'far', 'john'30s
- Q3Given tupleduple = (1, 2, 3, 4). Which code will display 1, 2 ?tupleduple = tupleduple(:-1)tupleduple = tupleduple(:3)tupleduple = tupleduple(:1)tupleduple = tupleduple(:2)30s
- Q4Given tuple1 = (1, 2, 3, 4, 5). print(len(tuple1) ) will output45Lemon330s
- Q5Which of the following ISN'T true about Tuples?Tuples are mutableTuple syntax requires a parenthesis with each element separated by a commaTuples can be nested to arbitrary depth andTuples can contain any arbitrary objects and can be accessed by index30s