Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(JAVA). The required .txt files for File I/O are given at the very end. Here are the required .txt files: In order to make sure

(JAVA). The required .txt files for File I/O are given at the very end.

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Here are the required .txt files:

image text in transcribed

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

In order to make sure that you have the required skillset to succeed in a course, courses have pre-requites and co-requisites. A prerequisite is one or more courses that you must complete before taking a course at higher grade level. To be accepted into some courses, you will have to prove that you have completed a similar course in the same or a related subject, at a lower grade level. Prerequisites are usually in the same or a related subject, at a lower grade level. A co-requisite on the other hand is a slightly relaxed situation where you may take a specific course if you have finished the co-requisite earlier or even if you register for the co-requisites in the same term. Courses can have both pre-requisites and co-requisites As an example, at Concordia University COMP248 is a pre-requisite for COMP249 and COMP371 is a co-requisite for COMP376. Furthermore, a course can have a same course as both pre-requisite as well as co-requisite (e.g. COMP371 is both pre-requisite and co-requisite for COMP376) In this assignment, you will design and implement a tool which will determine if a student can enrol in a specific course based on courses he/she has taken so far. You are given few files, namely, Syllabus.txt containing information about various courses, and some Request.txt files (i.e. Requestl.txt, Request2.txt, etc.). Each of these files contains one student enrollement request information (courses completed so far and courses he/she wishes to enrol in). Four of these files are provided with the assignment; however, any other similar files can be given and you should expect that your program will be tested with other Request.txt files. You will parse these files to extract course information and will produce an outcome for each of the course student wants to enrol in. The outcome for each course could be one of the below mentioned options where X represents the courseID, P represents coursID for pre-requisite and C represents courseID for co-requisite. a) Student can enrol in X course as he/she has completed the pre-requisite P. b) Student can enrol in X course as he/she is enroling for the co-requisite C. c) Student can't enrol in X course as he/she doesn't have sufficient background needed. You can assume that every course can have minimum of zero and maximum of one pre-requisite as well as co-requisite. You can also assume that the courses will be listed from basic to advanced to help parse them easily. Request.txt contains a word "Finished" on first line, followed by courseID of those courses Another word Requested" after the above information followed by the respective course!Ds. Syllabustt contains courseID along with course name (one word seperated by and credits assigned to that course Next two lines will have P and C indicating pre-requisite and co-requisite respectively fo this course. This In order to make sure that you have the required skillset to succeed in a course, courses have pre-requites and co-requisites. A prerequisite is one or more courses that you must complete before taking a course at higher grade level. To be accepted into some courses, you will have to prove that you have completed a similar course in the same or a related subject, at a lower grade level. Prerequisites are usually in the same or a related subject, at a lower grade level. A co-requisite on the other hand is a slightly relaxed situation where you may take a specific course if you have finished the co-requisite earlier or even if you register for the co-requisites in the same term. Courses can have both pre-requisites and co-requisites As an example, at Concordia University COMP248 is a pre-requisite for COMP249 and COMP371 is a co-requisite for COMP376. Furthermore, a course can have a same course as both pre-requisite as well as co-requisite (e.g. COMP371 is both pre-requisite and co-requisite for COMP376) In this assignment, you will design and implement a tool which will determine if a student can enrol in a specific course based on courses he/she has taken so far. You are given few files, namely, Syllabus.txt containing information about various courses, and some Request.txt files (i.e. Requestl.txt, Request2.txt, etc.). Each of these files contains one student enrollement request information (courses completed so far and courses he/she wishes to enrol in). Four of these files are provided with the assignment; however, any other similar files can be given and you should expect that your program will be tested with other Request.txt files. You will parse these files to extract course information and will produce an outcome for each of the course student wants to enrol in. The outcome for each course could be one of the below mentioned options where X represents the courseID, P represents coursID for pre-requisite and C represents courseID for co-requisite. a) Student can enrol in X course as he/she has completed the pre-requisite P. b) Student can enrol in X course as he/she is enroling for the co-requisite C. c) Student can't enrol in X course as he/she doesn't have sufficient background needed. You can assume that every course can have minimum of zero and maximum of one pre-requisite as well as co-requisite. You can also assume that the courses will be listed from basic to advanced to help parse them easily. Request.txt contains a word "Finished" on first line, followed by courseID of those courses Another word Requested" after the above information followed by the respective course!Ds. Syllabustt contains courseID along with course name (one word seperated by and credits assigned to that course Next two lines will have P and C indicating pre-requisite and co-requisite respectively fo this course. This

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

Advances In Databases And Information Systems 22nd European Conference Adbis 2018 Budapest Hungary September 2 5 2018 Proceedings Lncs 11019

Authors: Andras Benczur ,Bernhard Thalheim ,Tomas Horvath

1st Edition

3319983970, 978-3319983974

Students also viewed these Databases questions

Question

3. Outline the four major approaches to informative speeches

Answered: 1 week ago

Question

4. Employ strategies to make your audience hungry for information

Answered: 1 week ago