
Python тіліндегі жолдар мен тізімдер
Authored by Абду Абду
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
51 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Төмендегі кодтың нәтижесі: x = 0 while x < 3: x += 1 if x == 2: continue print(x)
1 3.
1 2 3.
1 2 2.
0 1 2.
3 3.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python тілінде жолдық типтің дұрыс жазылуы:
'string'.
string.
"string".
str(string).
['string'].
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Жолдық типтің ерекшеліктері:
жолдар өзгермейтін (immutable) типті деректер болып табылады.
жолдар өзгеретін (mutable) типті деректер болып табылады
жолдар тек сандармен жұмыс істей алады
жолдар тек бір символдан тұрады
жолдар тек кириллицада жазылуы мүмкін
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Жолды кесу үшін қолданылатын әдіс:
[]
split()
join()
slice()
search()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Жолдарды біріктіру үшін қолданылатын оператор:
+
-
*
/
=
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Тізімдер (Lists) құрылымы:
[item1, item2, item3]
{item1, item2, item3}
(item1, item2, item3)
item1, item2, item3
<>item1, item2, item3<>
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Тізімдердің деректер құрылымы:
өзгеретін (mutable) тип.
өзгермейтін (immutable) тип.
сөздік (dictionary) тип.
кортеждер (tuple) тип.
жолдық (string) тип.
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?