
Python списки
Quiz
•
Computers
•
University
•
Hard
Сергій Денисенко
Used 1+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Вказати привильний запис списку на Python.
a=[12, 15, 20, 11, 28]
a=(12, 15, 20, 11, 28)
a=[12, 15, 20, 'suma', 11, 28]
a=[12, 15, [23, 7, 17], 20, 11, 28]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що виконує програма, записана мовою Python?
a=[23, 45, 37, 12, 32, 17, 28, 34]
s=0
for i in range(8):
......s = s + a[i]
print (s)
Знаходить суму елементів списку.
Переставляє елементи у списку.
Знаходить суму елементів списку та виводить результат на екран.
Знаходить суму перших восьми елементів.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Скільки помилок у програмі, записаної мовою Python?
a=[23, 45, 37, 12, 32, 17, 28, 34)
s=0
for i in range(8)
s = s + a[i]
print (s
2
3
4
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як зміниться список "а" після виконання команди?
а=[2, 4, 6]
a=a*3
a=[2, 4, 6, 2, 4, 6, 2, 4, 6]
a=[6, 12, 18]
a=[2, 2, 2, 4, 4, 4, 6, 6, 6]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Який буде результат виконання програми, записаної мовою Python?
a=[23, 45, 37, 12, 32, 17, 28, 34]
s=0
for i in range(8):
..... if (a[i] > 20):
....... s = s + a[i]
print ('s=', s)
228
213
199
183
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як зміниться список "а" після виконання програми?
a=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
k=0
for i in range(0, 10,2):
........k=a[i]
........a[i]=a[i+1]
........a[i+1]=k
print(a)
a=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
a=[ 2, 1, 4, 3, 6, 5, 8, 7, 10, 9, 12, 11]
a=[ 2, 1, 4, 3, 6, 5, 8, 7, 10, 9,]
a=[ 2, 1, 4, 3, 6, 5, 8, 7, 10, 9, 11, 12]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Дано список А[2;5;7;8;16;13] .
Визначте, яких значень набудуть елементи списку після виконання оператора А[1] = А[3] + А[5]
2; 5; 2; 8; 2; 13
2; 5; 7; 8; 16; 13
2; 21; 7; 8; 16; 13
3; 5; 7; 8; 16; 13
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
CodeMonkey for B.Ed IT
Quiz
•
University
10 questions
Câu hỏi về thiết bị máy tính
Quiz
•
7th Grade - University
17 questions
STIN (EM24) - Tecnologías 4.0 (T13)
Quiz
•
University - Professi...
10 questions
Understanding Email, Contacts and Calendaring
Quiz
•
University
15 questions
ICT 0513 - Chapter 4 : System Unit
Quiz
•
University
10 questions
Tes Awal Modul 5 CC
Quiz
•
University
10 questions
Logika Fuzzy
Quiz
•
University
10 questions
Tree and Planar Graph
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Computers
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
25 questions
Waves-8th Grade Physical Science
Quiz
•
KG - University
41 questions
Unit 8 Key Terms
Quiz
•
11th Grade - University
10 questions
Product & Quotient Derivative Rules
Quiz
•
University
5 questions
How to Calculate Force - Newton's 2nd Law of Motion
Interactive video
•
10th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
