250 likes | 335 Views
This is Alice Jeopardy. To Final Jeopardy. What is the Else portion of the statement?. This part of the If Else Statement may be missing. If/Else1. Back to Board. What is nested If/Else?.
E N D
What is the Else portion of the statement? • This part of the If Else Statement may be missing. If/Else1 Back to Board
What is nested If/Else? • If I want my If Else to go beyond the simple choice between two things and make a more intricate series of decisions I must create this. If/Else2 Back to Board
What is the condition? • This is evaluated to determine which part of the If Else statement to move to. If/Else 3 Back to Board
What is a condition, and both If and Else portions of statements? • A complete If/Else structure contains the following three things. Variable 4 Back to Board
What are != and ==? • These are the equality operators. Back to Board ERL Operators 1
What is < , <= , > , >=? • These are the relational operators. ERL Operators 2 Back to Board
What are not, and, & or? • These are the three logical operators. ERL Operators 3 Back to Board
What is !=? • This is the not operator and can only be used with the equality operator. ERL Operators 4 Back to Board
What is the number of times the loop will execute? • In order to use a Loop the programmer must know this. Loops1 Back to Board
What is 40? • An inner loop that will run 5 times that is nested in an outer loop that will run 8 times will execute this many times. Loops 2 Back to Board
What is Repetition Statement? • The While and Loop are two types of this statement. Back to Board Loops 3
What is loop control variable? • This integer variable controls the execution of the loop statement. Back to Board Loops 4
What is the condition? • The body of repetition statements will execute so long as this is true. Repetition 1 Back to Board
What is an infinite loop? • A loop whose condition is always said to be true is referred to as this. Repetition 2 Back to Board
What is an integer type? • The loop control variable must be of this type. Repetition 3 Back to Board
What is index/loop control exceeds ending? • A loop is terminated when this value exceeds this value. Back to Board Repetition 4
What is True or False? • Logical Operators return this. Grab Bag 1 Back to Board
What is any statement? • A loop’s body can contain this. Grab Bag 2 Back to Board
What is Control Statements? • This type of statement allows the user to control the program’s logic. Grab Bag 3 Back to Board
What is boolean? • The condition in a control statement produces this type of result. Grab Bag 4 Back to Board
Final Jeopardy Category Loop Control Variable make your wagers
Let’s see your answers. • When executing a Loop the loop control variable must be this. (3 things) Begin Now.
What is…. • Initialized • Incremented • Compared to an ending value