Intro to Python

Quiz
•
Computers
•
7th - 9th Grade
•
Hard

Nick Jackson
Used 11+ times
FREE Resource
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 ' '
8.
FILL IN THE BLANK QUESTION
1 min • 1 pt
In Python,
== means equal to.
__ means becomes.
Similar Resources on Wayground
10 questions
Python Basics

Quiz
•
8th - 10th Grade
12 questions
Python Programming Basics

Quiz
•
7th - 11th Grade
10 questions
Python - Printing, Variables and Syntax

Quiz
•
8th Grade
10 questions
Python Programming

Quiz
•
7th - 9th Grade
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
12 questions
Python Homework

Quiz
•
8th Grade
10 questions
10 CS // Pseudocode

Quiz
•
9th - 11th 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
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
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade