C++ Conditional Statements

C++ Conditional Statements

University

44 Qs

quiz-placeholder

Similar activities

Practice quiz -Corporate Law

Practice quiz -Corporate Law

University

42 Qs

HMPE11 MIDTERM EXAM

HMPE11 MIDTERM EXAM

University

45 Qs

Module I: Understanding Operating Systems

Module I: Understanding Operating Systems

12th Grade - University

45 Qs

Quiz  de 40 questions sur le Brevetage des Inventions

Quiz de 40 questions sur le Brevetage des Inventions

University

40 Qs

Credit and Loans

Credit and Loans

8th Grade - University

42 Qs

Diuretics- Khan

Diuretics- Khan

University

42 Qs

UTS Workshop Pengendalian Proses

UTS Workshop Pengendalian Proses

University

40 Qs

Kế Kiểm Học gì? Làm gì?

Kế Kiểm Học gì? Làm gì?

University

45 Qs

C++ Conditional Statements

C++ Conditional Statements

Assessment

Quiz

Other

University

Practice Problem

Hard

Created by

Noelyn Mandanas - De Jesus

Used 26+ times

FREE Resource

AI

Enhance your content in a minute

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

44 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

It is used to combine two Boolean values and return a result. The most common logical operators are && (AND), || (OR) and ! (NOT).

Arithmetic Operator

Assignment Operator

Relational Operator

Logical Operator

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

It is used to compare two expressions and return true or false. The most common are > (greater than), < (less than), >= (greater than or equal to), <= (less than or equal to), == (equal to), != (not equal to).

Arithmetic Operator

Assignment Operator

Relational Operator

Logical Operator

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Else block runs if all conditions in the statement are false

TRUE

FALSE

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Not (!) results in "True" if one or both operands are true; otherwise the operator results in false. Everything the works for && also works for ||

TRUE

FALSE

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

results in "true" if the value is false, and vice versa. It effectively inverts the value. True becomes false and false becomes true. Overlaps with || but not with &&

Or (||)

Not (!)

And (&&)

Boolean

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A symbol or a word, such as "and", "or" and "not" that connects two or more Booleans to make conditional decisions more specific

Nested if-statement

Condition

Logical operator

Boolean

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Something you test that results in true or false-start with question, determine possible outcomes, act on the outcome

And (&&)

Condition

Boolean

Or (||)

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?