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

  Explain what is simple random sampling

What's simple random sampling? Is it possible to sample data instances using a distribution different from the uniform distribution? If so, give an example of.

  Write a assembly language program to generate a square wave

Write a PIC18F assembly language program to generate a square wave on pin 3 of PORTC with a 4 ms period using Timer3 in 16-bit mode with a prescaler value.

  Define brothers steps for forensic analysis of mobile device

In the United States, a number of law enforcement agencies, including the Secret Service, the Federal Bureau of Investigation (FBI), and the Department.

  Centre a map area on sydney

Javascript code to access the Google Maps Service in order to centre a map area on Sydney.

  Which of the following is not a task characteristic

A technique that uses optimistic, pessimistic, and realistic time to calculate the expected time for a particular task best defines.

  Discuss two approaches to system development

Discuss two approaches to system development. Describe system analysis and the major activities that occur during this phase of the systems development life cycle.

  The cio asks you to describe why you believe it is

you are the information security officer at a medium-sized company 1500 employees. the cio asks you to explain why you

  Create an application that reads the contents of two files

Create an application that reads the contents of the two files into two separate arrays or Lists. The user should be able to enter a boy's name, a girl's name.

  List the salient technical features of gigabit ethernet

List the salient technical features of Gigabit Ethernet and explain in brief the meaning and utility of the concept of Quality of Service (QoS).

  Which sentence would work better as a thesis statement

Which sentence would work better as a thesis statement for a three-to-five-page college paper?

  Create a forms ui for consisting of common controls

Create a forms UI for consisting of common controls such as button, checkbox, combobox, label, textbox, progressbar;

  Write your initial response on the given discussion

Multiple users access a specific computer on the network in ABC Inc. The users use the computer to access a remote FTP server. The computer runs the Windows.

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