Preview

logic and design study guide for final

Satisfactory Essays
Open Document
Open Document
2498 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
logic and design study guide for final
CIS 121 Logic & Design
Study Guide For Final Exam
1 . The two broadest types of data are ____________ .

a. internal and external

b. volatile and constant

c. text and numeric

d. permanent and temporary

2 . The following pseudocode is an example of ____. if conditionA is true then do stepE else do stepB do stepC do stepD endif Choose one answer.

a. nesting

b. stacking

c. a posttest

d. a pretest

3 . Adding 1 to a variable is also called _____ it.

a. digesting

b. resetting

c. decrementing

d. incrementing

4 . When a program or module uses another module, you can refer to the main program as the ____ program.

a. director

b. calling

c. called

d. parent

5 . Which of the following is not a typical housekeeping task?

a. declaring variables

b. printing summaries

c. opening files

d. performing a priming read

6 . In the following pseudocode, how many times is “Hello” printed? j = 2 k = 5 m = 6 n = 9 while j < k while m < n print “Hello” m = m + 1 endwhile j = j + 1 endwhile a. zero

b. three

c. six

d. nine

7 . An heirarchy chart tells you __________________ .

a. what tasks are to be performed within each program module

b. when a module executes

c. which routines call which other routines

d. all of the above

8 . The major computer operations include ______________ .

a. hardware and software

b. input, processing, output and storage

c. sequence and looping

d. spreadsheets, word processing and data communications

9 . Snarled program logic is called __________ code.

a. snake

b. spaghetti

c. string

d. gnarly

10 . ___ typically appear at the end of a report after all details lines have been printed.

a. Total lines

b. End lines

c. Return statements

d. Group lines

11 .

You May Also Find These Documents Helpful