Programming in Python

Quiz
•
Computers
•
9th Grade
•
Medium
Mr Abbas
Used 22+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is a program?
A set of instructions carried out by a computer to perform a specific task.
A program is a recipe for a dish.
A type of machine.
A type of mobile device.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a an algorithm?
It is a type of programming language.
Step by step instructions to follow in a specific order in order to solve a problem.
It is the steps that must be followed but the order does not matter.
A type of computer hardware.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
All programs are made up of three basic building block (programming constructs). What are these?
Python, Java and HTML
Software, Hardware and Computers
Sequence, Selection and Iteration
Google, Amazon and Apple
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does syntax mean?
The name of the programming language.
It is a special command.
It is a step by step guide.
It is the rules of the programming language that must be followed.
5.
MATCH QUESTION
1 min • 1 pt
Match the following data to the correct data type.
11.5
Boolean
True / False
String
"I love coding"
20
Integer
Float
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The code shown contains two syntax errors. Which of the options below shows the correct code without any syntax errors.
print(Hello MCA)
print("Hello MCA")
Print("Hello MCA")
PRINT("Hello MCA")
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following codes will produce the output shown in the picture on multiple lines?
print("John Smith")
print("John" + "Smith")
print("John")
print("Smith")
print(John Smith)
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python year 9

Quiz
•
8th - 11th Grade
20 questions
Getting Started in C Programming

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

Quiz
•
9th Grade
20 questions
Python 1

Quiz
•
7th - 9th Grade
20 questions
Python Functions

Quiz
•
9th Grade
25 questions
CSP Python Review

Quiz
•
9th - 12th Grade
20 questions
Python Basics Review (TSK)

Quiz
•
9th - 12th Grade
20 questions
Python Recap

Quiz
•
7th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade