Highlights
TASK:
Question 1
The following is a specification of a system consisting of two processes sharing a printer.
• A shared printer called PRINTER, that can be used to print a document. It also allows users to cancel the printing of a document.
• A user process called User, that repeatedly prints a document. Note that a document is denoted by a DOC_ID, which is a number.
• An administrator process called Admin, that only services the printer, and does not print.
• All the user and administrator processes that share the printer must obvi- ously have mutually exclusive access to it.
• The system consists of the two user processes, that print different docu- ments, one administrator process and one shared printer.
(a) Define three Finite State Process (FSP) language processes to model the PRINTER, User and Admin. Using your three types of processes define a composite process that models the complete system. [20 marks]
(b) Briefly explain how you have ensured that the two user processes User and the Admin process have mutually exclusive access to the shared printer PRINTER.
Question 2
Yo are required to create a multi-threaded concurrent Java program to model the temperature control system for a house’s central heating system. The system consists of the following components:
• 1 Temperature Controller unit: this controls the heating system on the 3 floors of a house: ground floor, first floor and attic; by allowing differ- ent temperatures to be set on each floor. The controller implements the
following interface:
public interface Temperatures
{
public void setGFtemp( int newgftemp ) ;
public void setFFtemp( int newfftemp ) ;
public void setATtemp( int newattemp ) ;
public void displayTemperatures( ) ;
}
This IT/Computer Science 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.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.