
for. collections
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Дима Новостройный
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що виведе наступний код?
0 1 2 3 4
1 2 3 4 5
0 1 2 3 4 5
1 2 3 4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як створити список з числами від 1 до 5?
list = (1, 2, 3, 4, 5)
list = {1, 2, 3, 4, 5}
list = [1, 2, 3, 4, 5]
list = {1: "one", 2: "two", 3: "three", 4: "four", 5: "five"}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що таке кортеж?
Змінюваний список
Незмінюваний список
Список словників
Набір унікальних значень
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як отримати значення за ключем 'name' зі словника person?
person(name)
person['name']
person.get('name')
b) та c) вірні
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що виведе наступний код?
{1, 2, 3, 4, 5}
{3}
{1, 2, 3}
{}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як обійти всі елементи списку numbers за допомогою циклу for?
for i numbers:
for number in numbers:
for numbers in number:
for each in number:
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як додати елемент 6 до списку numbers = [1, 2, 3, 4, 5]?
numbers[6] = 6
numbers.insert(6)
numbers.append(6)
numbers.add(6)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Intro to Comp Sci: U2L1
Quiz
•
8th - 12th Grade
13 questions
Cryptocurrency
Quiz
•
9th - 12th Grade
10 questions
Multimedia Elements
Quiz
•
12th Grade - University
10 questions
C Language Data Types
Quiz
•
12th Grade
15 questions
CP M4 Repetition & Loops
Quiz
•
9th - 12th Grade
14 questions
Multimedia Chapters 3 and 4
Quiz
•
9th - 12th Grade
13 questions
hexadecimal binary decimal
Quiz
•
10th - 12th Grade
9 questions
Code.org Unit 2 - Lesson 1-4 Vocabulary
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
