
Pseudocode Revision Quiz
Authored by Dastageer Patel
Information Technology (IT)
10th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Finish the pseudocode to create a loop that stops after a certain condition is met
_____ password != "password123"
password=input("Guess again")
end_____
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is correct to cast TRUE
bool(" ")
str(" ")
int(" ")
real(" ")
Answer explanation
The correct choice is bool(" "). In Python, bool() converts any non-empty string to TRUE, including strings with only whitespace. The other options do not yield TRUE: str() returns a string, int() raises an error, and real() is not a valid function.
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How do you represent the action of displaying output? (more than 1)
WRITE
DISPLAY
SHOW
OUTPUT
Answer explanation
The action of displaying output can be represented by 'PRINT' and 'OUTPUT'. 'PRINT' is commonly used in programming to send output to the console, while 'OUTPUT' is a more general term for any form of data display.
4.
OPEN ENDED QUESTION
3 mins • 1 pt
What is a constant?
Evaluate responses using AI:
OFF
Answer explanation
A constant is a fixed value that does not change during the execution of a program. Unlike variables, which can be modified, constants provide stability and predictability in code.
5.
OPEN ENDED QUESTION
3 mins • 1 pt
What are the 5 data types?
Evaluate responses using AI:
OFF
Answer explanation
The five basic data types are: Integer, Float, String, Boolean, and Array. These types are fundamental in programming and help define the nature of the data being handled.
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What is wrong with this pseudocode? (more than 1)
if hour < 12:
print("good morning)
: instead of THEN
no capital letter for good morning
missing speech marks
no indentation
print instead of output
Answer explanation
The pseudocode has several issues: it should use 'THEN' after the condition, the string 'good morning' is missing closing quotation marks, and proper indentation is necessary for readability and structure.
7.
OPEN ENDED QUESTION
3 mins • 1 pt
What is casting?
Evaluate responses using AI:
OFF
Answer explanation
Casting is the process of converting a variable from one data type to another. It allows for operations between different types, ensuring compatibility in programming and data manipulation.
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
12 questions
Uji Pemahaman Microsoft Word
Quiz
•
10th Grade - University
10 questions
LD siskom SE
Quiz
•
10th Grade - University
10 questions
BASIC Programming (I)
Quiz
•
10th Grade
12 questions
Fundamentals
Quiz
•
7th Grade - University
15 questions
Quiz 1-15
Quiz
•
9th - 12th Grade
12 questions
Asesmen awal
Quiz
•
10th Grade
15 questions
AAVC - Workplace Communications Quiz
Quiz
•
10th Grade
14 questions
Google sheets
Quiz
•
7th Grade - University
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade