Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create an ES 6 courses module called 'section.mjs ' to describe the course offerings at MUN for Winter 2 0 2 4 . The module

Create an ES6 courses module called 'section.mjs' to describe the course offerings at MUN for Winter 2024.
The module should provide a Section class which has at least the following instance properties:
section.subject
section.number
section.name
section.sectionid
section.crn
section.room
section.type
Construct the course description objects for each course section by parsing the provided data file 'registrarCleaned.txt'. The section objects should be created using the static section method load:
allSections = Section.load('registrarCleaned.txt')
This static method should return a list of Section objects described in the datafile. The class should have the following method to check if a Section object matches a specification:
booleanResult = sectionObject.match(subject, number, sectionid)
The course should have an instance method that will check for a schedule time conflict with another course:
booleanResult = sectionObject1.conflictsWith(sectionObject2)
The checkSched.mjs script uses these methods to select courses from the available list. This script should work if you implement your sections module correctly.

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

Focus On Geodatabases In ArcGIS Pro

Authors: David W. Allen

1st Edition

1589484452, 978-1589484450

More Books

Students also viewed these Databases questions

Question

What is an audit internal control questionnaire?

Answered: 1 week ago

Question

What are the essential components of a futures contract?

Answered: 1 week ago

Question

describe the main employment rights as stated in the law

Answered: 1 week ago