Variables - 1

Variables - 1

7th - 8th Grade

9 Qs

quiz-placeholder

Similar activities

Grasshopper

Grasshopper

7th Grade

10 Qs

Code.org (Introdução à programação)

Code.org (Introdução à programação)

5th - 9th Grade

12 Qs

Python with DataScience

Python with DataScience

7th Grade - University

10 Qs

Питон

Питон

7th Grade

10 Qs

Python. Урок-01. Знакомство

Python. Урок-01. Знакомство

6th - 7th Grade

10 Qs

KS3 Data Representation R1 Bits Nibbles Bytes

KS3 Data Representation R1 Bits Nibbles Bytes

8th Grade

9 Qs

keyboard shootcuts

keyboard shootcuts

3rd - 9th Grade

10 Qs

C Variables and Constants

C Variables and Constants

7th Grade

10 Qs

Variables - 1

Variables - 1

Assessment

Quiz

Computers

7th - 8th Grade

Practice Problem

Medium

Created by

M Dwedari

Used 24+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

num=5

print (num)

In Python, what will be the output when I run (execute) this code?

5

num

55

error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

num=5

print ("num")

In Python, what will be the output when I run (execute) this code?

05

num

55

error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

num=10

print (2 * num)

In Python, what will be the output when I run (execute) this code?

20

num * 2

10

num num

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

quantity=10

print ("2 * quantity")

In Python, what will be the output when I run (execute) this code?

20

2 * quantity

error

quantity

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

postcode="BL6 1AA"

print (postcode)

In Python, what will be the output when I run (execute) this code?

BL6 1AA

BL61AA

postcode

error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

number1=10

number2=5

print (number1 + number 2)

In Python, what will be the output when I run (execute) this code?

number1 number2

number1number2

50

15

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

num1=10

num2=5

print ("num1 + num2")

In Python, what will be the output when I run (execute) this code?

num1 + num2

num1num2

50

15

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

num1=10

num2=5

print (num1 * num2)

In Python, what will be the output when I run (execute) this code?

num1 + num2

num1num2

50

15

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

num1=10

num2=5

print (num1 / num2)

In Python, what will be the output when I run (execute) this code?

num1 + num2

2

50

15