Search Header Logo

C++ Programming Unit 4

Authored by Lynn Hadley

Computers

9th - 12th Grade

CCSS covered

Used 6+ times

C++ Programming Unit 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a ____ control structure, the computer executes particular statements depending on some condition(s).

looping

repetition

selection

sequence

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does <= mean?

less than

greater than

less than or equal to

greater than or equal to

Tags

CCSS.6.EE.B.8

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a relational operator?

=

==

!

&&

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the "not equal to" relational operator?

!

|

!=

&

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose x is 5 and y is 7. Choose the value of the following expression:


(x != 7) && (x <= y)

false

true

0

null

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose that x is an int variable. Which of the following expressions always evaluates to true?

(x > 0) || ( x <= 0)

(x >= 0) || (x == 0)

(x > 0) && ( x <= 0)

(x > 0) && (x == 0)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operators has the highest precedence?

!

*

%

=

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?