
Python тесті
Authored by Марзия Сагиева
Information Technology (IT)
9th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python-да өзгермелі мәнді қалай жариялауға болады?
var = 10
int var = 10
var: 10
let var = 10
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Төмендегі кодтың нәтижесі не болады? x = 5 y = 10 print(x + y)
5
10
15
50
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python тілінде келесі деректер типтерінің қайсысы тұрақты (immutable)?
list
dict
tuple
set
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Қайсысын дұрыс жазылған if шартты операторы?
if x > 5: print(x)
if x > 5 print(x)
if (x > 5) print(x)
if x > 5 { print(x) }
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Келесі код не істейді? def say_hello(name): return f"Hello, {name}!" print(say_hello("Alice"))
Функция ештеңе қайтармайды
Қате шығарады
"Hello, Alice!" деп шығарады
"Hello, name!" деп шығарады
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python-дағы қай деректер құрылымы элементтерді тәртіпсіз сақтайды?
list
tuple
set
dict
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Төмендегі кодтың нәтижесі не болады? fruits = ["apple", "banana", "cherry"] fruits.append("date") print(fruits)
["apple", "banana", "cherry", "date"]
["apple", "banana", "cherry"]
["apple", "date", "cherry"]
["apple", "banana", "date"]
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?