CS 300 Module Five Milestone Guidelines and Rubric Overview This milestone will help prepare you for...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
CS 300 Module Five Milestone Guidelines and Rubric Overview This milestone will help prepare you for Project One. In this milestone, you will continue working on a task for ABC University. ABC University is looking for software that will help their computer science advisors access course information for students. To do this, you will utilize what you have learned about data structures. In this milestone, you will create pseudocode for the Computer Science department at ABCU. This code will demonstrate your ability to import data from a file and store it in the tree data structure. Prompt For this milestone, you will be creating pseudocode for loading data into the tree data structure. There will be no programming work in this milestone; you will be developing pseudocode that will help you implement your design in a future milestone. Also note that throughout this milestone we are going to use the word "course" to refer to the courses in the curriculum versus "class," which has another meaning in object- oriented programming. For this milestone, you will: 1. Design pseudocode to define how the program opens the file, reads the data from the file, parses each line, and checks for file format errors. The Course Information document, linked in the Supporting Materials section, contains all the information about all of the courses required in the Computer Science curriculum for ABCU. Each line will consist of the information about a single course, including the course number, title, and prerequisites. The Course Information document includes the course data and a diagram of how the program will execute. Your pseudocode will need to validate the sample file to ensure it is formatted correctly and check for the following: o Ensure there are at least two parameters on each line (some courses may not have any prerequisites). o Ensure any prerequisite that is provided on a line exists as a course in the file. In other words, any prerequisite at the end of a line must have another line in the file that starts with that courseNumber. 2. Design pseudocode to show how to create course objects and store them in the appropriate data structure. Your pseudocode should show how to create course objects so that one course object holds data from a single line from the input file. Knowing the file format will help you parse and store each token of data into the appropriate course object instance variable. You should store each course object into the vector data structure. Once the entire file has been processed, the vector data structure will have multiple course objects, one per line in the file. Hint: A loop will be needed to process all lines from the file. 3. Design pseudocode that will print out course information and prerequisites. In the Pseudocode Document, pseudocode for printing course information using a vector data structure is provided as an example. Develop the pseudocode for printing course information for the tree data structures using the base code that has been provided. What to Submit To complete this project, you must submit the following: Pseudocode Your submission should include your completed pseudocode formatted as a Word document. Supporting Materials The following resources will support your work on the milestone: Course Information This document outlines the courses and pathway you will be designing for. Pseudocode Document This document provides sample pseudocode and a runtime analysis that you will use to support your work in this milestone. You already began work on the vector and hash table portions of this document during a prior milestone. For this milestone, you should add to the work you completed by writing in the tree portion of the document you submitted previously. Note that the original Pseudocode Document is only provided again for reference. CS 300 Module Five Milestone Guidelines and Rubric Overview This milestone will help prepare you for Project One. In this milestone, you will continue working on a task for ABC University. ABC University is looking for software that will help their computer science advisors access course information for students. To do this, you will utilize what you have learned about data structures. In this milestone, you will create pseudocode for the Computer Science department at ABCU. This code will demonstrate your ability to import data from a file and store it in the tree data structure. Prompt For this milestone, you will be creating pseudocode for loading data into the tree data structure. There will be no programming work in this milestone; you will be developing pseudocode that will help you implement your design in a future milestone. Also note that throughout this milestone we are going to use the word "course" to refer to the courses in the curriculum versus "class," which has another meaning in object- oriented programming. For this milestone, you will: 1. Design pseudocode to define how the program opens the file, reads the data from the file, parses each line, and checks for file format errors. The Course Information document, linked in the Supporting Materials section, contains all the information about all of the courses required in the Computer Science curriculum for ABCU. Each line will consist of the information about a single course, including the course number, title, and prerequisites. The Course Information document includes the course data and a diagram of how the program will execute. Your pseudocode will need to validate the sample file to ensure it is formatted correctly and check for the following: o Ensure there are at least two parameters on each line (some courses may not have any prerequisites). o Ensure any prerequisite that is provided on a line exists as a course in the file. In other words, any prerequisite at the end of a line must have another line in the file that starts with that courseNumber. 2. Design pseudocode to show how to create course objects and store them in the appropriate data structure. Your pseudocode should show how to create course objects so that one course object holds data from a single line from the input file. Knowing the file format will help you parse and store each token of data into the appropriate course object instance variable. You should store each course object into the vector data structure. Once the entire file has been processed, the vector data structure will have multiple course objects, one per line in the file. Hint: A loop will be needed to process all lines from the file. 3. Design pseudocode that will print out course information and prerequisites. In the Pseudocode Document, pseudocode for printing course information using a vector data structure is provided as an example. Develop the pseudocode for printing course information for the tree data structures using the base code that has been provided. What to Submit To complete this project, you must submit the following: Pseudocode Your submission should include your completed pseudocode formatted as a Word document. Supporting Materials The following resources will support your work on the milestone: Course Information This document outlines the courses and pathway you will be designing for. Pseudocode Document This document provides sample pseudocode and a runtime analysis that you will use to support your work in this milestone. You already began work on the vector and hash table portions of this document during a prior milestone. For this milestone, you should add to the work you completed by writing in the tree portion of the document you submitted previously. Note that the original Pseudocode Document is only provided again for reference.
Expert Answer:
Answer rating: 100% (QA)
Below are the pseudocode sections for the three tasks outlined in the prompt 1 Pseudocode for Loading Data into the Tree Data Structure Open the file ... View the full answer
Related Book For
Systems Analysis and Design
ISBN: 978-1305494602
11th Edition
Authors: Scott Tilley, Harry J. Rosenblatt
Posted Date:
Students also viewed these programming questions
-
Given y=4x-x, determine the approximate change in y if x changes from I to 1.02.
-
How do globalization and demographic shifts, including demographic diversity, generational differences, and multiculturalism, impact organizational dynamics and workforce composition, and what...
-
THIRD AVENUE SOFTWARE HEALTH-CARE APP PROJECT This case is new for the ninth edition of Information Technology Project Management . The case provides an opportunity to apply agile and Scrum...
-
Dr. Bold has a personal automobile policy with liability limits as follows: $100,000/$300,000 BI and $50,000 PD. Dr. Bold is held liable in an accident in which he must pay for bodily injuries as...
-
The concrete "gravity" dam is held in place by its own weight. If the density of concrete is c and water has a density w, determine the smallest dimension d that will prevent the dam from overturning...
-
Darling Leasing is considering the lease to Major State University of a piece of equipment costing $350,000. The period of the lease will be 8 years. The equipment will be depreciated under MACRS...
-
Let \(p(t)\) be the probability of survival from 0 to \(t\). The probability of surviving to \(s\) given survival to \(t\) is then \[p(s \mid t)=\frac{p(s)}{p(t)}\] Let...
-
Oak Industries, a manufacturer of radio and cable TV equipment and an operator of subscription TV systems, had a multitude of problems. Subscription services in a market area, for which $ 12 million...
-
How do contingent workforce arrangements, such as outsourcing and gig economy platforms, disrupt traditional hierarchical structures and necessitate innovative approaches to talent management and...
-
The bond equivalent yield of a 91-day T-bill is 5%. What is the price of the bill for a $10,000 face value?
-
For the following, use the spring equation: e dy k + m dt m 4, m + with c ues of k 1. k=5 (b) (c) -y
-
To protect American jobs, the U.S. government may decide to cut U.S. imports of bulldozers by 60 percent. It could do so by either (a) imposing a tariff high enough to cut bulldozer imports by 60...
-
Suppose that the United States currently imports 1.0 million pairs of shoes from China at \($20\) each. With a 50 percent tariff, the consumer price in the United States is \($30\). The price of...
-
In 1990, the price level for the United States was 100, the price level for Pugelovia was also 100, and in the foreign exchange market one Pugelovian pnut (pronounced pnoot) was equal to $1. In 2013,...
-
Albertsen Corporation is a diversified company with nationwide interests in commercial real estate developments, banking, copper mining, and metal fabrication. The company has offices and operating...
-
Hollenbeck Foods Inc. sponsors a postretirement medical and dental benefit plan for its employees. The following balances relate to this plan on January 1, 2015. As a result of the plans operation...
-
Design Thinking typically helps 1 point in Innovation O Data analytics O Financial planning O Operational efficiency One needs to have professional 1 point training in design to become a design...
-
You purchase a bond with a coupon rate of 6.7 percent, a par value $1,000, and a clean price of $905. Assume a par value of $1,000. If the next semiannual coupon payment is due in two months, what is...
-
Review the IBM history. Describe three distinct phases the company has gone through in reaction to changing mark conditions.
-
Are there ethical issues to consider when planning a database? For example, should sensitive personal data (such as medical information) be stored in the same DBMS that manages employee salary and...
-
List the eight main guidelines for user interface design. How would you rank them in order of importance? Explain your answer.
-
Determine whether each of the following statements is true or false: Management accountants should be technically proficient, but they dont need strong oral and written communication skills.
-
Determine whether each of the following statements is true or false: Management accountants are now more often looked upon as internal business advisors rather than bean counters recording historical...
-
Determine whether each of the following statements is true or false: The Association of International Certified Professional Accountants (AICPA) issues the Certified Management Accountant (CMA)...
Study smarter with the SolutionInn App