Python Basics

Quiz
•
Computers
•
8th Grade
•
Hard
Ryan Tingle
Used 318+ times
FREE Resource
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The rules for putting together a correct computer language statement are called Syntax. Therefore if these rules are broken e.g. no brackets, speech marks etc. it is a...
Syntax error
Logic error
Code error
Run time error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax error with this code:
print”Hello World”
No brackets around "Hello World"
Speech marks are not needed
Colon is not needed
print is spelt incorrectly
Print has a capital P
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax error with this code:
print(“Hello World”);
No brackets around "Hello World"
Speech marks are not needed
Colon is not needed
print is spelt incorrectly
Print has a capital P
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax error with this code:
Print(“Hello World”)
No brackets around "Hello World"
Speech marks are not needed
Colon is not needed
print is spelt incorrectly
Print has a capital P
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax error with this code:
prin(Hello World)
No brackets around "Hello World"
Speech marks are not needed
Colon is not needed
print is spelt incorrectly
Print has a capital P
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When you run this program what will this line of code do?
name = input("Enter your name: ")
Ask you to Enter your name and save your answer to Google Drive
Ask you to Enter your name and save your answer to My Documents
Ask you to Enter your name
Ask you to Enter your name and save your answer as a variable
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this piece of code do when it runs for John Smith born in June and the day of his birthday is Tuesday?
print("Hello " + name + "Your birthday month is " + month +
" and the day of your birthday this year is " + day)
"Hello " + name + "Your birthday month is " + month +
" and the day of your birthday this year is " + day
Hello John Smith Your birthday month is June and the day of your birthday this year is Tuesday
Hello John Smith Your birthday month is June and the day of your birthday this year is Monday
"Hello "John Smith "Your birthday month is " + month +
" and the day of your birthday this year is " + day
Create a free account and access millions of resources
Similar Resources on Wayground
26 questions
Y9 Base Assessment SP1 2025

Quiz
•
8th Grade
31 questions
iGCSE 7 Algorithm design and problem solving

Quiz
•
8th Grade
32 questions
PY4E Chapters 2-3 Quiz

Quiz
•
8th Grade
27 questions
Python introduction 2.1

Quiz
•
8th Grade
26 questions
html

Quiz
•
KG - 12th Grade
30 questions
Python программалоо тили

Quiz
•
7th - 11th Grade
30 questions
operation&mah

Quiz
•
7th Grade - Professio...
28 questions
Revision Second Preparatory

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