Write down pseudo-code for the following problem

Assignment Help Computer Engineering
Reference no: EM1335076

Part 1:

Write pseudo-code for the following problem:

You have a file containing sporting goods that are sold online. Each item record contains the item id, item name, item description, item category, item price, and the units in stock. If the category of the item is either "tennis" or "golf", then the price will be discounted by 15%. If the category of the item is "soccer", then the price will be discounted by 10%. For all of the other categories, the original price remains as is. If the number of units in stock is below 50, the item will be marked on the web site as "out of stock". Your part of the program is responsible for listing all of the items.

Part 2:

Think of scenarios when you would use a) a while-loop, b) a do-until loop, c) a for-loop. Write one pseudo-code example for each.

Reference no: EM1335076

Questions Cloud

Compute a discount that customers receive : find a discount that customers receive based on the value of their order. If the total amount ordered is less than $20.00, no discount will be given.
Three-factor model to describe returns of a stock : Suppose a three-factor model is appropriate to describe the returns of a stock. Information about those three factors is presented in the following chart. Suppose this is the only information you have concerning the factors.
Explain segmentation and developing a value proposition : Explain Segmentation and developing a value proposition for Godiva Chocolates and What are different segmentation bases one could use for Godiva Chocolates
Explain how does reserve ratio set by the federal reserve : Explain how does the reserve ratio set by the Federal Reserve affect the ability of banks to make loans. Name the tools of the federal Reserve Bank. Which is most important?
Write down pseudo-code for the following problem : Think of scenarios when you would use a) a while-loop, b) a do-until loop, c) a for-loop. Write down one pseudo-code example for each.
Explain a marketing strategy that focuses on consumer : Explain a marketing strategy that focuses on consumer behavior and What will your competition likely do when you enter the market with your product
Design a flowchart and pseudo-code : You have a file containing the grades of students from Beginning Programming, along with students' information. Your part of the program has to loop through the records, and create sure that any student who has received a 'D', 'W', 'I', or 'F' in ..
Explaining expected payoff for actions : What is the expected payoff for actions A1 and A2 above? What would be your recommendation?
Pre-writing techniques : What two prewriting techniques would you use to organize your thoughts about the topic and describe your choices.

Reviews

Write a Review

Computer Engineering Questions & Answers

  What is the multicast

examine and discuss what the UDP does and its relationship to TCP - - - in what ways is it similar and different, and why (what applications) would we use UDP, and why can't a user program access IP directly.

  How important is it to keep the site current

How important is it to keep the site current.According to "Putting Business Online Isn't Always Easy" (2005), "the biggest mistake people make is failing to know the commitment a Web site demands."

  How java programming knowledge benefits nonprogramming

How does information of programming concepts benefits individuals working in almost any IT position? Include at least one specific example of how java programming knowledge benefits nonprogramming working in IT?

  Epm/pmo approach to multi-project management

Introducing PMOs within organizations utilizing EPM approaches is sometimes perceived as creating unnecessary additional layers of bureaucracy. What steps would you recommend to be taken to correct this mis-perception and educate employees on the ..

  How to illustrate a memory map for a system

Illustrate a memory map for a system with a memory capability of 512MB. Each memory location in system is 8 bits.

  Explain how to compile and run a standalone java application

Write a simple Java program that incorporates as a minimum three best practices for making your code readable and understandable by yourself and others.

  Find out the minimum-cost spanning trees

Find out the shortest paths from S to all the other nodes in the graph using Dijkstra Algorithm.

  Concept of inheritance and object hierarchy

Study the concept of inheritance and object hierarchy in the object-oriented programming.

  Calculate the mortgage payments

A program written in Java (without a graphical user interface) that will compute and display the monthly payment amount to fully amortize a $200,000.00 loan over a 30 year term at 5.75? interest.

  Design a class for services offered by a hair-styling salon

The Curl Up and Dye Salon offers a variety of salon services for its customers. Jane Fields, owner, has contracted to have you write a program that allows reports to be output, sorted by each kind of service offered. Table below shows the various ..

  Transmitting the rtp stream

Consider that a sender transmits a silence suppressed the RTP stream of G.711 audio to the receiver (G.711 refers to the name of standard for 64Kbps PCM we discussed in class).

  How to protect your network to keep data safe

describe how to protect your network to keep data safe from loss or damage.

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