Variables

Variables

7th - 10th Grade

16 Qs

quiz-placeholder

Similar activities

PYTHON

PYTHON

9th Grade

14 Qs

New year 10 Python Quiz

New year 10 Python Quiz

10th Grade

14 Qs

Python Year 9 Quiz

Python Year 9 Quiz

8th - 10th Grade

19 Qs

Programming - Python (year 12)

Programming - Python (year 12)

9th - 12th Grade

21 Qs

Quiz 1 - October Grade 8

Quiz 1 - October Grade 8

8th Grade

20 Qs

Python - Input, print and operators.

Python - Input, print and operators.

9th - 10th Grade

17 Qs

Python

Python

8th Grade

20 Qs

Python KS3

Python KS3

8th Grade

17 Qs

Variables

Variables

Assessment

Quiz

Computers

7th - 10th Grade

Hard

Created by

M Dwedari

Used 60+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print ("7" * 4)

7777

28

error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print("4*6")

46

24

4*6

error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print(3*8)

38

24

3*8

error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print ("the cost is £"+ str(2*5))

the cost is £10

the cost is £ 7

the cost is £ 10

the cost is £ 2*5

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print("Mr."+"John")

error

Mr. John

Mr.John

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print("the value is"+ 5)

the value is5

error

the value is 5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

.......... this function converts a variable to string.

int()

float()

bool()

str()

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?