CP Pseudocode Review #3

CP Pseudocode Review #3

11th Grade

10 Qs

quiz-placeholder

Similar activities

AP CSP:  Interpreting Algorithms / Block Programming Language

AP CSP: Interpreting Algorithms / Block Programming Language

9th - 12th Grade

14 Qs

Boolean and If-Else Practice

Boolean and If-Else Practice

9th - 12th Grade

11 Qs

BenchmarkI RetestPractice - CMPI

BenchmarkI RetestPractice - CMPI

9th - 12th Grade

10 Qs

Java Strings

Java Strings

9th - 12th Grade

12 Qs

Comp Sci Unit 2 #9

Comp Sci Unit 2 #9

11th Grade

10 Qs

JavaScript Control Structures Review

JavaScript Control Structures Review

10th - 12th Grade

15 Qs

C++ - Loops and Random Numbers

C++ - Loops and Random Numbers

9th - 12th Grade

14 Qs

Question Type: Pseudocode

Question Type: Pseudocode

10th - 12th Grade

8 Qs

CP Pseudocode Review #3

CP Pseudocode Review #3

Assessment

Quiz

Computers

11th Grade

Medium

Created by

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?