Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

CS 300 Module Four 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. 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 hash table data structure.

Prompt

For this milestone, you will be creating pseudocode for loading data into a hash table and then using it to store and print that data. 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.

Please note: 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:
    • Ensure there are at least two parameters on each line (some courses may not have any prerequisites).
    • 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. This should load the data into the hash table data structure. Knowing the file format will help you parse and store each token of data into the appropriate course instance variable. 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, linked in the Supporting Materials section, pseudocode for printing course information using a vector data structure is provided as an example. Develop the pseudocode for printing course information for the hash table data structure using the base code that has been provided.

What to Submit

To finish the milestone, 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:

CS 300 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 portion of this document during a prior milestone. For this milestone, you should add to the work you completed by writing in the hash table portion of the document you submitted previously. Note that the original Pseudocode Document is only provided again for reference.

Module Four Milestone Rubric

Criteria Proficient (100%) Needs Improvement (85%) Not Evident (0%) Value
File Input Designs pseudocode to open a file, read the data from a file, parse each line, and check for errors Shows progress toward proficiency, but with errors or omissions; areas for improvement may include ensuring all parameters on each line are read and that any prerequisite exists as a class in the file Does not attempt criterion 35
Course Object Pseudocode Designs pseudocode that defines an object to hold data from an input file in the appropriate data structure Shows progress toward proficiency, but with errors or omissions in the pseudocode; areas for improvement may include designing pseudocode for the appropriate data structure Does not attempt criterion 30
Print Course Information Pseudocode Designs pseudocode that will print out information from a data file Shows progress toward proficiency, but with errors or omissions; areas for improvement may include providing an analysis for the appropriate data structure Does not attempt criterion 30
Articulation of Response Clearly conveys meaning with correct grammar, sentence structure, and spelling, demonstrating an understanding of audience and purpose Shows progress toward proficiency, but with errors in grammar, sentence structure, and spelling, negatively impacting readability Submission has critical errors in grammar, sentence structure, and spelling, preventing understanding of ideas 5
Total: 100%

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Mobile Communications

Authors: Jochen Schiller

2nd edition

978-0321123817, 321123816, 978-8131724262

More Books

Students also viewed these Programming questions

Question

How does artificial intelligence apply to fraud detection?

Answered: 1 week ago