Logic Chapter 5 Word Scramble
|
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.
Normal Size Small Size show me how
Normal Size Small Size show me how
Question | Answer |
There are 3 different was in which a set of instructions can be repeated and each way is determined by where the decision to repeat is placed. They are: | Leading Decision (Beginning), Trailing Decision (End) and Counted (# of times). |
DOWHILE is which type of loop? | Leading Decision |
When designing a DOWHILE loop there are two important things to remember: | Because it is a leading decision loop, some processing is required before the condition can be tested (values set to zero) and the condition must at some point be set to false, otherwise the loop is endless. |
When there are an unknown number of items or loops to be processed how can data be controlled? | Trailer record or Sentinel |
What is an EOF | End of file marker |
A read statement immediately prior to a DOWHILE clause is known as a: | Priming Read |
REPEAT...UNTIL structure differs fundamentally with the DOWHILE structure in where the 'blank' is tested. | Condition |
REPEAT...UNTIL structure will always be executed... | At least once |
There is no need for a 'blank' in a REPEAT...UNTIL structure. | Priming read |
The simple keyword for a counted loop is: | DO |
Created by:
lapetti
Popular Computers sets