
Python (basics)
Authored by Николай Прилуцкий
Information Technology (IT)
1st Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Чему равен индекс символа "x" в строке: "Roxette"
3
0
1
2
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Чему будет равна переменная text3:
text1 = "September"
text2 = "October"
text3 = text1 + text2
Ничему, складывать строки нельзя.
"SeptemberOctober"
"September+October"
"September"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как добавить элемент в список ?
Это невозможно, список - неизменяемый объект.
С помощью метода append()
С помощью метода add()
С помощью операции сложения +=
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что будет напечатано на экране после выполнения данного кода:
text = "abcd"
for i in text:
print(i)
a
b
c
d
0
1
2
3
1
2
3
4
t
e
x
t
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как напечатать второй символ "n" из строки:
text = "Universe"
text["n"]
text(2)
universe[2]
text[1]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как узнать длину списка?
my_list = ["Nik", "Elena", "Mikhail"]
Использовать метод .length()
Вызвать функцию len(my_list)
Это невозможно, т.к. список содержит строки.
Попытаться вызвать список как функцию.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Чему будет равна переменная x:
my_list = [12, 8, 93, 15]
x = max(my_list)
4
Функция max() не применима к спискам
93
8
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
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
13 questions
Fractions
Quiz
•
1st - 2nd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
15 questions
Place Value tens and ones
Quiz
•
1st Grade
16 questions
Money - Coins
Lesson
•
1st - 2nd Grade
20 questions
Halves and Fourths
Quiz
•
1st Grade