Ce va afișa funcția print(x + '6'), dacă x = 2 ?

Python test

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Simona Anasia
Used 30+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
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
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
C3 quiz2

Quiz
•
4th - 8th Grade
10 questions
Drepturi de autor pe internet

Quiz
•
5th - 6th Grade
20 questions
Microsoft Excel

Quiz
•
8th - 9th Grade
20 questions
Algoritmi

Quiz
•
5th - 8th Grade
19 questions
Informatica ORIZONT

Quiz
•
1st - 10th Grade
19 questions
Test sumativ: Algoritmi

Quiz
•
8th Grade
20 questions
Scratch

Quiz
•
3rd - 7th Grade
10 questions
Mix Basic curs 3

Quiz
•
6th - 8th Grade
Popular Resources on Quizizz
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade