Variables

Variables

7th - 10th Grade

16 Qs

quiz-placeholder

Similar activities

Python Revision

Python Revision

8th Grade

15 Qs

Python Beginners Week 6

Python Beginners Week 6

3rd - 12th Grade

13 Qs

Lesson 9 - The internet

Lesson 9 - The internet

8th Grade

12 Qs

Basics Python

Basics Python

8th - 10th Grade

20 Qs

Python basic commands

Python basic commands

8th Grade

20 Qs

Basic Python and Console Interaction - Mod3

Basic Python and Console Interaction - Mod3

10th Grade

12 Qs

Data Types

Data Types

9th - 12th Grade

20 Qs

Python Basics (CodeHS)

Python Basics (CodeHS)

7th - 12th Grade

20 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?