Objective of this assignment is to use c to queue


The objective of this assignment is to use C++ to queue students into an array-based queue for BCS registration. Students have the option of taking five different courses, but each course can only hold 8 students.

Registration is first-come, first-served and therefore makes the queue data structure appropriate for this task.

Student data will be read in from students.txt (as per HW2) and processed into the queue.

Once all students are enqueued, your program will begin processing the queue.

As each student is dequeued, they are asked which BCS course they would like to sign up for. BCS courses are as follows:

1) BCS345 - Java
2) BCS350 - Web Database Development
3) BCS370 - Data Structures
4) BCS450 - Mobile Applications
5) BCS451 - Video Game Development

Each course listing can hold a maximum of 8 students and will be represented by five disctinctarray-based lists. As students are dequeued, they are placed on the appropriate Array-based list.

After any student is dequeued, present the user with an option to enqueue more students (one at a time). Keep in mind that your queue should not grow larger than the initial size of 25students.

Your program concludes when all students have been processed (dequeued), or no new students are enqueued (added to the queue), or all BCS course listings are full.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Objective of this assignment is to use c to queue
Reference No:- TGS0645059

Now Priced at $40 (50% Discount)

Recommended (97%)

Rated (4.9/5)