Preview

Week 1 Activity – Pseudocode

Satisfactory Essays
Open Document
Open Document
393 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Week 1 Activity – Pseudocode
Week 1 Activity – Pseudocode

------------------------------------------------- TCO #1– Given a simple business problem, design and desk-check a solution algorithm that is expressed in terms of pseudocode or program notes and input-process-output (IPO) analysis leading to a flow chart.
-------------------------------------------------

Assignment: This activity will assist you in the understanding of how output should appear after statements are executed (results) and how to write proper pseudocode. 1. Show the result of each pseudocode program. 2. Also rewrite the pseudocode statements using Assignment statements.

Rubric:
When completed compile the following documents together neatly in 1 & 2 order: 1) This instruction sheet first 2) Your answer sheet, second

Point distribution for this activity: Pseudocode Activity | Document: | Points possible: | Points received | Problem #1 | 6 | | Problem #2 | 6 | | Problem #3 | 8 | | Total Points | 20 | |

Problem #1:

The variable X starts with the value 0. The variable Y starts with the value 5. Add 1 to X. Add 1 to Y. Add X and Y, and store the result in Y. Display the value in Y on the screen.

Output #1:
-------------------------------------------------

------------------------------------------------- Y=7
-------------------------------------------------

Pseudocode #1:
-------------------------------------------------
Declare X=0
-------------------------------------------------
Declare Y=5
-------------------------------------------------
X = X + 1
-------------------------------------------------
Y= Y + 1
-------------------------------------------------
Y = X + Y
-------------------------------------------------
Display “Y=” Y
-------------------------------------------------

-------------------------------------------------

Problem #2:

The variable J starts

You May Also Find These Documents Helpful

  • Satisfactory Essays

    (Using ABC to improve product pricing) Answer the four questions posed in the case. Include in your answer the basic differences between volume based (traditional) overhead application procedures and the ABC method.…

    • 399 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    PT1420 Chapter 3 Review

    • 1062 Words
    • 8 Pages

    5. Write a pseudocode statement that declares the variable cost so it can hold real numbers.…

    • 1062 Words
    • 8 Pages
    Satisfactory Essays
  • Good Essays

    Week 4 Assignment Xeco212

    • 805 Words
    • 4 Pages

    The three important market structures in economics are competitive markets, monopolies, and oligopolies. Each market plays a different role in the economy. Competitive markets are when no firm has the power to affect the market price of a good and “many buyers and sellers trading identical products so that each buyer and seller is a price taker” (Mankiw, 290). A monopolistic market is when a specific person or enterprise is the only supplier of a certain good. An oligopoly is a market in which a good has only a few “similar or identical” (Mankiw, 346) products for sale.…

    • 805 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Week One Assignment

    • 1287 Words
    • 6 Pages

    The following items appeared in the accounting records of Triguero 's, a retail music store that also sponsors concerts. Classify each of the items as an asset, liability, revenue, or expense from the company 's viewpoint. Also indicate the normal account balance of each item.…

    • 1287 Words
    • 6 Pages
    Satisfactory Essays
  • Powerful Essays

    IT/210 Appendix D

    • 453 Words
    • 4 Pages

    Up to this point, you have identified the processes the program must perform, but you have not given any consideration to exactly how the processes work together to solve the problem. At this point, you must generate a description of the processing using pseudocode, a natural language description of the processing the application must perform.…

    • 453 Words
    • 4 Pages
    Powerful Essays
  • Good Essays

    Be open-minded when dating. Instead of going out for dinner, set up a nice candlelight dinner at home. This is not only the more impressive option, but the cheaper one as well. Make an agreement with your roommates. If they stay out during your date night, you will reciprocate when it is their turn.…

    • 374 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Fp/101 Week 5 Assignment

    • 697 Words
    • 3 Pages

    You have to make sure you have money to pay the loan back, but if you don’t you will go into default. When you go into default this destroys your credit. The default shows up on your credit, which you don’t want to happen. Having negative credit on your credit report could stop you from getting future loans. Some other consequences of borrowing too much and going into debt are: evictions, foreclosures, wage garnishments, emotional breakdowns, ruined credibility and undesirable credit. Debt affects people in different ways and has a major impact on the life of each person. It often determines how they will be able to live their lives.…

    • 697 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Steele School is a large childcare center that enrolls children from ages 6 weeks to 12 years, depending on the season. There are nine teachers and a few assistant teachers; the assistant teachers are chosen based on parent feedback. Steele School wishes to understand the reason parents choose one assistant teacher over the other, specifically if the decision is based on the parent’s satisfaction with the assistant teacher. A survey is handed out to parents where basic questions are asked about the daycare and the main question is asked: What is your rating of _____ assistant teacher from 0 to 10 where 10 is the best? The results are analyzed and put into two groups – Group1 is the ratings of assistant teachers that are chosen, while Group 2 is the ratings of assistant teachers that are not chosen.…

    • 318 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Week 3 Activity

    • 464 Words
    • 3 Pages

    c. The DNA of eukaryotic cells is found in linear chromosomes, whereas the DNA of prokaryotic cells is found in a single circular chromosome.…

    • 464 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Activity 10

    • 531 Words
    • 3 Pages

    Experiment Results Predict Question: Predict Question: What do you think will happen to the pH and PCO2 levels with hyperventilation? Your answer : b. pH will decrease and PCO2 will increase.…

    • 531 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Activity 4

    • 744 Words
    • 3 Pages

    Pee Dee culture would be a part of the Mississippian Society. Pee Dee culture is located where the Mississippian Society was located. It also correlates with the same time period as the Mississippian Society. Mississippian Society was a society based on agricultural, trade, and religion. In Town Creek Mound, signs of agricultural, trade, and religion, have been found.…

    • 744 Words
    • 3 Pages
    Powerful Essays
  • Good Essays

    Activity 2

    • 263 Words
    • 2 Pages

    7) In addition to what you saw, did you detect any smells? Describe them. At what point in the observation process did you detect them?…

    • 263 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Course Project

    • 1775 Words
    • 8 Pages

    Provide an efficient means for students to develop various aspects of a technical/business proposal throughout the course. There are three papers that build on each other through the session to give the students experience in taking a concept and expanding on it.…

    • 1775 Words
    • 8 Pages
    Satisfactory Essays
  • Good Essays

    Car Rental Project

    • 1180 Words
    • 5 Pages

    This assignment will be marked out of 100 and carries 70% of the overall module weighting. (The first part of the coursework carried the remaining 30%.) Your .java files and report for this part must be uploaded and submitted by 5pm on Friday of Week 12. The assignment must be carried out individually so you must not obtain help from anyone other than the module teaching staff. You must not copy code from any source apart from the module core text and the module materials. Collusion, plagiarism (unreferenced copying) and other forms of cheating constitute Academic Misconduct, which can lead to failure of the module and suspension.…

    • 1180 Words
    • 5 Pages
    Good Essays
  • Good Essays

    The paradigm, Figure 1, shows the concepts as bases of this study. It uses and adopted the Input- Process- Output or the IPO format.…

    • 611 Words
    • 3 Pages
    Good Essays

Related Topics