CP Pseudocode Review #3

Quiz
•
Computers
•
11th Grade
•
Medium
Michelle Reckling
Used 7+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To attend a particular camp, a student must be either at least 13 years old or in grade 9 or higher.
Let age represent a student’s age and let grade represent the student’s grade level.
Which of the following expressions evaluates to true if the student is eligible to attend the camp and evaluates to false otherwise?
(age ≥ 13) OR (grade > 9)
(age ≥ 13) AND (grade ≥ 9)
(age ≥ 13) OR (grade ≥ 9)
(age > 13) OR (grade > 9)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To qualify for a particular scholarship, a student must have an
overall grade point average of 3.0 or above and must have a science grade point average of over 3.2.
Which of the following expressions evaluates to true if the student is
eligible for the scholarship and evaluates to false otherwise?
overallGPA > 3.0 AND scienceGPA > 3.2
overallGPA ≥ 3.0 AND scienceGPA > 3.2
overallGPA > 3.2 AND scienceGPA > 3.0
overallGPA ≥ 3.2 AND scienceGPA ≥ 3.0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code segment.
What is the value of sum after the code segment is executed?
12
14
16
18
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code segment.
If the value of x is 3 and the value of y is 5,
what is displayed as a result of executing the code segment?
-2
2
8
Nothing will be displayed
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the following expression,
the variable truckWeight has the value 70,000 and the variable weightLimit has the value 80,000.
What value does the expression truckWeight < weightLimit evaluate to?
True
False
Error
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code segment.
What is the value of r as a result of executing the code segment?
10
20
30
40
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code segment.
What is the value of result after the code segment is executed?
16
10
15
20
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
JavaScript Control Structures Review

Quiz
•
10th - 12th Grade
14 questions
AP CSP: Interpreting Algorithms / Block Programming Language

Quiz
•
9th - 12th Grade
15 questions
if-else-if and Logical Operators

Quiz
•
9th - 12th Grade
13 questions
APCSP Final Exam Coding Practice

Quiz
•
9th - 12th Grade
15 questions
Java Math

Quiz
•
9th - 12th Grade
10 questions
Comp Sci Quiz #6

Quiz
•
11th Grade
10 questions
Comp Sci Unit 3 #9

Quiz
•
11th Grade
12 questions
Java Strings

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade