Preview

IT210 Week 3

Satisfactory Essays
Open Document
Open Document
756 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
IT210 Week 3
Assignment:
Resources: Review the example in Appendix E and the additional examples on pgs 80-83 of Prelude to Programming
Complete Programming Problem 2 on Page 109 of Chapter 2 of Prelude to Programming.

Side note; I had a very difficult time with this class in the first 3 weeks. However, I stumbled upon the Pseudocode Building Blocks tutorials on Youtube by Jack Lusby. They have helped me out tremendously.

IT/210
Hollie M. Strack
Week 2
CP 2
Jo Jones

Chapter 2 Programming Problem
Analysis
Process:
1. Get user input.
2. Get item weight in pounds and ounces
3. Determine price per unit
4. Calculate total cost
Input:
Weight in pounds and ounces
Price
Output:
Total_cost (real: > 0)

Design

Main Module
Declare ItemName As String
Declare Pounds As Float
Declare Ounces As Float
Declare PoundPrice As Float
Declare UnitPrice As Float
Declare TotalPrice As Float

Get user input
Find weight of item in pounds and ounces
Determine the number of units
Multiply units
Display total
End Main Module
Input Data Module
Write “What is the Item’s Name”
Input Item Name

Write “How Many Units are there”
Input Units

Write “What is the Price Per Unit”
Input Price

End Input Data Module

Perform Calculations Module
Declare Pounds As Float
Set TotalPrice = UnitPrice * (Pounds + Ounces/16)
Set UnitPrice = PoundPrice/16
End Perform Calculations Module
Output Results Module
Write “The item is “ + ItemName
Write “Number of Units”
Write “Price Per Unit”

Input Process Output
Price
Square feet per gallon
Width
Length
Height Get user input. Price
Square feet per gallon
Width
Length
Height

Length
Height
Width Find room area. Total area

Square feet per gallon
Total area Divide the area. Gallons needed

Gallons needed
Price
Multiply gallons. Total cost

Price
Square feet per gallon
Width
Length
Height
Total cost Display the total. Total cost

Associate Program Material

You May Also Find These Documents Helpful

  • Satisfactory Essays

    It240 Week 3

    • 370 Words
    • 2 Pages

    For all three settings given the conditions in which to work with a client server based model is the choice. This choice is made for a few different reasons while considering multiple factors. First off client server includes an option for flexibility. That is growth and, or modification to any existing device, or future additions to the system. The design, implication, material, and budget demands are reasonably accomplishable. A client server offers tighter security through a central database which houses an array of customized permissions which allows an appointed user whatever access is needed. A client server base model is reasonably equipped to accommodate the expanding business to the business with everything…

    • 370 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    ISSC362 Week 2

    • 645 Words
    • 3 Pages

    During the scanning step of the hacking attack process, you identified known software vulnerabilities in a Windows XP Professional Workstation. List the name and number of the critical Microsoft® vulnerabilities identified. What is vulnerability “MS08-067”?…

    • 645 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    It/205 Week 5 Checkpoint

    • 928 Words
    • 4 Pages

    The credit card data theft at TJX Companies is considered one of the worst ever. The case is significant because of a lack of appropriate security and control.…

    • 928 Words
    • 4 Pages
    Good Essays
  • Good Essays

    It210 Week 4 Psuedocode

    • 584 Words
    • 3 Pages

    Program Pseudocode Currency_Convertor Main Module Delcare USDollars As Float Declare Rate1 As Float Declare Rate2 As Float Declare Rate3 As Float Declare Rate4…

    • 584 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    7. The program will calculate and display a final total for the items that are purchased.…

    • 498 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    It 210 Week 8 Checkpoint

    • 358 Words
    • 2 Pages

    |Graphical Interface/Central Computer |Communicates with the door, microwave |Incoming messages are from the user,|Outgoing messages tell the generator to |…

    • 358 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It237 Week 2 Checkpoint

    • 414 Words
    • 2 Pages

    Throughout this paper I will be describing external, embedded, and inline types of cascading style sheets. Also, I will be providing a pro and a con for each type of cascading style sheet.…

    • 414 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Cja224 Week 2

    • 1423 Words
    • 6 Pages

    Jacksonville.com, Judge Amanda Williams quitting before hearing on judicial misconduct charge, December 20, 2011, Retrieved at;…

    • 1423 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Programing Problems

    • 721 Words
    • 3 Pages

    IT 210 13 Programming Problems Pseudocode for chapter 2 checkpoint Frank T. Hartman IT 210 13 Programming Problems Pseudocode for chapter 2 checkpoint Frank T. Hartman Programming Problem 1 Main Module Declare SalesAmount As Real Declare CommissionRate As Real Declare CommissionEarned…

    • 721 Words
    • 3 Pages
    Good Essays
  • Good Essays

    It210 Week 1 Dq#2

    • 329 Words
    • 2 Pages

    In development of programs structured approach is mostly used, because the structured approach is a method for designing and coding programs in a systematic, organized manner to develop a programming solution. In this approach, system requirement is to identify the long term requirements before the programming development[pic]…

    • 329 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Week 1 Ge217

    • 1533 Words
    • 7 Pages

    I do see what Lewis was saying about service but all-in-all America is a tipping place. We give tips for almost everything now and it is just custom for someone…

    • 1533 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    It 218 Week 4 Checkpoint

    • 290 Words
    • 2 Pages

    A one dimensional array is a variable that holds more than one index value such as car [ 13 ]. A Two dimensional array will hold two different index values such as…

    • 290 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    BIP Conditions Functions

    • 731 Words
    • 6 Pages

    Suppose if user require status equal to “shipped” or status equal to “new” or status equal to “pending” we need to display the report if not it shows blank at that time, then we use the below condition:…

    • 731 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Law 101 Intro

    • 487 Words
    • 2 Pages

    • Tutorial hand-ins submitted after the last day of the term will only be accepted for DP purposes.…

    • 487 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    This Is It

    • 59253 Words
    • 238 Pages

    This book is intended for a one-semester course on programming languages. It discusses the basic concepts of programming languages and the actual implementation of basic programming language constructs which makes it different from other language programming books that stop after a discussion of the concepts. As a teacher for many years, I believe it is best to teach and learn concepts when we put them to use. In this case, to implement the language. You should at least have a basic knowledge of the syntax of a variety of programming languages like Pascal, C. FORTRAN, Algol, COBOL, Prolog, Lisp, and ML, though a working knowledge of Pascal and C is sufficient. I used the intermediate language Slim+ as the target language for for translation. Slim+ is a simple stack-oriented language with very simple instructions that can be mapped to any actual machine instrucitons. As an additional aid both for students and teachers, Slim+ is discussed in the Appendix. I strongly advise the reader to take up this topic before proceeding to Module 3 and before tackling the first topic on implementation. Finally,…

    • 59253 Words
    • 238 Pages
    Powerful Essays

Related Topics