Question

In: Computer Science

During this course you will design a program for a state university. The university needs a...

During this course you will design a program for a state university. The university needs a website design that will enable students to order books online. Each week you will receive additional instructions for the elements of the design based on the needs of the university. The elements will correspond with the concepts and skills you learn that week.

According to the university's website design request, students need to order five books, one for each of the five required courses that all students take. You need to design a program that will prompt students for the price of each book and display the total cost for the five books.

Create a 1- to 1 3/4-page document listing the steps needed to solve the problem using an algorithm, including the following:

  • Identify the input needed
  • Define what the input must do (i.e., the process)
  • Show what the output must produce

Create a 1/2- to 1-page document of your pseudocode based on the algorithm, including the following:

  • Write the pseudocode statement(s) for the input
  • Write the pseudocode statement(s) for the process
  • Write the pseudocode statement(s) for the output

Create a 1-page flowchart based on the algorithm, including the following:

  • Mark the program's starting point
  • Represent the input steps in the program
  • Represent the process steps in the program
  • Represent the output steps in the program
  • Mark the program's ending point

Solutions

Expert Solution

Answer: Hey! Kindly find your solution here. If you have any queries, feel free to ask me. I would be very happy to resolve that. Thanks.

Identify the input needed- To solve this you have to input

Input price of each book

Process- Calculate the total cost of five books

Output- Cost of five books

Pseudocode-

Start

Function Main

    Declare Real Array bookPrice[6]

    Declare Real cost

   

    Assign cost = 0

    Declare Integer i

   

    Assign i = 1

    While i<=5

//Pseudocode for input

        Output "enter the price of book"&i

        Input bookPrice[i]         

            //Pseudo code for process

       Assign cost = cost+bookPrice[i]

        Assign i = i+1

    End

//Pseudocode for output

    Output "The cost of five books is: $"&cost

End



Related Solutions

Branching Program write a program to do the following: A university needs to compute the tuition...
Branching Program write a program to do the following: A university needs to compute the tuition of its students. They will ask for the name, the number of units the student is taking, and their residency status. R=resident , N = non- resident. The tuition to be computed as follows: non-resident students pay $100 per unit; resident students pay $50 per unit if they take 12 or units or more and $75 per unit if they take less than 12...
The professors who teach the Introduction to Psychology course at State University pride themselves on the...
The professors who teach the Introduction to Psychology course at State University pride themselves on the normal distributions of exam scores. After the first exam, the current professor reports to the class that the mean for the exam was 73, with a standard deviation of 7. a. What proportion of student would be expected to score above 80? b What proportion of students would be expected to score between 55 and 75? c. What proportion of students would be expected...
Yes, it needs to be written in essay format. During the final week of the course,...
Yes, it needs to be written in essay format. During the final week of the course, you will submit a paper that will be written as if you were making recommendations to a member of Congress. Imagine that the United States Congress was considering sweeping legislation that would provide intensive regulation of nonprofit fundraising, including the imposition of more filing requirements to the Internal Revenue Service for nonprofits, as well as more active obligations on the part of nonprofit leaders...
State University offers several sections of a Business Statistics course in an in-class and online format....
State University offers several sections of a Business Statistics course in an in-class and online format. Both formats are administered the same final exam each year. You have been assigned to test the hypothesis that the average final exam score of in-class students is different from the average final exam score of online students. The following data summarizes the sample statistics for the final exam scores for students from each format. Assume that the population variances are unequal. In-class Format...
The Case of Florida State University   (April 2020) Florida State University (Member of the Florida State University...
The Case of Florida State University   (April 2020) Florida State University (Member of the Florida State University System) has had to convert the entire academic curriculum online. Has the University become a virtual organization? What characteristics does Florida State University exhibit? Finally, can a virtual organization adopt a culture?
Part 1 Understand the Problem and Class Design with UML The client needs a program to...
Part 1 Understand the Problem and Class Design with UML The client needs a program to calculate the age of a tuna fish. The program must store the length of the fish in cm, and the weight of the fish in pounds. To calculate the estimated age of the fish in years multiply the length times the weight then divide by 10000. Design a class based on this word problem. Testing values are 300 cm length, and 1111.12 pounds. Using...
Write a C++ program that will be an information system for Oregon State University using classes...
Write a C++ program that will be an information system for Oregon State University using classes as well as demonstrating a basic understanding of inheritance and polymorphism. You will create a representation of an Oregon State University information system that will contain information about the university. The university will contain a name of the university, n number of buildings, and m number of people. People can be either a student or an instructor. Every person will have a name and...
Whole Life Costing (WLC) is an evaluation process that needs to be undertaking during the design...
Whole Life Costing (WLC) is an evaluation process that needs to be undertaking during the design phase. However implementation of (WLC) often faces two major problems. Explain these two problems and how they have been addressed. Please don’t write for hand because i can’t read your handstyle and thank you :)
Network Design proposal for a University Problem: Suppose you are asked to design of a network...
Network Design proposal for a University Problem: Suppose you are asked to design of a network infrastructure for a university. The university has 7 departments namely, IT, Finance, HR, Management, Faculty, students and R&D. The university also has an ADSL internet connection which is shared for the different departments. It is required that all the departments should have intercommunication. The R&D department should not have access to the internet. Each of the department contain 50-100 users. Explain your design giving...
The admissions office of Southern State University needs a simple and easy-to-follow Web policy document to...
The admissions office of Southern State University needs a simple and easy-to-follow Web policy document to send to its incoming freshmen. The document should tell students how to behave while on the Web. After reading the information presented in this chapter 4 MIS9 and other sources, create a document that includes a 10-item bulleted list highlighting the key issues of which incoming students should be aware.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT