Python test

Python test

6th - 8th Grade

15 Qs

quiz-placeholder

Similar activities

Tablouri unidimensionale

Tablouri unidimensionale

8th Grade

14 Qs

Scratch

Scratch

3rd - 7th Grade

20 Qs

Scratch

Scratch

5th - 6th Grade

10 Qs

Drepturi de autor pe internet

Drepturi de autor pe internet

5th - 6th Grade

10 Qs

test C++

test C++

7th Grade

10 Qs

Instructiunea If

Instructiunea If

6th Grade

10 Qs

A5 Quizz 2

A5 Quizz 2

4th - 7th Grade

14 Qs

Recapitulare

Recapitulare

6th Grade

20 Qs

Python test

Python test

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

Simona Anasia

Used 30+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?