Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Java, This project involves implementing a management program of the classes, Labs, TAs, Faculty and Students at the Computer Science Department (referred by CSD

In Java,

This project involves implementing a management program of the classes, Labs, TAs, Faculty and Students at the Computer Science Department (referred by CSD in the rest of the project). More specifically, a class offered at the CSD is either a lecture (LEC) or a lab (LAB). We also store its prefix (like COP3330), location (like CB 2, 0201), Modality (Face-to-Face(F2F) or Mixed Mode(MD) or Online) and a Course Number or crn (a five-digit number). Lectures have credit hours and are taught by Faculty, and Labs have no credit hours and are taught by Teaching Assistants (TAs). Also, note well that some mixed or face to face lectures require a lab. For example, a non-online COP 3223 require labs. Faculty are characterized by a name, id number (a 7-digit number), rank (professor, associate professor, assistant professor or adjunct), office location and a list of lectures taught by that faculty. An TA has a name, id number, list of Labs supervised, Advisor (a faculty), expected degree (MS or PhD). An TA is a student who can take classes. A student is a name, id number, graduate or undergraduate and a possible list of lectures taken. For this Project (Project 1), we will restrict ourselves to working with one Faculty, one Student, and one TA. The following sample run should give you a clear idea about what to code (The text marked in bold represents the users entry): _____________________List of classes offered at the CSD_________________________ Prefix: COT6578 (Advanced Computer theory, Graduate) CRN: 89745

Modality: F2F Lab: No ----------- Prefix: COP5698 (Programming Languages, Graduate) CRN: 69745 Modality: F2F Lab: Yes (crn of the Lab/id number of the TA) 19745/1234567 36598/2589631 20315/7845129 ----------- Prefix: COP 3330 (Introduction Object Oriented Programming, Undergraduate) CRN: 89745 Modality: F2F Lab: No ___________Choose one of the options____________________ 1. Enter the information of the faculty, the TA or the student 2. Print schedule 3. Exit Program Enter your selection: 2

Enter the id number: 1234567 ID doesnt exit ___________Choose one of the options____________________ 1. Enter the information of the faculty, the TA or the student 2. Print or Edit schedule 3. Exit Program Enter your selection: 1 Enter Name : John Smith Enter id number: 1234567 Enter F for Faculty, T for TA or S for Student: t Enter how many Lectures taken by John Smith: 2 Collecting info of Lecture 1: Enter crn: 89745 Graduate, face-to-face lecture with No Labs Collecting info of Lecture 2: Enter crn: 69745 Graduate, face-to-face lecture. Lab Required Enter crn of the Lab: 19745 Now, enter how many Labs, John Smith is supervising: 1 Collecting info of Lab 1: Enter crn: 29745 Incorrect crn Would you like to re-enter the crn (Yes or No)? yes Enter crn: 19745 ___________Choose one of the options____________________ 1. Enter the information of the faculty, the TA or the student 2. Print schedule 3. Exit Program

Enter your selection: 1 Enter Name: Nadia Alvarez Enter id number: 7654321 Enter F for Faculty, T for TA or S for Student: S Enter how many Lectures taken by Nadia Alvarez: 1 Collecting info of Lecture 1: Enter crn: 89745 Graduate, face-to-face lecture with No Labs ___________Choose one of the options____________________ 1. Enter the information of the faculty, the TA or the student 2. Print schedule 3. Exit Program Enter your selection: 2 Enter id number: 1234567 Record Found: John Smith, TA Lectures Taken: 89745/COT6578, 69745/COP5698(Lab 19745) Labs Supervised: 19745 ___________Choose one of the options____________________ 1. Enter the information of the faculty, the TA or the student 2. Print schedule 3. Exit Program Enter your selection: exit ___________Choose one of the options____________________ 1. Enter the information of the faculty, the TA or the student 2. Print schedule 3. Exit Program Enter your selection: 3

Goodbye!

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

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions

Question

Annual stock performance for Hewlett-Packard (HP)

Answered: 1 week ago

Question

Median weekly earnings of men and women by occupation

Answered: 1 week ago

Question

Current market share for Perrier water

Answered: 1 week ago