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

  Compute the file directory and fat entries

Using a text editor, create a file that is between 5,000 and 6,000 bytes long on a newly formatted floppy disk. compute the file directory and FAT entries for the type of disk used.

  Give any relationship that may exist between the principle

You are to explore the principles of data abstraction, inheritance and dynamic binding. Use the Library to get started on finding resources. Take each term and describe it.

  How case tools improved the system development cycle

From your experiences define how CASE tools have improved the system development cycle. If you have no experience with CASE tools, how would you think they would improve the system development cycle?

  Creating a static method

Write down a static method, getBigWords, which takes a String parameter and returns an array whose elements are words in the parameter that consists of more than 5 letters.

  Determining the cpi of computer

A workstation utilizes a 15-MHZ processor with a claimed 10-MIPS rating to implement a provided programme mix. Suppose a one-cycle delay for every memory access. What is effective CPI of this computer?

  Discuss pros of using automated testing tools

Why do so many in-house applications never get finished.

  Subnet mask and ip addresses

Which subnet mask would they utilize? How many IP addresses would they have per subnet?

  Factors affecting the group process and outcome

In class, we introduced different factors which may affect group process and outcome, like group size and the status effect.

  A new column would be added to the table

A table was created, Whse.IStock. This table contains a column, SKU that holds stock numbers. The SKU column was created as a data type char(20) and right-justified the stock numbers with leading blanks.

  Why organization that meets the company''s specifications

A software application has been delivered to your organization that meets the company's specifications. Using associated examples, describe problems which may arise when it is installed and used in your organization.

  Dicsuss the business scenario that may call

express a business scenario that might call for an index-organized table.

  Illustrate general network design

Illustrate general network design

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