Intro to Python
Quiz
•
Computers
•
7th - 9th Grade
•
Practice Problem
•
Hard
Nick Jackson
Used 11+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To start programming in Python you have to type <python>
True
False, you don't need to type anything in particular
False, it should be <Python>
False, it should be Python
2.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
Comments always start with a _ in Python code
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
To output Hello on the screen, the correct code is:
print("Hello")
print('Hello')
print "Hello"
print 'Hello'
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is missing from this code that allows a user to enter their name:
name = _____("Hi there. What is your name?")
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code, what is the variable called:
name = input("Hi there and welcome.\nWhat is your name?\n")
name
input
There is no variable
What is your name?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code, what does \n do:
name = input("Hi there and welcome.\nWhat is your name?\n"
Prevents errors happening
Creates a comment
Creates a new paragraph
Creates a new line
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This code will generate an error. What is wrong with it?
Indents are needed on all the lines of code after the IF
There is a == when it should be =
There is no ELSE or ELIF
The print statement uses "" when it should use ' '
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Grade 8 Final Quiz
Quiz
•
8th Grade
13 questions
Lekcja14 7-8
Quiz
•
7th - 8th Grade
10 questions
Revision Quiz 2 - Information Technology
Quiz
•
7th - 8th Grade
10 questions
PENGENALAN PERANGKAT LUNAK PENGOLAH ANGKA
Quiz
•
8th Grade
10 questions
แบบทดสอบครั้งที่ 2
Quiz
•
9th Grade
10 questions
Internet and graphic Design
Quiz
•
7th Grade
10 questions
Word 2016 Basics - Saving Document, Page Layout, Header & Foot
Quiz
•
7th Grade
10 questions
Khởi động
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
