Search Header Logo

CSC301 Decision Structures

Authored by ZALIKHA ZULKIFLI

Computers

University

Used 32+ times

CSC301 Decision Structures
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

The If...Then statement is an example of a sequence structure.

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is not possible to write a Boolean expression that contains more than one logical operator.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is not possible to write Boolean expressions that contain math, relational, and logical operators.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You may use the relational operators to compare strings.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An If...Then statement will not execute unless the conditionally executed statements are indented.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When an If statement is placed inside another If statement, it is known as this type of statement.

A nested If

A complex If

A compound If

An invalid If

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This operator connects two Boolean expressions into one. One or both expressions must be true for the overall expression to be true. It is only necessary for one to be true, and it does not matter which.

And

Or

Xor

Not

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?