Calling Procedures
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Diana Mousa
Used 8+ times
FREE Resource
Enhance your content in a minute
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]
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
Feet/Inches to Inches
Quiz
•
9th - 12th Grade
7 questions
Pewdiepie
Quiz
•
5th - 12th Grade
10 questions
IT Unit 11: Cybersecurity (A2 System vulnerabilities)
Quiz
•
12th Grade
7 questions
Informatyka
Quiz
•
7th Grade - University
8 questions
15 - Critical Path Analysis & Gantt Charts
Quiz
•
12th Grade
10 questions
Monitory
Quiz
•
4th - 12th Grade
10 questions
GCSE CS Computer Networks
Quiz
•
9th - 12th Grade
10 questions
Lesson 01 Unit 1 Excel 2019/365 MOAC
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
