/CrosswordPuzzles/ExtraCredit03 to find the crossword puzzle) for this extra credit. Across 6 when a body of a loop can contain another loop 8 allows execution of your program to suddenly jump to the statement following a certain construct 9 keyword used within a switch statement to match up with the evaluation of the expression 11 a pretest event controlled loop 12 when you only have true statements that may be executed 13 a posttest event controlled loop 15 ternary operator (requires three operands)
Types of Loop
Loops are the elements of programming in which a part of code is repeated a particular number of times. Loop executes the series of statements many times till the conditional statement becomes false.
Loops
Any task which is repeated more than one time is called a loop. Basically, loops can be divided into three types as while, do-while and for loop. There are so many programming languages like C, C++, JAVA, PYTHON, and many more where looping statements can be used for repetitive execution.
While Loop
Loop is a feature in the programming language. It helps us to execute a set of instructions regularly. The block of code executes until some conditions provided within that Loop are true.
Use the hints below to fill in the crossword puzzle (goto
Files/CrosswordPuzzles/ExtraCredit03 to find the crossword puzzle) for this
extra credit.
Across
6 when a body of a loop can contain another loop
8 allows execution of your program to suddenly jump to the statement following a certain
construct
9 keyword used within a switch statement to match up with the evaluation of the expression
11 a pretest event controlled loop
12 when you only have true statements that may be executed
13 a posttest event controlled loop
15 ternary operator (requires three operands)
16 when you have true statements or false statements that may be executed
17 based on a single value your program may follow one of several paths
18 a pretest counting loop
19 one of the four things that a loop must have to change the value of the loop variable
Down
1 what you must do to a loop variable before encountering a loop
2 how many times a posttest loop will execute at the very least
3 allows your program to choose which statement(s) will be executed next
4 how many times a pretest loop may execute at the very least
Sam H. McCall 2
5 must use these when using block statements
7 != is an example of these
10 && operator
14 when a loop body executes forever
15 evaluates to either true or false in order for statements to be executed
Trending now
This is a popular solution!
Step by step
Solved in 2 steps