
SUBROUTINES Pseudocode
Authored by Andrew Duckworth
Computers
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
In CIE Pseudocode we should always.. (pick one or more answers)
Write command words in capitals
Use DEFINE for every variable used
Include comments
Ensure that all subroutines are shown at the end of the program
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the back arrow ← in pseudocode?
It means replace the variable with the new variable
It means use the previous value of the variable
It means assign to the variable
It means check that the variable value is valid
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Pseudocode how can we create a subroutine procedure called drawSquare that will take a size input as a parameter?
SUBROUTINE drawSquare(size: REAL):
SUBROUTINE drawSquare():
INPUT size (REAL)
PROCEDURE drawSquare():
INPUT size (REAL)
PROCEDURE drawSquare(size:REAL):
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which are true about DEFINE statements in pseudocode?
They give the data type of the variable
They can occur anywhere in the program, provided it is before the variable is used
They have the same purpose as def statements in Python
Any variables used in the program or subroutine must be first shown with a DEFINE statement
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of these statements are true?
Subroutines can use variables that are not used in the rest of the progtram
Subroutines can only use variables that are defined at the start of the program
Suboutines in pseudocode may use parameters
Subroutines may return a value
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A function subroutine in pseudocode can be written as
FUNCTION CountChar():
SUBROUTINE CountChar():
FUNCTION CountChar:
SUBROUTINE CountChar:
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Functions and Procedures are the same
Yes
No, procedures cannot use parameters
No, procedures cannot use a RETURN statement
No, functions cannot use parameters
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
20 questions
Interactive Media
Quiz
•
10th Grade
20 questions
Conceptos de Programación
Quiz
•
9th - 12th Grade
20 questions
SECURITY TROUBLESHOOTING AND SOLUTIONS
Quiz
•
9th - 12th Grade
20 questions
ICT Quiz part 1
Quiz
•
10th Grade
20 questions
What about technology? - Codeweek 2022
Quiz
•
5th - 11th Grade
20 questions
Data Quiz
Quiz
•
9th - 12th Grade
20 questions
Access Lesson 7
Quiz
•
9th - 12th Grade
21 questions
CPA MS-Office Hotkeys Quiz
Quiz
•
8th Grade - Professio...
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade