What steps does the program need to follow to process input

Assignment Help Computer Engineering
Reference no: EM133532137

Homework: Information Systems

Overview

As programs become more complex, it becomes increasingly important to plan or "design" your code before writing it. Designing your code will help you organize its logic. It will also help you keep track of the different possibilities that your program needs to handle. Two tools that programmers use to design their code are flowcharts and pseudocode. You have learned about these tools in the module resources. In this homework, you will complete a simple flowchart and pseudocode to design a programming solution for a specific problem.

Prompt

Problem: A company wants a program that will calculate the weekly paycheck for an employee based on how many hours they worked. For this company, an employee earns $20 an hour for the first 40 hours that they work. The employee earns overtime, $30 an hour, for each hour they work above 40 hours.

Example: If an employee works 60 hours in a week, they would earn $20/hr for the first 40 hours. Then they would earn $30/hr for the 20 hours they worked overtime. Therefore, they earned: ($20/hr * 40hrs) + ($30/hr * 20 hrs) = $800 + $600 = $1400 total.

For this homework, you must create pseudocode and a flowchart to design a program that will calculate an employee's weekly paycheck.

A. Write pseudocode to design a programming solution by outlining a series of steps and using appropriate indentation and keywords. As you write your pseudocode, be sure to consider the following:

I. What input does the computer need?

II. What steps does the program need to follow to process the input? What output should result?

III. When might you need to use decision branching? If you used decision branching, did you account for all possible input values?

IV. Did you use appropriate indentation and keywords (such as IF, ELSE, CALCULATE, and so on) throughout your pseudocode?

B. Create a flowchart to design a programming solution by organizing a series of steps and using appropriate symbols and arrows. As you create your flowchart, be sure to use appropriate arrows and symbols for each of the following:

I. Start and end points

II. Input and output

III. Decision branching

IV. Processing steps

C. Note: You may find the correct shapes to create your flowchart on the Insert menu in Microsoft Word. Or you may draw your flowchart by hand, take a clear picture, and insert the picture into your Word document. Use the add shapes or insert pictures tutorials to help you. You could also use a flowcharting tool that you are familiar with, such as Lucidchart, if you prefer.

Reference no: EM133532137

Questions Cloud

Formulate constraints for the two requirements : Now suppose that there is a requirement that of the total labor hours used by Harkins, at least 60% of the hours must be used for producing relays
How does the constitution limit police officers : How does the Constitution limit police officers? How would relations with the police be improved if people were taught how to interact with them?
Reading the poetry of ocean vuong : This will be a reflective composition that explores your ideas and thoughts in relation to reading the poetry of Ocean Vuong.
What is the recidivism rate : Research the statistics of that county as far as incarceration. What is the number of persons incarcerated per capita? What is the recidivism rate?
What steps does the program need to follow to process input : What steps does the program need to follow to process the input? What output should result? When might you need to use decision branching?
Discuss how this is relevant to agewell : Describe the term as used in this course and outline its importance to nonprofit organisations making particular reference the AgeWell case.
Quotations for kfc and mcdonalds with weblink : Quotations for Kfc and mcdonalds with weblink, my budget is $4,000 good for 35 persons. And what is your preferred catering and why?
Why you think technology will solve operational challenge : Brief description of why you think technology will solve the operational challenge and possibly optimize operations in general (also in detail)
Explain in detail seven main chapters of criminology : Explain in detail the seven main chapters of Criminology. Explain in detail the principles of feminist intervention in mental health?.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd