
Pseudocode Rules Quiz

Quiz
•
Computers
•
11th Grade
•
Medium

Matthew Wemyss
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Latihan UPS2

Quiz
•
5th - 12th Grade
10 questions
python(strings)

Quiz
•
11th Grade
10 questions
Pseudocode Input

Quiz
•
9th - 12th Grade
18 questions
Pseudocode - Variables, I/O, SELECTION

Quiz
•
10th - 11th Grade
12 questions
Python Programming Basics

Quiz
•
7th - 11th Grade
20 questions
10.1 Data Types and Records Cambridge iAS 9618

Quiz
•
11th Grade
20 questions
Variables and Loops Review

Quiz
•
9th - 12th Grade
16 questions
Javascript Basics

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade