
Python (basics)

Quiz
•
Information Technology (IT)
•
1st Grade
•
Easy
Николай Прилуцкий
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Графічний інтерфейс Python

Quiz
•
12th Grade - University
10 questions
Module 2.3.8 Quiz

Quiz
•
10th Grade
14 questions
Блиц-опрос по логике

Quiz
•
9th Grade - University
15 questions
Мобильная разработка для начинающих

Quiz
•
4th Grade
12 questions
Casa de Peixes

Quiz
•
10th Grade
14 questions
Test Formatif 1 Pemograman

Quiz
•
11th Grade
15 questions
Desvendando o CSS 3

Quiz
•
12th Grade
15 questions
Soal Teknologi Dasar Web (HTML, CSS, JavaScript)

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
20 questions
addition

Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade
10 questions
Odd and even numbers

Quiz
•
1st - 2nd Grade
10 questions
Exploring the 5 Regions of the United States

Interactive video
•
1st - 5th Grade
7 questions
Parts of Speech

Lesson
•
1st - 12th Grade