Concurrent and Parallel Programming - IT Assignment Help

Download Solution Order New Solution
Assignment Task:

Assignment 1

Course: Concurrent and Parallel Programming

Learning Outcomes

Please state the programme and related module learning outcomes that this assignment is assessing.

Assessment Criteria

Please state the assessment criteria applied to this assignment, such as:

  • Correctness of the work.

  • Presentation, including compliance with the specified file format.

  • Evidence of critical thinking and analysis.

  • Originality, quality and thoroughness of the work.

  • Research correct academic approach.

  • Proper treatment of sources.

  • Demo of code will be in lab, failing to show work in lab receive deduction of 50% of total assignment grade.

Upload the answer as a multiple java file ONLY.

Academic Dishonesty: All of your assignments need to represent your own effort. Assignments should be done without consultation with other students and you should not share your source code with others. Any assignment submitted that is essentially the same, as someone else’s will not be accepted. ALL matching assignments will receive 0 credits.

Your task is to simulate college and classrooms: There are four kinds of threads: students, visitors, monitor and a one Lecturer per classroom. students must wait to enter the classroom if a class is running, enter, and then sitDown. At some point, the Lecturer enters the classroom. When the Lecturer is in the classroom, no one may enter, and the students may not leave. visitors may leave. Once all students check-in, the Lecturer can StartLecture. After some time, the Lecturer leaves and all students can leave.

To make these requirements more specific, let’s give the threads some functions to execute, and put constraints on those functions.

  • students must invoke enter, sitDown, and leave.

  • The Lecturer invokes enter, smart lecture and leave.
  • visitors invoke enter, sitDown and leave.
  • While the Lecturer is in the classroom, no one may enter and students may not leave.

  • The Lecturer cannot start lecture until all students who have entered have also sitDown.

  • At any point in time, any classroom may have only one lecturer.

  • Classroom capacity should not exceed the limit. Visitors are always low in the count (less than 5).

  • Add a monitor thread to keep printing the status of each class as follows

Simulate a college with few classrooms

{W201 (capacity 60), W202(capacity 60), W101 (Capacity 20), JS101 Capacity (30)} and lecturers {Osama, Barry, Faheem, Alex, Aqeel, Waseem} that circulate between classes.

 

This IT Assignment has been solved by our IT Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.