Python - Variables and Input

Quiz
•
Computers
•
1st - 10th Grade
•
Medium
Tezel Asena
Used 77+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is an invalid variable
Score
MyScore
First Score
FScore
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code output?
print("confusion")
Confusion
confusion
Syntax Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code output?
a = 5
b = 6
c = 1
b = 4
print(3 - c)
2
1
4
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code utput:
Mark1 = 50
Mark2 = 50
Total = Mark1 + Mark2
print(total)
Undefined name error
100
0
5050
Answer explanation
Variable names are case-sensitive.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
From the chocies, what is the best variable name to use for storing the following information:
China, Russia, USA, France, Canada, Japan, Mongolia, Turkey, Nigeria
Nations
C
NRUFCJMTN
World_Country_Names
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct assignment symbol.
=
==
*
:
Answer explanation
Assignment is when you assign or store data in your variables.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What kind of data is
12.7
integer
float
boolean
string
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Variables, Inputs and Concatenation

Quiz
•
9th Grade
17 questions
Python KS3

Quiz
•
6th - 9th Grade
20 questions
Python Basics & Syntax

Quiz
•
10th - 12th Grade
20 questions
Python year 9

Quiz
•
8th - 11th Grade
14 questions
Python Basic Unit 1

Quiz
•
7th - 8th Grade
13 questions
2.5 Translators & Facilities - OCR GCSE Computer Science

Quiz
•
7th - 12th Grade
20 questions
Combined Python Turtle 1&2

Quiz
•
8th Grade
14 questions
GCSE Computing Low & High Level Languages/IDE's

Quiz
•
10th - 11th 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
20 questions
typing

Quiz
•
6th 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
20 questions
Input, Output, Processing or Storage

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

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade