Search Header Logo

Selection Structure

Computers

University

Used 39+ times

Selection Structure
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

4 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You create a statement block by enclosing one or more statements in ___.

parentheses

square brackets

quotation marks

none of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following determines whether an int variable named quantity contains the number 100?

if (quantity = 100)

if quantity = 100

if (quantity ==100)

none of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following determines whether the value contained in the sales variable is at least $300.99?

if (sales >= 300.99)

if (sales => 300.99)

if (sales >= 300.99)

none of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the inequality operator in C++

&=

!=

==

none of the above

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?

Discover more resources for Computers