Exam 2: Understanding Structure

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

You can replace any individual tasks or steps in a structured flowchart diagram or pseudocode segment with additional structures.

(True/False)
4.9/5
(44)

In a loop,if the answer to the question results in the loop being entered and the loop statements executing,then the logic ____.

(Multiple Choice)
5.0/5
(44)

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)

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

(Multiple Choice)
4.7/5
(36)

Write structured pseudocode to show the following: wash and dry your face if is dirty.

(Essay)
4.9/5
(43)

Programs that do not follow the rules of structured logic are ____ programs.

(Multiple Choice)
4.8/5
(40)

Write structured pseudocode to show the following: print "Reorder" when the quantity is less than 20; otherwise print "OK".

(Essay)
4.8/5
(43)

Write structured pseudocode to show the following: If you are at home,get comfortable and take a nap while you are sleepy,otherwise do not take a nap.

(Essay)
4.8/5
(36)

In a structured program,structures can be stacked or connected to one another only at their start or exit points.

(True/False)
4.7/5
(41)

Some programmers call structured programming ____ programming.

(Multiple Choice)
4.8/5
(44)

Any program,no matter how complicated,can be constructed using one or more of only four structures.

(True/False)
5.0/5
(35)

Programming structures can be combined in an infinite number of ways.

(True/False)
4.8/5
(31)

Write structured pseudocode to indicate that you will keep drying your hair while it is still wet.

(Short Answer)
4.8/5
(36)

A ____ can contain any number of tasks,but there is no chance to branch off and skip any of the tasks.

(Multiple Choice)
4.8/5
(46)

Write structured pseudocode to show the following: when you are on time for work you have time to buy coffee.

(Short Answer)
4.9/5
(34)

The popular name for logically snarled program statements is ____ code.

(Multiple Choice)
4.7/5
(31)

As programs get bigger,they get more confusing if they're not structured.

(True/False)
4.9/5
(40)

For convenience,many programming languages allow two supplemental structures-the do loop and the ____ structure.

(Multiple Choice)
4.8/5
(36)

A sequence can contain any number of tasks,but there is no chance to branch off and skip any of the tasks.

(True/False)
4.7/5
(36)

____ structures are attached end-to-end.

(Multiple Choice)
4.7/5
(40)
Showing 21 - 40 of 50
close modal

Filters

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