
Python Quiz
Authored by Shaun Billones
Computers
9th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
57 questions
Cybersecurity Unit 4
Quiz
•
9th - 12th Grade
63 questions
BTEC L2 IT Online World Aim A Quiz
Quiz
•
6th - 10th Grade
60 questions
Cultura Digital I
Quiz
•
9th - 12th Grade
59 questions
HTML, CSS, and Design
Quiz
•
6th - 12th Grade
66 questions
Ethical Hacking - Social Engineering
Quiz
•
9th Grade
58 questions
Project 1: Animate Intro
Quiz
•
9th - 12th Grade
65 questions
Review Materi PAS 1 TIK Gr6
Quiz
•
6th Grade - University
65 questions
PH INFORMATIKA KELAS IX GENAP
Quiz
•
9th 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