
Python Quiz

Quiz
•
Computers
•
9th Grade
•
Easy
Shaun Billones
Used 1+ times
FREE Resource
61 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A program calculates the area of a rectangle. If LENGTH is declared as a constant, which of the following is the correct usage?
LENGTH=5
DECLARE LENGTH AS CONSTANT<----5
SET LENGTH<----5
CONSTANT LENGTH=5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a program, which variable types should be declared as a constant?
Temperature measured in Celsius
A user’s name
The fixed interest rate
A loop counter variable
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are programming a system that checks if a customer is eligible for a discount based on their age. Which datatype is best for storing the age?
String
Integer
Float
Boolean
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In an inventory system, which datatype would you use to store product names?
Boolean
Integer
String
Float
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A program requires the user to enter their grade. Which pseudocode line correctly retrieves this value?
OUTPUT 'Enter grade:'
READ grade
INPUT grade
DISPLAY grade
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In pseudocode, how would you display a message saying 'Hello, user!'?
INPUT 'Hello, user!'
DISPLAY 'Hello, user!'
SHOW 'Hello, user!'
OUTPUT 'Hello, user!'
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a program that calculates the price of a meal after tax, which sequence of operations is correct?
Calculate tax -> Display price -> Add meal cost
Add meal cost -> Display price -> Calculate tax
Add meal cost -> Calculate tax -> Display price
Display price -> Add meal cost -> Calculate tax
Create a free account and access millions of resources
Similar Resources on Wayground
60 questions
MEGAQUIZ 2

Quiz
•
3rd - 12th Grade
59 questions
Working with Files

Quiz
•
8th - 12th Grade
61 questions
Programming Basics Quiz

Quiz
•
9th Grade
56 questions
Getting to know Python Programming :Quiz

Quiz
•
8th - 12th Grade
63 questions
Quiz Pemrograman dan Komputasi

Quiz
•
9th Grade
63 questions
Programming Language Subset (PLS) Document Quiz

Quiz
•
9th Grade
59 questions
The Big Digital IT & General Knowledge Quiz

Quiz
•
9th Grade - University
56 questions
Manage the Application Life Cycle Lesson 1

Quiz
•
9th Grade - Professio...
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade