C++ Programming Unit 4

C++ Programming Unit 4

9th - 12th Grade

19 Qs

quiz-placeholder

Similar activities

C++ Unit Quiz

C++ Unit Quiz

Unit 4 - Variables, Conditionals, and Functions ('21-'22)

Unit 4 - Variables, Conditionals, and Functions ('21-'22)

Programming Operators

Programming Operators

C++ Programming Quiz

C++ Programming Quiz

Operators in programming

Operators in programming

BASIC Control Statements

BASIC Control Statements

Basic Flow Control Quiz

Basic Flow Control Quiz

IDT UNIT 3

IDT UNIT 3

C++ Programming Unit 4

C++ Programming Unit 4

Assessment

Quiz

Computers

9th - 12th Grade

Hard

CCSS
6.EE.B.8

Standards-aligned

Created by

Lynn Hadley

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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?

!

*

%

=

Create a free account and access millions of resources

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?