NEW
Font size
WorksheetsPython
Total questions: 20
Worksheet time: 10mins
Decision structure also known as Boolean structure
True
False
Single alternative provides only one alternative path
True
False
The first line of the "Decision structure" we refer "if clan"
True
False
In decision structure colon appears behind the condition
True
False
Expressions that are tested by if statement are called Logical expressions.
True
False
Boolean variables are commonly used as flags
True
False
== Determines whether two operands test more,. than one relationship.
True
False
=! Determines whether two operands are equal to one another
True
False
To test less than one condition, a decision structure can be nested inside another decision structure.
True
False
Flag is a variable that signals when some condition exist in the program.
True
False
A___ is a Logical design that controls the order in which a set of statements excute.
Decision structure
Control structure
Execution Structure
A___ structure is a set of statements that excute in the order in which they appear.
Sequence
Nested
Logical
Which is not part of control structure?
Sequence structure
Decision structure
Iteration structure
Single alternative structure
A___ is simply a set of statements that belong together as a group.
Boolean
Variable
Turtle
Block
A___ determines whether specific relationship exists between two values.
Logical operator
Arithmetic operator
Relational Operator
Which structure has two possible paths of excution?
Single alternative structure
Dual alternative structure
Both A & B
None
Which operators allow you to connect multiple Boolean expressions to create a compound expression.
Logical "and" operator
Logical "Or" operator
Both A & B
None
Which one is not part types of operators
Artithmetic oprations
Python Operations
Logical operations
Relational operations
A Boolean variables can reference one of two values
True or False
And or Not
If and else
None
A compound Boolean expression created with the ___ operator is true only if both of its subexpression are true
And
Or
Not
None
