498 views

1 Answer

1 votes
1 votes

i think 2 is minimum value

Explanation
assuming Ri as a seperate reg 
as given initially count=0
after 1) count=0 but Ri=1
after 2) count=4
after 3) count=1 
after 4) count=1 but Ri=2
after 5) count=5
after 6) count=2
Ans=2

edited by

Related questions

341
views
1 answers
0 votes
Apex7D0 asked Feb 17
341 views
Hi, i'm starting my GATE journey and wanted to verify if these are the topics which should be learnt for GATE. The book is Operating Systems by Avi ... have 10th edition but it seems to have rearranged a lot of topics and chapters.
481
views
1 answers
0 votes
legacy asked Nov 27, 2022
481 views
] Our CPU is currently idle and the current time is labeled time 0. Four processes arrive to the ready queue at the following times and with ... for each process. Also calculate the average turnaround time for each scheduling algorithm.
1.0k
views
2 answers
1 votes
legacy asked Nov 26, 2022
1,001 views
Suppose that a machine has 42-bit virtual addresses and 32-bit physical addresses.{a} How much RAM can the machine support (each byte of RAM must be ... is the advantage of using a two-level page table over single-level page table?
246
views
0 answers
0 votes
anupamsworld asked Oct 27, 2022
246 views
What is/are the difference(s) between System Program, Control Program, Kernel Program in Operating System.What is the relation between System Call and those?