Exam 3: Understanding Structure

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

Match each term with a statement below. -With this,you ask a question,and,depending on the answer,you take one of two courses of action

Free
(Multiple Choice)
4.8/5
(36)
Correct Answer:
Verified

D

The case structure is a variation of the ____ structure.

Free
(Multiple Choice)
4.9/5
(32)
Correct Answer:
Verified

A

Match each term with a statement below. -An added statement that gets the first input value in a program

Free
(Multiple Choice)
4.9/5
(41)
Correct Answer:
Verified

B

Structured programming is sometimes called ____________________-less programming.

(Short Answer)
4.9/5
(36)

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

(Multiple Choice)
4.9/5
(37)

Structures can be stacked or connected to one another at their ____.

(Multiple Choice)
4.9/5
(39)

Match each term with a statement below. -A case in which no action is taken

(Multiple Choice)
4.9/5
(43)

The following pseudocode is an example of a ____ structure. get number While number is positive Add to sum Get number Endwhile

(Multiple Choice)
4.8/5
(41)

You may hear programmers refer to looping as ____.

(Multiple Choice)
4.8/5
(38)

Match each term with a statement below. -Often can be used in multiple programs

(Multiple Choice)
4.8/5
(38)

As a general rule,an eof question should always come immediately after an input statement because the end-of-file condition will be detected at input.

(True/False)
4.8/5
(39)

Some people call the selection structure a(n)____________________ statement.

(Short Answer)
4.8/5
(32)

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

(Multiple Choice)
4.8/5
(35)

Structured programs use spaghetti code logic.

(True/False)
4.7/5
(37)

The case structure is a variation of the sequence structure and the do loop is a variation of the while loop.

(True/False)
4.7/5
(42)

Match each term with a statement below. -Logically snarled program statements

(Multiple Choice)
4.9/5
(41)

if-else examples can also be called ____ because they contain the action taken when the tested condition is true and the action taken when it is false.

(Multiple Choice)
4.8/5
(39)

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.8/5
(36)

Structured programming is sometimes called goto-less programming.

(True/False)
4.9/5
(35)

Match each term with a statement below. -Describe a loop structure.

(Essay)
4.9/5
(29)
Showing 1 - 20 of 60
close modal

Filters

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