Variables

Variables

7th - 10th Grade

16 Qs

quiz-placeholder

Similar activities

Python Unit 3 Review

Python Unit 3 Review

9th Grade

20 Qs

Basics Python

Basics Python

8th - 10th Grade

20 Qs

Python basic commands

Python basic commands

8th Grade

20 Qs

J277 Programming - Data Types

J277 Programming - Data Types

9th - 11th Grade

11 Qs

Data Types

Data Types

9th - 12th Grade

20 Qs

Python

Python

7th - 8th Grade

12 Qs

Python year 9

Python year 9

8th - 11th Grade

20 Qs

CodeHS - Intro to Python - Basics and Console Interaction

CodeHS - Intro to Python - Basics and Console Interaction

9th Grade - Professional Development

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?