Preview

chapter 2

Satisfactory Essays
Open Document
Open Document
282 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
chapter 2
Hector R Castillo
9/30/2014

Chapter 2 Assignment 1: Homework
Short Answer
1. What does a professional programmer usually do first to gain an understanding of a problem?
A professional programmer gains this understanding by working directly with the customer.
2. What is pseudocode?
The word pseudo means fake, so pseudocode is fake code.
3. Computer programs typically perform what three steps?
1 input is received.
2 Some process is performed on the input.
3 Output is produced
4. What does the term user-friendly mean?
The term user-friendly is commonly used in the software business to describe programs that are easy to use.
Algorithm Workbench Review
1. Design an algorithm that prompts the user to enter his or her height and stores the user’s input in a variable named height.
Display “What is your height?”
Input height
2. Design an algorithm that prompts the user to enter his or her favorite color and stores the user’s input in a variable named color.
Display “What is your favorite color?”
Input color

Programming Exercises
1. Personal information
Display “Enter your name”
Input name
Display “Enter your address, with city, state, and zip”
Input address, city, state, zip
Display “Enter your telephone number”
Input Telephone number
Display “Enter college major”
Input college major
2. Total Purchase
Display "Enter the first item"
Input item1
Display "Enter the second item"
Input item2
Display "Enter the third Item" input item3
Display "Enter the fourth Item" input item4
Display "Enter the fifth Item" input item5
Set subtotal=item1+item2+item3+item4+item5
Set sales tax= subtotal*.06
Set total=subtotal+sales tax
Display "the subtotal is", subtotal, "the sales tax is", sales tax, "total is", total

You May Also Find These Documents Helpful

  • Good Essays

    The software will be presented in such a way that it is both visually appealing and easy for the user to navigate through the application.…

    • 612 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    IT104 Assignment Unit 5

    • 307 Words
    • 2 Pages

    1) What does a professional programmer usually do first to gain an understanding of a problem?…

    • 307 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Pt1420 Unit 7 Study Guide

    • 582 Words
    • 3 Pages

    3.Write a program to (a) prompt the user, (b) read first, middle, and last initials of a person’s name, and display them down the left margin. Page: 80…

    • 582 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Pt1420 week 2

    • 320 Words
    • 3 Pages

    1. Design an algorithm that prompts the user to enter his or her height and stores the user’s input in a variable named height.…

    • 320 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    1. Design an algorithm that prompts the user to enter his or her height and stores the user’s input in a variable named height.…

    • 848 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Chapter Two

    • 663 Words
    • 3 Pages

    A __ liquid __ asset is one which can be quickly converted into cash without significant loss in value.…

    • 663 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    EAS230Syllabus

    • 1748 Words
    • 8 Pages

    An introduction to computer programming with an emphasis on problem solving will be presented. Specific topics include:…

    • 1748 Words
    • 8 Pages
    Powerful Essays
  • Satisfactory Essays

    In the following example, the second line of the table specifies that tax due on a salary of $2000.00 is $225.00 plus 16% of excess salary over $1500.00 (that is, 16% of $500.00). Therefore, the total tax is $225.00 + $80.00, or $305.00.…

    • 669 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Chapter 1

    • 3284 Words
    • 14 Pages

    5. The instrumental argument for the stakeholder theory of the firm says that companies perform better if they consider the rights and concerns of multiple groups in society.…

    • 3284 Words
    • 14 Pages
    Good Essays
  • Powerful Essays

    Chapter 2

    • 968 Words
    • 4 Pages

    Wegener and his associates found that the fit of the continents, fossil evidence, paleoclimatic evidence, and similarities in rock type and structural features all seemed to bridge together the now-separated continental landmasses.…

    • 968 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    Chapter 2

    • 514 Words
    • 2 Pages

    I would recommend training and regulations in using the system. I would also address the importance of accurate information reported. The system is used to compile reports that are required by the federal government under various grant programs; therefore, every single employee needs to remember that this is a non-profit organization and in order to operate successfully, we need the funding and resources available to accomplish our mission and goals. I would address and reinforce administrators that their major responsibility is to maintain and monitor the accuracy of data entries. Managers typically are interested in structuring an organizational architecture that will work well and does not depend on specific people filling particular jobs. Individuals come and go and the manager wants an organization that will work well as these changes occur (p. 34). With this being…

    • 514 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Chapter 2

    • 404 Words
    • 2 Pages

    The new millennium begins with Wild Castle continuing to offer guests the latest in family fun attractions like the Wave Pool, the sight and sound re-vamp on the Gyro sphere, the up & down thrills of the spring and a variety of live shows are performed on the front lawn stage. The Wild Castle Passport program, offering an individual guest multiple visits, is introduced and is very well received.…

    • 404 Words
    • 2 Pages
    Good Essays
  • Good Essays

    chapter 3

    • 3781 Words
    • 15 Pages

    This course is designed as an introduction to the principles and practices of public communication. The course will cover the concepts and strategies that are involved in public speaking. This course presents both classical and contemporary theories of rhetoric while at the same time emphasizing the practical skills of public speaking in modern society. The course offers full coverage of all major aspects of speech preparation and presentation and requires student practice throughout the course.…

    • 3781 Words
    • 15 Pages
    Good Essays
  • Powerful Essays

    Chapter 2

    • 1207 Words
    • 5 Pages

    • Describe psychoanalytic, cognitive, behavioral and social learning, and ecological theories as applied to lifespan development.…

    • 1207 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    Chapter 02

    • 1790 Words
    • 7 Pages

    Fiscal policies refer to government efforts to influence the economy through taxation without representation and spending decisions that are designed to encourage growth. Monetary policies refer to actions that shape the economy by influencing interest rates and the supply of money. Politics plays a role by making taxes higher and by influencing interest rates.…

    • 1790 Words
    • 7 Pages
    Powerful Essays