Python Basics

Quiz
•
Computers
•
7th Grade
•
Hard
Simon Errington
Used 340+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why did Guido van Rossum call his programming language Python?
He thinks Pythons were cool
He couldn't think of anything else
A friend suggested it
He loves Monty Python
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will:
answer = input("Give me a number")
print(answer * 5)
output?
An error message
The value of answer multiplied by 5
answer * 5
The value of answer repeated 5 times
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do we change a user input from string to integer?
Casing
Flipping
Casting
Numerising
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does == mean?
Assign a value to a variable
Nothing, it's an error caused by typing == instead of =
Check that the value on the right of the == matches the value on the left
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is concatenation?
Replacing a string variable with another string variable
Combining two variables such as first name and last name
One of the food options in the canteen on Friday
A large collection of cats in an open space
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can a variable not start with?
A special character
A capital letter
A number
A lower case letter
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do we use at the start of a comment line?
@
#
"
*
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Python Basics - Year 8

Quiz
•
7th - 9th Grade
10 questions
Introduction to Python Turtle

Quiz
•
7th - 8th Grade
10 questions
ACTIVIDAD CIERRE COD LB

Quiz
•
6th - 8th Grade
12 questions
N5 SDD - Python input and output

Quiz
•
7th - 11th Grade
12 questions
Year 7 Python

Quiz
•
7th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
15 questions
Python : Codeathon Competition

Quiz
•
5th - 8th Grade
11 questions
Quiz#2

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
22 questions
Figurative Language

Quiz
•
7th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade