Search Header Logo

CP Pseudocode Review #3

Authored by Michelle Reckling

Computers

11th Grade

Used 7+ times

CP Pseudocode Review #3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?