Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

image

Play button

image

Play button

image

Progress

1/17

Click to flip

17 Cards in this Set

  • Front
  • Back
A ______________ is a sequence of processing steps that may be repeated.
Program loop.
This represents an operation performed on data in preparation for a major sequence of operations.
Preparation symbol.
A ____ has two basic characteristics:
1. The loop is controlled by a counter.
2. The number of times the loop will be executed is known or preset.
counter-controlled loop
A more flexible approach to loop control that builds on simple counter controlled loops is called ____________ by inputting a special record before any of the regular input records.
Header record logic.
The SIMPLE SEQUENCE, IFTHENELSE, AND DOWHILE controls are used in _______________.
structured programming.
A solution algorithm should have one entrypoint and one exit point. At the same time, every basic pattern in the algorithm should also have one entry and one exit point. A computer program representation of such an algorithm can be viewed conceptually as a ________________.
Single statement.
A program that can be viewed as a single statement is called a(n) ________________.
Proper program.
SIMPLE SEQUENCE, IFTHENELSE, and DOWHILE control structures can be _______ inside other control structures.
Nested.
What does a loop do?
Repeats steps a given number of times.
A(n) ___________ is a variable that is used to hold the sum of a group of numbers.
Accumulator
A ________ is a special type of accumulator which adds or accumulates by a constant amount, usually 1
Counter
A ____________ has two basic characteristics:
1. The loop is controlled by a counter.
2. The number of times THe loop will be executed is known or preset.
Counter-controlled loop.
Another name for COUNT.
Loop control variable.
In a DOWHILE loop, the loop steps are placed in the ____ path of the loop test?
Yes
To create a properly formed DOWHILE loop, you must place the loop test ___________ any other step within the loop.
Before (leading decision).
To create a properly formed DOWHILE loop, you must indicate that the loop will exit in the ___ path of the loop test.
No.
The test to determine whether the loop should be executed or exited is encountered _________________.
Immediately upon entering the loop.