Explore BrainMass

Situation or problem that would use a decision structure and a loop

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

Please describe a situation or problem that could lead to a decision structure and a loop.

© BrainMass Inc. brainmass.com December 19, 2018, 8:16 pm ad1c9bdddf

Solution Preview

A Decision Structure is the code that makes a program do different things

Computers are sometimes called, "Thinking Machines" and the main thing that has to happen when a computer is "thinking" is decision making or problem solving. As thus decision making with a computer is when 'decision structure and looping' comes into play.

Problem Solving

· In the most general terms, problem solving involves finding a sequence of steps that allow one to move from a given starting point to the goal.
· In order to take a step one must know what options, or operations, are available.
· There are a number of well defined operations for procedural programming.

Control Structures

· How are instructions arranged so that a computer ...

Solution Summary

This job describes a situation or problem that would use a decision structure and a loop.