Welcome! Log In Create A New Profile


May/June 2011 Past paper

Posted by nozdlax 
Announcements Last Post
Announcement myUnisa availability 21 to 24 March 2019 03/17/2019 02:24PM
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
May/June 2011 Past paper
October 24, 2011 12:01PM
Hi guys
I need assistance with Questions 2.1 (a) RR scheduling and 5.3 (b) and (c) on LRU and OPT page replacement. What answers are you all getting? I am struggling with these 2 questions. Please help. Thanks
Re: May/June 2011 Past paper
October 25, 2011 12:50PM
iv left those one for last,will get back with my anwser when done

Did u do Question 4?
now sure what to even do here ? or what working they looking for any idea's ?
Re: May/June 2011 Past paper
October 25, 2011 02:06PM
Hi Vampyre
I found this question in TL501 of 2009. See the question and answer below. It's very similar to Q4:

"Consider the following preemptive priority scheduling algorithm based on dynamically changing
priorities. When a process is waiting for the CPU (in the ready queue, but not running), its priority
changes at a rate alpha; when it is running its priority changes at a rate beta. (alpha and beta represent real

Do While (jobs in ready queue)
Start the job with the numerically highest
If (end of quantum or request for I/O)
Suspend the job currently running;
Add alpha to the priority of each waiting job;
Add beta to the priority of the job that has just been running
Accept any new jobs into the ready queue with priority 0
Assume that a numerically larger value represents a higher priority.
All processes are given a priority of 0 when they enter the ready queue. The parameters á and â
can be set to give many different scheduling algorithms. If the number of jobs in the ready queue
is n, discuss fully the scheduling algorithms that result from each of the following settings of á
and â:
(a) beta > alpha > 0
(b) alpha < beta < 0

(a) The priorities of the processes in the ready queue change at rate alpha, while the priority of the job that
was executed during the last time quantum is increased by beta. Both alpha and beta are greater than 0, but
beta > alpha. Therefore, the priority of the job which was executed during the last time quantum is increased
by more than any of the priorities of the waiting jobs, and will in the absence of an I/O request, never
be preempted. New processes join the system with priority 0 and therefore join the back of the ready
queue. The process that is currently running will run to completion without being interrupted by
another process. This leads a FCFS policy.
(b) Both alpha and beta are negative, and since we have alpha < beta it follows that á is a larger negative value than
beta. This implies that the priorities of the jobs waiting in the ready queue actually decrease relative to
the priority of the job which was run during the last time quantum. So, this appears to be again a
FCFS scheduling algorithm.
However, new processes enter the system with priority 0, and this is at any point in time the highest
priority for any of these jobs. Such new processes obtain, with the very next time slice, immediate
access to the CPU and therefore this reduces to a Last Come First Served (LCFS) algorithm. A LCFS
scheduling algorithm may lead to the starvation of older jobs, since the older a job, the lower its

PM me your email address and I can send the TL to you for other examples and questions.
Re: May/June 2011 Past paper
October 25, 2011 03:35PM
Question 4.1 is (a) alpha > Beta > 0
Re: May/June 2011 Past paper
October 25, 2011 08:16PM
Can you please type questions so that i also can participate and help me also to try. I can not access the material I think its because I registered the module last semester and could not write
Re: May/June 2011 Past paper
October 25, 2011 08:19PM
I got it I think, the problem was with my internet
Sorry, only registered users may post in this forum.

Click here to login