
Pseudocode Rules Quiz
Authored by Matthew Wemyss
Computers
11th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to declare a constant in pseudocode?
MAX_TRIES CONSTANT = 5
CONSTANT MAX_TRIES <- 5
CONSTANT : MAX_TRIES = 5
DECLARE MAX_TRIES : CONSTANT = 5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name according to the pseudocode rules?
student@name
student name
student-name
studentName
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the LENGTH function do in pseudocode?
Returns the number of characters in a string
Returns a substring of a string
Returns the first character of a string
Returns the last character of a string
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for string concatenation in pseudocode?
&&
+
&
||
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How are comments added in pseudocode?
// This is a comment
-- This is a comment
# This is a comment
/* This is a comment */
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a basic data type in pseudocode?
INTEGER
OBJECT
LIST
MAP
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the MID function in pseudocode?
Returns the middle character of a string
Returns the last character of a string
Returns the first character of a string
Returns a substring starting at a specified position
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
10 questions
PUNCTUATION SPACING RULES
Quiz
•
9th - 12th Grade
20 questions
2324tx6
Quiz
•
9th - 12th Grade
13 questions
Guess the Retro Computer 1
Quiz
•
KG - Professional Dev...
11 questions
Herramientas WEB
Quiz
•
6th Grade - Professio...
11 questions
Threats to Data
Quiz
•
9th - 12th Grade
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
15 questions
Quiz 1
Quiz
•
1st - 12th Grade
10 questions
Google Apps
Quiz
•
10th Grade - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade