Exam 3: Understanding Structure

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Why is it best to use only three programming structures?

(Essay)
4.8/5
(40)

Structured programming is sometimes called goto-less programming.

(True/False)
4.8/5
(47)

Describe how you can straighten out an unstructured flowchart segment.

(Essay)
4.7/5
(41)

Structured programs use spaghetti code logic.

(True/False)
4.8/5
(30)

Attaching structures end to end is called ____ structures.

(Multiple Choice)
4.8/5
(32)

Describe a loop structure.

(Essay)
4.8/5
(37)

A structured program must contain a sequence, selection, and loop structure.

(True/False)
4.9/5
(47)

Fill in the blank in the following pseudocode: if someCondition is true then    do oneProcess ____    do theOtherProcess Endif

(Multiple Choice)
4.7/5
(32)

Because you may stack and nest structures while retaining the overall structure, it might be difficult to determine whether a flowchart as a whole is structured.

(True/False)
4.9/5
(38)

With a(n) ____, you perform an action or task, and then you perform the next action, in order.

(Multiple Choice)
4.8/5
(37)

In older languages, you could leave a selection or loop before it was complete by using a ____ statement.

(Multiple Choice)
4.7/5
(33)

The maximum number of entry points that any programming structure can have is ____.

(Multiple Choice)
4.9/5
(31)

All logic problems can be solved using only these three structures: sequence, selection, and loop. The three structures, of course, can be combined in an infinite number of ways. What are two general ways structures can be combined?

(Essay)
4.7/5
(24)

No matter how complicated it is, any set of steps can always be reduced to combinations of the two basic structures of sequence and loop.

(True/False)
4.9/5
(28)

The following pseudocode is an example of ____. The following pseudocode is an example of ____.

(Multiple Choice)
4.9/5
(44)

The action or actions that occur within a loop are known as a(n) ____.

(Multiple Choice)
4.9/5
(37)

One way to straighten out an unstructured flowchart segment is to use the ____ method.

(Multiple Choice)
4.8/5
(35)

The case structure is a variation of the ____ structure.

(Multiple Choice)
4.8/5
(28)

Programs that use _____ code logic are unstructured programs that do not follow the rules of structured logic.

(Multiple Choice)
4.9/5
(43)

Pseudocode uses the end-structure statement ____ to clearly show where the structure ends.

(Multiple Choice)
4.9/5
(37)
Showing 21 - 40 of 51
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)