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
Similar Resources on Wayground
7 questions
Interactive 3.1: Using variables in calculations

Quiz
•
4th - 7th Grade
6 questions
operadores de c++

Quiz
•
8th Grade
13 questions
IPO analysis

Quiz
•
8th - 11th Grade
10 questions
Programming - Iteration, Basic Programming Constructs & Loop

Quiz
•
2nd - 12th Grade
8 questions
Errors in Excel

Quiz
•
7th - 9th Grade
10 questions
Computer Hardware

Quiz
•
6th - 7th Grade
10 questions
Recap lezione 1 e lezione 2

Quiz
•
8th Grade
10 questions
FUNGSI PADA MICROSOFT EXCEL

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade