Design pseudocode to define how the program opens the file

Assignment Help Computer Engineering
Reference no: EM133486500

Homework: Designing a Pseudocode to Define how to Open Files Project

Overview

This milestone will help prepare you for Project One.

In this homework, you will start working on a project for ABC University (ABCU). ABCU 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 homework, 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 vector data structure.

Prompt

Create pseudocode for loading data into the vector data structure, 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 Project One.

For this milestone, you will:

Question I. 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:

1) Ensure there are at least two parameters on each line (some courses may not have any prerequisites).

2) 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.

Question II. 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.

Question III. Design pseudocode that will search the data structure for a specific course and print out course information and prerequisites. The advisors from ABCU want to be able to print out the course information and prerequisites from the data stored in the data structure for a given course. In the Pseudocode Document, linked in the Supporting Materials, pseudocode for printing course information using a vector data structure is provided as an example.

Reference no: EM133486500

Questions Cloud

Define role and function of the chief transformation officer : Define the role and function of the Chief Transformation Officer. Explain how a CTO can help an organization with change initiatives.
Explain why the concept or skill was meaningful to you : Explain why this concept or skill was meaningful to you. Explain the skill in detail and describe how it would be useful for that job.
Why you think the patient presented the symptoms described : Explain why you think the patient presented the symptoms described. Identify the genes that may be associated with the development of the disease.
What is the mechanism through which nutrients are cycled : What is the mechanism through which nutrients are cycled back into the soil from deceased organisms and waste materials
Design pseudocode to define how the program opens the file : 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.
Consider what is required to exercise moral courage : consider what is required to exercise moral courage and reasoning about this issue. Students can choose any ethical issue relevant to a specific field of social
Who proposed the term ecosystem : Genetically different population with the same physical features is known as and Niche is a place where particular organisms live
Describe the conceptual framework or grand nursing theory : describe the conceptual framework or grand nursing theory. Briefly describe the metaparadigm of nursing. Explain how the metaparadigm concepts are used by
What is the impact of increasing the riparian buffer zone : What is the impact of increasing the riparian buffer zone along agricultural streams on song sparrow abundance?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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