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

Week-3 (Decision Structures & Boolean Logic)

Quiz
•
Computers
•
University
•
Hard

Sudath Heiyanthuduwage
Used 37+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python

Quiz
•
6th Grade - University
15 questions
Interactivity with JavaScript

Quiz
•
University
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
15 questions
PreTest DFC20113 - Programming Fundamentals

Quiz
•
University
15 questions
JavaScript

Quiz
•
University
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
15 questions
coding

Quiz
•
KG - Professional Dev...
10 questions
Tipe Data

Quiz
•
University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade