num=5
print (num)
In Python, what will be the output when I run (execute) this code?
Variables - 1
Quiz
•
Computers
•
7th - 8th Grade
•
Medium
M Dwedari
Used 24+ times
FREE Resource
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
12 questions
PSeint Informatica
Quiz
•
8th Grade
14 questions
Python Basics - Year 8
Quiz
•
7th - 9th Grade
10 questions
Python Variables
Quiz
•
8th Grade
11 questions
Python Week 3 Homework - Conditional Statements
Quiz
•
8th Grade
11 questions
Control Structures - Selection in Python
Quiz
•
8th Grade - University
12 questions
Year 7 Python
Quiz
•
7th Grade
14 questions
Python L1
Quiz
•
8th Grade - University
12 questions
Python Fundamentals
Quiz
•
8th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
43 questions
LinkIt Test - 24-25_BM4_7th
Quiz
•
7th Grade
10 questions
Identify Slope and y-intercept (from equation)
Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres
Quiz
•
8th Grade
14 questions
One Step Equations
Quiz
•
5th - 7th Grade
26 questions
June 19th
Quiz
•
4th - 9th Grade