Calling Procedures

Quiz
•
Computers
•
12th Grade
•
Hard
Diana Mousa
Used 8+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which one of the following is NOT an input to this procedure or an output from this procedure?
highGrade
passingGrade
count
testGrade
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What can replace “<missing condition>” so that the procedure will display true if both the temperature is between 80 and 95, inclusive, and it is sunny and will display false if it is raining?
The parameter “a” is the temperature. The parameter “b” is a Boolean, true if it is sunny and false if it is raining.
Examples:
mystery [90, true] would display “Pool Party on Flag Day ”
mystery [90, false] would display “Pool Party is Cancelled”
mystery [100, true] would display “Pool Party is Cancelled”
mystery [95, false] would display “Pool Party is Cancelled”
(a ≤ 80 ≥ 95) AND (b = true)
(a ≥ 80 ≤ 95) AND (b = true)
(a ≥ 80) AND (a ≤ 95) AND (b = true)
(a ≤ 80) AND (a ≥ 95) AND (b = true)
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will the following procedure display where “num” can be any integer (e.g., 0, 1, 2, 3, 4 …) ?
All numbers from 0 to num
All numbers from 0 to num with the exclusion of numbers divisible by 5
All numbers from 1 to num
All numbers from 1 to num with the exclusion of numbers divisible by 5
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will the following call to the procedure display?
stressed
desserts
list1
backronym
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will price contain after running the following code segment?
[4, 8, 2, 12]
[20, 40, 10, 60]
[40, 80, 20, 120]
[20, 80, 10, 120]
Similar Resources on Wayground
10 questions
CMYK and RGB

Quiz
•
9th - 12th Grade
6 questions
AP CSP Review Session 2

Quiz
•
9th - 12th Grade
10 questions
AP CSP Big Idea 3 Practice

Quiz
•
9th - 12th Grade
10 questions
Technical Terms - Hardware (A-Z) - DisplayPort

Quiz
•
12th Grade
10 questions
Arrays

Quiz
•
10th - 12th Grade
10 questions
Variables and Constants

Quiz
•
11th Grade - University
9 questions
12th comp app lesson 4

Quiz
•
12th Grade
10 questions
AP Computer Science-Quiz 2(G10)

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade