ITEC 2140 Chapter 4-1

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Sequence generation loop

A loop that generates a sequence of values that has a clear pattern

Counting loop

A loop that is controlled by a variable that keeps track of how many times a task has been performed by a loop throughout the iterations

Loop until done loop

A loop that is controlled by user input where the first input is obtained before the loop. At the end of each iteration, the program will get the next user input

Loop control variable

A variable to control the execution of a loop

Pre test

A while loop is also called a _____ loop

Add ++, --, or other increasing or decreasing incremental pattern

How do you update a control variable?

Loop body

The block of statements that are to be executed repetitively

Post test

The do-while loop is considered a(n) ________ loop.

A boolean expression

What is a loop condition?


Kaugnay na mga set ng pag-aaral

Characters and Conflict in Romeo and Juliet, Part 3

View Set

FIN300 Exam 2 (Ch. 7 Material)- Wendy Liu

View Set

Global Studies Review: Israel/Palestine

View Set

Pediatric health assessment - use this one!

View Set

AP Bio - Gene Regulation and OPERON

View Set