Week-3 (Decision Structures & Boolean Logic)

Week-3 (Decision Structures & Boolean Logic)

University

10 Qs

quiz-placeholder

Similar activities

Redes Vlan

Redes Vlan

University

15 Qs

Tree and Planar Graph

Tree and Planar Graph

University

10 Qs

Computational Thinking in Python[Quiz 3]

Computational Thinking in Python[Quiz 3]

University

15 Qs

Mini 2 (5junio)

Mini 2 (5junio)

University

10 Qs

Bài 25 tin 10

Bài 25 tin 10

9th Grade - University

10 Qs

Función CONTAR

Función CONTAR

KG - Professional Development

10 Qs

Understanding Email, Contacts and Calendaring

Understanding Email, Contacts and Calendaring

University

10 Qs

BB

BB

University

10 Qs

Week-3 (Decision Structures & Boolean Logic)

Week-3 (Decision Structures & Boolean Logic)

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Sudath Heiyanthuduwage

Used 37+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A(n) _____ structure is a logical design that controls the order in which a set of statements execute.

Function

Control

Sequence

Iteration

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Multiple Boolean expressions can be combined by using a logical operator to create _____ expressions.

Sequential

Logical

Compound

mathematical

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When using the _____ operator, one or both subexpressions must be true for the compound expression to be true.

or

and

not

may be

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which logical operators perform short-circuit evaluation?

or, not

not, and

or, and

and, or, not

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct if clause to determine whether y is in the range 10 through 50?

if 10 < y or y > 50

if 10 > y and y < 50

if y > 10 and y < 50

if y > 10 or y < 50

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A Boolean variable can reference one of two values: _____.

yes or no

true or false

T or F

Y or N

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following Boolean expression, if x equals 5, y equals 3, and z equals 8? x < y or z > x

true

false

8

5

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