
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
12 questions
HTML
Quiz
•
9th - 12th Grade
10 questions
Grade 11 Term 4 Practice 2
Quiz
•
11th Grade
20 questions
Yr 11 ICT quiz 1 Networks & Security
Quiz
•
10th - 11th Grade
15 questions
CIW
Quiz
•
9th - 12th Grade
10 questions
Word basics
Quiz
•
8th - 12th Grade
20 questions
Repaso TIC- 1º-bach
Quiz
•
11th Grade
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
10 questions
python-BTxâu
Quiz
•
9th - 12th Grade
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