Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CS 300 Module Five Milestone Guidelines and Rubric Overview This milestone will help prepare you for Project One. In this milestone, you will continue

CS 300 Module Five Milestone Guidelines and Rubric Overview This milestone will help prepare you for Project3. Design pseudocode that will print out course information and prerequisites. In the Pseudocode Document,

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.

Step by Step Solution

3.34 Rating (154 Votes )

There are 3 Steps involved in it

Step: 1

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 ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Systems Analysis and Design

Authors: Scott Tilley, Harry J. Rosenblatt

11th Edition

1305494601, 9781305533936 , 978-1305494602

More Books

Students also viewed these Programming questions