Келесі кодты орындағанда нәтиже қандай болады?
numbers = [1, 2, 3, 4, 5] print(numbers[2:4]) 5

ссссс

Quiz
•
Construction
•
Professional Development
•
Hard
Nurgul Daribaeva
FREE Resource
Student preview

21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
[2, 3, 4]
[3, 4]
[3, 4, 5]
[2, 3]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python тілінде айнымалының типін қалай анықтайды?
type(x)
typeof(x)
getType(x)
x.type()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python тілінде функцияны қалай анықтайды?
def my_function():
define my_function():
func my_function():
function my_function():
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Келесі кодты орындағанда нәтиже қандай болады?
x = [1, 2, 3] y = x y.append(4) print(x)
[1, 2, 3, 4]
[4, 1, 2, 3]
[1, 2, 3]
Қате пайда болады
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Келесі кодты орындағанда нәтиже қандай болады?
x = (1, 2, 3) x[0] = 4 print(x)
(4, 2, 3)
(1, 2, 3)
[4, 2, 3]
Қате пайда болады
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Келесі кодты орындағанда нәтиже қандай болады?
def func(x=[]): x.append(1) return x print(func()) print(func())
[1] және [1]
[1] және [1, 1]
Қате пайда болады
[1, 1] және [1, 1, 1]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python тілінде қайталанатын әрекеттерді орындау үшін қандай цикл түрлері қолданылады?
loop және foreach
repeat және until
for және while
do-while және for
Create a free account and access millions of resources
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade