IT 210 Week 3-DQ 1

IT 210 Week 3-DQ 1 - Week 3 Discussion Question 1 Review...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Week 3 Discussion Question 1 Review the definition of control structure on p. 45 in Extended Prelude to Programming: Concepts and Design (2nd ed.). Then, think about the pseudocode algorithm you would write for a simple task (making a peanut butter sandwich, for example) as well as three simple control structures that could be used to create this algorithm. What do you think is the most difficult part of creating the algorithm? What can you do to make this process easier? When writing a simple task such as “making a peanut butter sandwich”, I believe the most difficult part of creating the algorithm is determining which algorithm to use. There are three control structures they are sequential, loop and decision. The first step to make the process easier to create the algorithm is to determine the problem. The inputs are 2 pieces of bread, knife and peanut butter. The output is the peanut butter sandwich. At this point, I need to decide if the sequential structure of a series of consecutive
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/25/2011 for the course IT 210 taught by Professor Josephpillera during the Spring '10 term at University of Phoenix.

Ask a homework question - tutors are online