
Week-3 (Decision Structures & Boolean Logic)
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Sudath Heiyanthuduwage
Used 37+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Hệ Điều Hành Của Máy Tính
Quiz
•
10th Grade - University
10 questions
paquetes contables lección 1
Quiz
•
11th Grade - Professi...
15 questions
quiz pertemuan 2 asik ddp
Quiz
•
University
12 questions
Centros de datos perimetral
Quiz
•
University
10 questions
Sistema Binario
Quiz
•
1st Grade - University
10 questions
6ta generación de computadoras
Quiz
•
University
10 questions
Software Testing
Quiz
•
University
15 questions
HTML Quiz
Quiz
•
11th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
