
Python test
Authored by Simona Anasia
Computers
6th - 8th Grade
Used 30+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
Ce va afișa funcția print(x + '6'), dacă x = 2 ?
Eroare
8
26
2+6
2.
MULTIPLE CHOICE QUESTION
3 mins • 5 pts
Ce va afișa funcția print(type(x)), dacă x = '17' ?
17
'17'
<class 'int'>
<class 'str'>
3.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
Ce tip de date va reține x, dacă x = 10 + 23/5 - 1 ?
int
float
char
str
4.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
Dacă x = 12 și y = 13.0, ce tip va reține variabila z = x + y ?
float
int
double
number
5.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
Ce tip de date reține variabila declarată astfel: n = 540% 13 ?
float
int
double
number
6.
OPEN ENDED QUESTION
3 mins • 5 pts
Ce va reține variabila x după următoarele atribuiri?
x = 3
y = 1
x = x + x
y = x + y
x = y
Evaluate responses using AI:
OFF
Answer explanation
se iau ultimele valori ale variabilelor
7.
OPEN ENDED QUESTION
5 mins • 10 pts
Ce se afișează în urma executării secvenței de mai jos?
a = 3
b = 4
c = 5
a = a + b - c
b = a - b + c
c = c - a + b
print(a,b,c)
Evaluate responses using AI:
OFF
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?