<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4594220639853153301</id><updated>2024-11-12T21:27:26.321-08:00</updated><title type='text'>IGNOU BCA MCA</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ignoucab.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ignoucab.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4594220639853153301.post-3138946075310295976</id><published>2019-10-02T06:39:00.000-07:00</published><updated>2019-10-02T06:39:18.322-07:00</updated><title type='text'>IGNOU Solved Assignment July-December 2019</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hello, Friends, I am back again to solve your problems. I can help you in solving the assignment related to IGNOU BCA and MCA. If you have any problem then you can comment on it and if you want a complete solution, then you can comment the description of the question in the comment box. I hope you will get benefit from my knowledge and I will be able to help you in a justified manner. Keep visiting on this site and guide me with your comments.&lt;br /&gt;
Best of luck for your future.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ignoucab.blogspot.com/feeds/3138946075310295976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ignoucab.blogspot.com/2019/10/ignou-solved-assignment-july-december.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/3138946075310295976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/3138946075310295976'/><link rel='alternate' type='text/html' href='http://ignoucab.blogspot.com/2019/10/ignou-solved-assignment-july-december.html' title='IGNOU Solved Assignment July-December 2019'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4594220639853153301.post-4490480557345400279</id><published>2011-03-06T11:00:00.001-08:00</published><updated>2011-03-06T11:00:13.719-08:00</updated><title type='text'>MCS 043 Free Assignment April 2011</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Question 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Solution&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo2; text-indent: -.25in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;(a)&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/b&gt;Select Supplier.su_id, supplier.Name.su (Supply of per quantity of supply) from supplier&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: .25in;&quot;&gt;On supplier.su_id inner join supply of par su_id group by su_id&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo2; text-indent: -.25in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;(b)&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/b&gt;Begin Transaction Trans&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Go&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Use Adventure work 2008 R&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;GO&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;SELECT + Money &lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;From Adventurework 2008 R&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Human Resource.Account&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Where Acount No. = 123456&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Commit Transaction @ Account No&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Go&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;= Begin Trasaction Tran 2&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Go&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Use Adventure Work 2008 R2&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Go&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Insert into Adventure work 2008 R2&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;VALUES (10000, ACCOUNT No. )&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Commit Transaction @ Account No.&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo2; text-indent: -.25in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;(c)&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/b&gt;Create view supplier&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;As&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Select * FROM Supplier&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Where su_id = @ su_id&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;= create view system manager&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;As&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Select * from supplier su_id, supplier.su_name&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Supplier.su_address, supplier.su_status&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Supply of part.su_id, supply of part. Pa_id, supply of part.&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Date of supply, supply of part.quanitity of &lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Supply, supply of part.su_price from&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Supplier on supplier.su_id inner join&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Supply of part.su_id&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin-left: 0in; mso-add-space: auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo2; text-align: justify; text-indent: -.25in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;(d)&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN&quot;&gt;Transaction processing is designed to maintain a computer system (typically a &lt;a href=&quot;http://en.wikipedia.org/wiki/Database&quot; title=&quot;Database&quot;&gt;database&lt;/a&gt; or some modern &lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Filesystem&quot; title=&quot;Filesystem&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;filesystems&lt;/span&gt;&lt;/a&gt;) in a known, consistent state, by ensuring that any operations carried out on the system that are interdependent are either all completed successfully or all canceled successfully. &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black;&quot;&gt;For example, consider a typical banking transaction that involves moving $700 from a customer&#39;s savings account to a customer&#39;s checking account. This transaction is a single operation in the eyes of the bank, but it involves at least two separate operations in computer terms: debiting the savings account by $700, and crediting the checking account by $700. If the debit operation succeeds but the credit does not (or &lt;i&gt;vice versa),&lt;/i&gt; the books of the bank will not balance at the end of the day. There must therefore be a way to ensure that either both operations succeed or both fail, so that there is never any inconsistency in the bank&#39;s database as a whole. Transaction processing is designed to provide this.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify; text-indent: .5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;&lt;span lang=&quot;EN&quot;&gt;Deadlock Detection&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot; style=&quot;margin-left: .5in; text-align: justify;&quot;&gt;Deadlock can occur whenever two or more processes are competing for limited resources and the processes are allowed to acquire and hold a resource (obtain a lock) thus preventing others from using the resource while the process waits for other resources.&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot; style=&quot;margin-left: .5in; text-align: justify;&quot;&gt;Two common places where deadlocks may occur are with processes in an operating system (distributed or centralized) and with transactions in a database.&amp;nbsp; The concepts discussed here are applicable to any system that allocates resources to processes.&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot; style=&quot;margin-left: .5in; text-align: justify;&quot;&gt;Locking protocols such as the popular Two Phase Locking (see concurrency control) give rise to deadlock as follows: process A gets a lock on data item X while process B gets a lock on data item Y.&amp;nbsp; Process A then tries to get a lock on Y.&amp;nbsp; As Y is already locked, process A enters a blocked state.&amp;nbsp; Process B now decides to get a lock on X, but is blocked.&amp;nbsp; Both processes are now blocked, and, by the rules of Two Phase Locking, neither will relinquish their locks.&amp;nbsp; &lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot; style=&quot;margin-left: .5in;&quot;&gt;This is a deadlock: process A is waiting for a resource held by process B and process B is waiting for a resource held by process A.&amp;nbsp; No progress will take place without outside intervention.&amp;nbsp; Several processes can be involved in a deadlock when there exists a cycle of processes waiting for each other. Process A waits for B which waits for C which waits for A.&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;Four conditions must hold for deadlock to occur:&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;1.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Exclusive use – when a process accesses a resource, it is granted exclusive use of that resource.&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot; style=&quot;margin-left: .25in; mso-list: l2 level1 lfo1; tab-stops: list .25in; text-indent: -.25in;&quot;&gt;1.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp; &lt;/span&gt;2.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Hold and wait – a process is allowed to hold onto some resources while it is waiting for other resources.&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot; style=&quot;margin-left: .25in; mso-list: l2 level1 lfo1; tab-stops: list .25in; text-indent: -.25in;&quot;&gt;2.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp; &lt;/span&gt;3.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;No preemption – a process cannot preempt or take away the resources held by another process.&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot; style=&quot;margin-left: .25in; mso-list: l2 level1 lfo1; tab-stops: list .25in; text-indent: -.25in;&quot;&gt;3.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp; &lt;/span&gt;4.&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Cyclical wait – there is a circular chain of waiting processes, each waiting for a resource held by the next process in the chain.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin-left: 0in; mso-add-space: auto;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;QUESTION-&lt;/b&gt;3&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0in; mso-add-space: auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l1 level1 lfo3; text-indent: -.25in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;(a)&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&amp;nbsp;Select from Guide Table Group by Guide_Id&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0in; mso-add-space: auto;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (b)&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&amp;lt;University&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&amp;lt;Teacher&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&amp;lt;id&amp;gt; 101 &amp;lt;/id&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&amp;lt;Name&amp;gt; Rajat Sharma &amp;lt;/name&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&amp;lt;Qualification&amp;gt; B.Tech &amp;lt;/Qualification&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&amp;lt;Work Experience&amp;gt; 3 Years &amp;lt;/work experience&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&amp;lt;published materials&amp;gt; Data Structure &amp;lt;/published materials&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&amp;lt;/Teacher&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&amp;lt;/University&amp;gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;=Begin Trasaction Trans 3&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Go&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Use Adsventrue Work 208 R2&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Go&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Update Adventure work 2008 R2 Set&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&amp;nbsp;Interest = @ interest where&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Account No. = @ Account No.&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Commit Transaction @ Acocount, @ Interest &lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;GO&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;= Begin Trasaction Trans 4&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Go&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Use adventure Work 208 R2&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Go&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Select * from Adventure work 2008 Rs&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Commit Transaction&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot;&gt;Go.&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;&lt;script src=&quot;http://www.assoc-amazon.com/s/link-enhancer?tag=i077d-20&amp;amp;o=1&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ignoucab.blogspot.com/feeds/4490480557345400279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ignoucab.blogspot.com/2011/03/mcs-043-free-assignment-april-2011.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/4490480557345400279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/4490480557345400279'/><link rel='alternate' type='text/html' href='http://ignoucab.blogspot.com/2011/03/mcs-043-free-assignment-april-2011.html' title='MCS 043 Free Assignment April 2011'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4594220639853153301.post-7765063210317491478</id><published>2011-02-24T02:31:00.000-08:00</published><updated>2011-02-24T02:31:35.063-08:00</updated><title type='text'>MCS 041 Operating System Solution</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Dear Friends here we post the&amp;nbsp;available&amp;nbsp;solution to the assignments if you have any doubt about any question please comment it.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoTitle&quot; style=&quot;margin-left: 1.0in; text-align: justify; text-indent: -1.0in;&quot;&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-weight: normal; text-decoration: none; text-underline: none;&quot;&gt;Question 1:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;(a) Assume you have the following jobs to execute with one processor&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; text-indent: .5in;&quot;&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; text-indent: .5in;&quot;&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;Process&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Burst Time&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Arrival Time&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; tab-stops: .5in 1.0in 1.5in 223.0pt 336.0pt; text-indent: .5in;&quot;&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;P1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;75&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; tab-stops: .5in 1.0in 1.5in 2.0in 2.5in 3.0in; text-indent: .5in;&quot;&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;P2&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;40&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; tab-stops: .5in 1.0in 1.5in; text-indent: .5in;&quot;&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;P3&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;25&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; tab-stops: .5in 1.0in 1.5in 225.0pt; text-indent: .5in;&quot;&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;P4&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;20&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;80&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; tab-stops: .5in 1.0in 1.5in 2.0in 2.5in 3.0in; text-indent: .5in;&quot;&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;P5&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;45&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;85&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; tab-stops: .5in 1.0in 1.5in 2.0in 2.5in 3.0in; text-indent: .5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: .5in 1.0in 1.5in 2.0in 2.5in 3.0in;&quot;&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Support a system uses RR scheduling with a quantum of 15.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.5in; mso-list: l0 level1 lfo1; tab-stops: .5in 1.0in list 1.5in left 2.0in 2.5in 3.0in; text-indent: -45.0pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;a)&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Create a Gantt chart illustrating the execution of these processes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.25in; mso-list: l0 level1 lfo1; tab-stops: .5in 63.0pt 81.0pt 2.0in 2.5in 3.0in; text-indent: -27.0pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;b)&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;What is turn around time for process P3.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.75in; mso-list: l0 level1 lfo1; tab-stops: .5in 1.0in 1.5in list 1.75in left 2.0in 2.5in 3.0in; text-indent: -63.0pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;c)&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;What is the average wait time for the processes? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 63.0pt; tab-stops: .5in 1.0in 1.5in 2.0in 2.5in 3.0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 8;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11.0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 11.0pt;&quot;&gt;(9 Marks&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 11.0pt;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 63pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 11.0pt;&quot;&gt;Solution:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 63pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 11.0pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: black;&quot;&gt;Gantt chart&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid black .5pt; mso-border-insideh: .5pt solid black; mso-border-insidev: .5pt solid black; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 17.8pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;   &lt;td style=&quot;border: solid black 1.0pt; height: 17.8pt; mso-border-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 27.9pt;&quot; valign=&quot;top&quot; width=&quot;37&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P1&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 17.8pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 27.9pt;&quot; valign=&quot;top&quot; width=&quot;37&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P2&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 17.8pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 27.9pt;&quot; valign=&quot;top&quot; width=&quot;37&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P3&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 17.8pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 27.9pt;&quot; valign=&quot;top&quot; width=&quot;37&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P4&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 17.8pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 27.9pt;&quot; valign=&quot;top&quot; width=&quot;37&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P5&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 17.8pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 27.9pt;&quot; valign=&quot;top&quot; width=&quot;37&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P1&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 17.8pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 27.9pt;&quot; valign=&quot;top&quot; width=&quot;37&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P2&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 17.8pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 27.9pt;&quot; valign=&quot;top&quot; width=&quot;37&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P3&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 17.8pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 27.9pt;&quot; valign=&quot;top&quot; width=&quot;37&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P4&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 17.8pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 27.95pt;&quot; valign=&quot;top&quot; width=&quot;37&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P5&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 17.8pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 27.95pt;&quot; valign=&quot;top&quot; width=&quot;37&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P1&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 17.8pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 27.95pt;&quot; valign=&quot;top&quot; width=&quot;37&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P2&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 17.8pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 27.95pt;&quot; valign=&quot;top&quot; width=&quot;37&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P5&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 17.8pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 27.95pt;&quot; valign=&quot;top&quot; width=&quot;37&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P1&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 17.8pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 27.95pt;&quot; valign=&quot;top&quot; width=&quot;37&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P1&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;0&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;15&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;30&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt; 45&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;60&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;75&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt; 90&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;105&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;120&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;125&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;140&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;155&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;165&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;180&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;195&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;210&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid black .5pt; mso-border-insideh: .5pt solid black; mso-border-insidev: .5pt solid black; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 42.85pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;   &lt;td style=&quot;border: solid black 1.0pt; height: 42.85pt; mso-border-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 55.65pt;&quot; valign=&quot;top&quot; width=&quot;74&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;Process&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 42.85pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 81.8pt;&quot; valign=&quot;top&quot; width=&quot;109&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;Processing Time&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 42.85pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 145.1pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;Turnaround Time= Process   completed-process Submitted&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-left: none; border: solid black 1.0pt; height: 42.85pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 145.1pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;Waiting Time=Turnaround Time-   Processing Time&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 13.4pt; mso-yfti-irow: 1;&quot;&gt;   &lt;td style=&quot;border-top: none; border: solid black 1.0pt; height: 13.4pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 55.65pt;&quot; valign=&quot;top&quot; width=&quot;74&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P1&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 13.4pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 81.8pt;&quot; valign=&quot;top&quot; width=&quot;109&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;75&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 13.4pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 145.1pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;210-0=210&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 13.4pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 145.1pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;210-75=135&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 13.4pt; mso-yfti-irow: 2;&quot;&gt;   &lt;td style=&quot;border-top: none; border: solid black 1.0pt; height: 13.4pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 55.65pt;&quot; valign=&quot;top&quot; width=&quot;74&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P2&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 13.4pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 81.8pt;&quot; valign=&quot;top&quot; width=&quot;109&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;40&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 13.4pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 145.1pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;165-0=165&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 13.4pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 145.1pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;165-40=125&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 14.3pt; mso-yfti-irow: 3;&quot;&gt;   &lt;td style=&quot;border-top: none; border: solid black 1.0pt; height: 14.3pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 55.65pt;&quot; valign=&quot;top&quot; width=&quot;74&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P3&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 14.3pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 81.8pt;&quot; valign=&quot;top&quot; width=&quot;109&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;25&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 14.3pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 145.1pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;120-0=120&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 14.3pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 145.1pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;120-25=95&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 13.4pt; mso-yfti-irow: 4;&quot;&gt;   &lt;td style=&quot;border-top: none; border: solid black 1.0pt; height: 13.4pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 55.65pt;&quot; valign=&quot;top&quot; width=&quot;74&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P4&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 13.4pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 81.8pt;&quot; valign=&quot;top&quot; width=&quot;109&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 13.4pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 145.1pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;125-0=125&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 13.4pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 145.1pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;125-20=105&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 14.3pt; mso-yfti-irow: 5; mso-yfti-lastrow: yes;&quot;&gt;   &lt;td style=&quot;border-top: none; border: solid black 1.0pt; height: 14.3pt; mso-border-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 55.65pt;&quot; valign=&quot;top&quot; width=&quot;74&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;P5&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 14.3pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 81.8pt;&quot; valign=&quot;top&quot; width=&quot;109&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;45&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 14.3pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 145.1pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;180-0=180&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; height: 14.3pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-top-alt: solid black .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 145.1pt;&quot; valign=&quot;top&quot; width=&quot;193&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;180-45=135&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 11.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;(b)&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;The around tine for the process p3 is =120&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;(c)&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Average waist time (135+125+95+105+135)/5 = &lt;u&gt;595/5&lt;/u&gt;&amp;nbsp;= 119&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Q1. b)&lt;/span&gt;)&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;Consider a swapping system in which memory consists of the following hole size in memory order: 10K, 4K, 20K, 18K, 7K, 9K, 12K and 15K.which hole is taken for successive segment requests of&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-tab-count: 7;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; text-indent: .5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; text-indent: .5in;&quot;&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;i) 12K&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt; &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ii) 10K&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;iii) 9K&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 0.5in; text-align: left; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;/span&gt;for first fit, best fit and worst fit.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in;&quot;&gt;&lt;span style=&quot;font-size: 11.0pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .5in; text-indent: .5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;Solution:(i)&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;First Fit – 20K&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-tab-count: 7;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Best fit – 12k&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Warst fit – 20k&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;(ii)&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;First fit – 10 k&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Best fit – 10 k&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Worst fit – 20k&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;(iii) &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;First fit – 9 k&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Best fit – 9 k&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;Worst fit – 20k&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-tab-count: 7;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Question 2:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Write a semaphore based solution to Dining Philosopher problem and explain all the assumptions and the algorithm.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Ans.&lt;b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;Solution written in Java&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;import&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;span class=&quot;co2&quot;&gt;java.util.concurrent.Semaphore&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;import&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;span class=&quot;co2&quot;&gt;java.util.Random&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;import&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;span class=&quot;co2&quot;&gt;java.util.Vector&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;public&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;span class=&quot;kw1&quot;&gt;class&lt;/span&gt; Philosopher &lt;span class=&quot;kw1&quot;&gt;extends&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;Thread&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;kw1&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;final&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;Random&lt;/span&gt; rand &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;Random&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;kw1&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; event&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;kw1&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;String&lt;/span&gt; binary&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;kw1&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; id&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;kw1&quot;&gt;private&lt;/span&gt; Semaphore sem&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;kw1&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;static&lt;/span&gt; Vector&lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;Object&lt;span class=&quot;br0&quot;&gt;[]&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; vector &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;new&lt;/span&gt; Vector&lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;Object&lt;span class=&quot;br0&quot;&gt;[]&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;kw1&quot;&gt;public&lt;/span&gt; Philosopher&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; i, Semaphore s&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; i&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sem &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; binary &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; binary &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot;0&quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;kw1&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; busy&lt;span class=&quot;br0&quot;&gt;()&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sleep&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;rand.&lt;span class=&quot;me1&quot;&gt;nextInt&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;1000&lt;span class=&quot;br0&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;catch&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;InterruptedException&lt;/span&gt; e&lt;span class=&quot;br0&quot;&gt;){}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;kw1&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; thinking&lt;span class=&quot;br0&quot;&gt;()&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;kw3&quot;&gt;String&lt;/span&gt; str &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot;Philosopher &quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; id &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot; is thinking&quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vector.&lt;span class=&quot;me1&quot;&gt;add&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;this&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;addToObject&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;System&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;currentTimeMillis&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;()&lt;/span&gt;, event , str&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; event&lt;span class=&quot;sy0&quot;&gt;++;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; busy&lt;span class=&quot;br0&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;kw1&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; eating&lt;span class=&quot;br0&quot;&gt;()&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;kw3&quot;&gt;String&lt;/span&gt; str &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&quot;Philosopher &quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; id &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot; is hungry and is trying to pick up his chopsticks&quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vector.&lt;span class=&quot;me1&quot;&gt;add&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;this&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;addToObject&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;System&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;currentTimeMillis&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;()&lt;/span&gt;, event , str&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; event&lt;span class=&quot;sy0&quot;&gt;++;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; busy&lt;span class=&quot;br0&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot;Philosopher &quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; id &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot; is eating&quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;kw1&quot;&gt;this&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;oneToBinary&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;id&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vector.&lt;span class=&quot;me1&quot;&gt;add&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;this&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;addToObject&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;System&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;currentTimeMillis&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;()&lt;/span&gt;, event , str&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; event&lt;span class=&quot;sy0&quot;&gt;++;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; busy&lt;span class=&quot;br0&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot;Philosopher &quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; id &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot; finished eating, and puts away his chopsticks&quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;kw1&quot;&gt;this&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;zeroToBinary&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;id&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vector.&lt;span class=&quot;me1&quot;&gt;add&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;this&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;addToObject&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;System&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;currentTimeMillis&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;()&lt;/span&gt;, event , str&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; event&lt;span class=&quot;sy0&quot;&gt;++;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;kw1&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;Object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;[]&lt;/span&gt; addToObject&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;long&lt;/span&gt; t, &lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; i,&lt;span class=&quot;kw3&quot;&gt;String&lt;/span&gt; s &lt;span class=&quot;br0&quot;&gt;){&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;kw3&quot;&gt;Object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;[]&lt;/span&gt; o &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;Object&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;[&lt;/span&gt;4&lt;span class=&quot;br0&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o&lt;span class=&quot;br0&quot;&gt;[&lt;/span&gt;3&lt;span class=&quot;br0&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; s&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o&lt;span class=&quot;br0&quot;&gt;[&lt;/span&gt;2&lt;span class=&quot;br0&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; i&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o&lt;span class=&quot;br0&quot;&gt;[&lt;/span&gt;1&lt;span class=&quot;br0&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; binary&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o&lt;span class=&quot;br0&quot;&gt;[&lt;/span&gt;0&lt;span class=&quot;br0&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; t&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;kw1&quot;&gt;return&lt;/span&gt; o&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;kw1&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; oneToBinary&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; i&lt;span class=&quot;br0&quot;&gt;){&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; binary &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; binary.&lt;span class=&quot;me1&quot;&gt;substring&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,i&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot;1&quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; binary.&lt;span class=&quot;me1&quot;&gt;substring&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;i&lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt;1&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;kw1&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; zeroToBinary&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; i&lt;span class=&quot;br0&quot;&gt;){&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; binary &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; binary.&lt;span class=&quot;me1&quot;&gt;substring&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;,i&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&quot;0&quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt; binary.&lt;span class=&quot;me1&quot;&gt;substring&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;i&lt;span class=&quot;sy0&quot;&gt;+&lt;/span&gt;1&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;@Override&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;kw1&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;kw4&quot;&gt;void&lt;/span&gt; run&lt;span class=&quot;br0&quot;&gt;()&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kw4&quot;&gt;int&lt;/span&gt; i &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; i &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;++&lt;/span&gt;i&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thinking&lt;span class=&quot;br0&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;kw1&quot;&gt;try&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;{&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sem.&lt;span class=&quot;me1&quot;&gt;acquire&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;catch&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;InterruptedException&lt;/span&gt; e&lt;span class=&quot;br0&quot;&gt;){}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;eating&lt;span class=&quot;br0&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sem.&lt;span class=&quot;me1&quot;&gt;release&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 16px;&quot;&gt;&lt;b&gt;Question 3. a)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;memory segmentation&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt; is one of the most common ways to achieve &lt;span style=&quot;color: black;&quot;&gt;memory protection&lt;/span&gt;; another common one is &lt;span style=&quot;color: black;&quot;&gt;paging&lt;/span&gt;. In a computer system using segmentation, an instruction operand that refers to a memory location includes a value that identifies a segment and an &lt;span style=&quot;color: black;&quot;&gt;offset&lt;/span&gt; within that segment. A segment has a set of permissions, and a length, associated with it. If the currently running &lt;span style=&quot;color: black;&quot;&gt;process&lt;/span&gt; is allowed by the permissions to make the type of reference to memory that it is attempting to make, and the offset within the segment is within the range specified by the length of the segment, the reference is permitted; otherwise, a hardware &lt;span style=&quot;color: black;&quot;&gt;exception&lt;/span&gt; is raised.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Moreover, as well as its set of permissions and length, a segment also has associated with it information indicating where the segment is located in memory. It may also have a flag indicating whether the segment is present in main memory or not; if the segment is not present in main memory, an exception is raised, and the &lt;span style=&quot;color: black;&quot;&gt;operating system&lt;/span&gt; will read the segment into memory from secondary storage. The information indicating where the segment is located in memory might be the address of the first location in the segment, or might be the address of a &lt;span style=&quot;color: black;&quot;&gt;page table&lt;/span&gt; for the segment, if the segmentation is implemented with &lt;span style=&quot;color: black;&quot;&gt;paging&lt;/span&gt;. In the first case, if a reference to a location within a segment is made, the offset within the segment will be added to address of the first location in the segment to give the address in memory of the referred-to item; in the second case, the offset of the segment is translated to a memory address using the page table.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 16px;&quot;&gt;In most systems in which a segment doesn&#39;t have a page table associated with it, the address of the first location in the segment is an address in main memory; in those systems, no &lt;span style=&quot;color: black;&quot;&gt;paging&lt;/span&gt; is done. In the &lt;span style=&quot;color: black;&quot;&gt;Intel 80386&lt;/span&gt; and later, that address can either be an address in main memory, if paging is not enabled, or an address in a paged &quot;linear&quot; address space, if paging is enabled.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;paging&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt; is one of the &lt;span style=&quot;color: black;&quot;&gt;memory-management&lt;/span&gt; schemes by which a computer can store and retrieve data from secondary storage for use in main memory. In the paging memory-management scheme, the operating system retrieves data from secondary storage in same-size blocks called &lt;i&gt;pages&lt;/i&gt;. The main advantage of paging is that it allows the physical address space of a process to be &lt;span style=&quot;color: black;&quot;&gt;noncontiguous&lt;/span&gt;. Before paging, systems had to fit whole programs into storage &lt;span style=&quot;color: black;&quot;&gt;contiguously&lt;/span&gt;, which caused various &lt;span style=&quot;color: black;&quot;&gt;storage&lt;/span&gt; and &lt;span style=&quot;color: black;&quot;&gt;fragmentation&lt;/span&gt; problems.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Paging is an important part of &lt;span style=&quot;color: black;&quot;&gt;virtual memory&lt;/span&gt; implementation in most contemporary general-purpose operating systems, allowing them to use disk storage for data that does not fit into physical &lt;span style=&quot;color: black;&quot;&gt;Random-access memory (RAM)&lt;/span&gt;. Paging is usually implemented as &lt;span style=&quot;color: black;&quot;&gt;architecture-specific&lt;/span&gt; code built into the &lt;span style=&quot;color: black;&quot;&gt;kernel&lt;/span&gt; of the operating system.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Combined segmentation and paging&lt;/b&gt;&amp;nbsp;&amp;nbsp;In a combined paging/segmentation system a user address space is broken up into a number of segments at the discretion of the &lt;span class=&quot;klink&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;programmer&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black; display: none; mso-hide: all;&quot;&gt;&lt;a href=&quot;http://www.articlesbase.com/software-articles/combined-paging-and-segmentation-294903.html&quot; target=&quot;undefined&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none; text-underline: none;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id=&quot;_x0000_t75&quot; coordsize=&quot;21600,21600&quot;
 o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; filled=&quot;f&quot;
 stroked=&quot;f&quot;&gt;  &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;  &lt;v:formulas&gt;   &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;   &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;   &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;   &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;   &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;   &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;   &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;   &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;   &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;   &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;   &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;   &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt;  &lt;/v:formulas&gt;  &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt;  &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt; &lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot; alt=&quot;&quot; style=&#39;width:16.5pt;
 height:16.5pt&#39;&gt;  &lt;v:imagedata src=&quot;file:///C:\DOCUME~1\SWS\LOCALS~1\Temp\msohtmlclip1\01\clip_image001.gif&quot;
  o:href=&quot;http://kona.kontera.com/javascript/lib/imgs/grey_loader.gif&quot;/&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img border=&quot;0&quot; height=&quot;22&quot; src=&quot;file:///C:/DOCUME~1/SWS/LOCALS~1/Temp/msohtmlclip1/01/clip_image001.gif&quot; v:shapes=&quot;_x0000_i1025&quot; width=&quot;22&quot; /&gt;&lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 16px;&quot;&gt;. Each segment is in turn broken up into a number of fixed-size pages which are equal in length to a main memory frame. If a segment is less than a page in length, the segment occupies just one page. From the programmer`s point of view, a logical address still consists of a segment number and a segment offset. From the system`s point of view, the segment offset is viewed as a page number and page offset for a page within the specified segment.&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;Question 3. b)&lt;/b&gt;. Compare direct file with indexed sequential file organization.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;Solution:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;em0&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Indexed &amp;nbsp;sequential &amp;nbsp;file &amp;nbsp;organization. &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;ps3&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;In&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;span class=&quot;ps4&quot;&gt;indexed &amp;nbsp;sequential &amp;nbsp;file &amp;nbsp;organization, &amp;nbsp;the &amp;nbsp;records &amp;nbsp;are&lt;/span&gt; &lt;span class=&quot;ps5&quot;&gt;stored in sequence according to a primary key and an&lt;/span&gt; &lt;span class=&quot;ps6&quot;&gt;index is created to allow random access of the file. This&lt;/span&gt; &lt;span class=&quot;ps7&quot;&gt;type of organization also allows the file to be accessed&lt;/span&gt; &lt;span class=&quot;ps8&quot;&gt;sequentially. Indexed sequential is the most commonly&lt;/span&gt; &lt;span class=&quot;ps9&quot;&gt;used type of file organization.&lt;/span&gt; &lt;span class=&quot;ps10&quot;&gt;l&lt;/span&gt;&lt;span class=&quot;em0&quot;&gt; &amp;nbsp;&amp;nbsp;Direct &amp;nbsp;&amp;nbsp;file &amp;nbsp;&amp;nbsp;organization.&lt;/span&gt; &lt;span class=&quot;ps11&quot;&gt;In &amp;nbsp;&amp;nbsp;direct &amp;nbsp;&amp;nbsp;file&lt;/span&gt; &lt;span class=&quot;ps12&quot;&gt;organization, the records are stored and retrieved using&lt;/span&gt; &lt;span class=&quot;ps13&quot;&gt;a relative record number, which gives the position of the&lt;/span&gt; &lt;span class=&quot;ps14&quot;&gt;record in the file. This type of organization also allows&lt;/span&gt; &lt;span class=&quot;ps15&quot;&gt;the file to be accessed sequentially&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;ps15&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;Question 4. What are the necessary and sufficient conditions for a deadlock to occur? Explain Banker’s&amp;nbsp; algorithm for deadlock detection with and example. Also suggest 2 mechanisms of recovery from a deadlock.&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Ans.&amp;nbsp;&lt;/b&gt;There are four necessary and sufficient conditions for a Coffman deadlock to occur, known as the &lt;i&gt;Coffman conditions&lt;/i&gt; from their first description in a 1971 article by &lt;span style=&quot;color: black;&quot;&gt;E. G. Coffman&lt;/span&gt;.&lt;/div&gt;&lt;ol start=&quot;1&quot; type=&quot;1&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Mutual exclusion&lt;/span&gt;      condition: a resource that cannot be used by more than one process at a      time&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Hold      and wait&lt;/span&gt; condition: processes already holding resources may      request new resources&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;&quot;&gt;No &lt;span style=&quot;color: black;&quot;&gt;preemption&lt;/span&gt;      condition: No resource can be forcibly removed from a process holding it,      resources can be released only by the explicit action of the process&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Circular wait&lt;/span&gt; condition: two or more      processes form a circular chain where each process waits for a resource      that the next process in the chain holds&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;ps15&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Banker’s Algo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;The Banker&#39;s algorithm is run by the operating system whenever a &lt;a href=&quot;http://en.wikipedia.org/wiki/Process_%28computing%29&quot; title=&quot;Process (computing)&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;process&lt;/span&gt;&lt;/a&gt; requests resources.&lt;sup&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Banker%27s_algorithm#cite_note-1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;[2]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt; The algorithm prevents deadlock by denying or postponing the request if it determines that accepting the request could put the system in an unsafe state (one where deadlock could occur). When a new process enters a system, it must declare the maximum number of instances of each resource type that may not exceed the total number of resources in the system. Also, when a process gets all its requested resources it must return them in a finite amount of time.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;function&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt; bankers_algorithm(&lt;i&gt;set of processes&lt;/i&gt; P, &lt;i&gt;currently available resources&lt;/i&gt; A) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;b&gt;while&lt;/b&gt; (P &lt;b&gt;not empty&lt;/b&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;i&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Boolean_data_type&quot; title=&quot;Boolean data type&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;boolean&lt;/span&gt;&lt;/a&gt;&lt;/i&gt; found = false&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;b&gt;for each&lt;/b&gt; (&lt;i&gt;process&lt;/i&gt; p &lt;b&gt;in&lt;/b&gt; P) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;C&lt;sub&gt;p&lt;/sub&gt; = current_resource_allocation_for_process(p)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;M&lt;sub&gt;p&lt;/sub&gt; = maximum_resource_requirement_for_process(p)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;b&gt;if&lt;/b&gt; (M&lt;sub&gt;p&lt;/sub&gt; − C&lt;sub&gt;p&lt;/sub&gt; ≤ A) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;// &lt;i&gt;p can obtain all it needs.&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;// &lt;i&gt;Assume it does so, terminates, and releases what it already has.&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;A = A + C&lt;sub&gt;p&lt;/sub&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;remove_element_from_set(p, P)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;found = true&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;b&gt;if&lt;/b&gt; (&lt;b&gt;not&lt;/b&gt; found) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;b&gt;return&lt;/b&gt; UNSAFE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;b&gt;return&lt;/b&gt; SAFE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;color: black;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;ps15&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: black;&quot;&gt;Recover from deadlock&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Once it is determined that a deadlock exitx, the system needs to recover from the deadlock. For this, one or more transactions are rolled back to break the deadlock. While performing the roll back operation, the following issues need to be addressed :&lt;br /&gt;
&lt;br /&gt;
a. Selection of a victim : in the situation of a deadlock, you first need to determine the transaction (or transaction) that should be rolled back to break the deadlock. Such a transaction is called the victim transaction. The transaction that will lead to minimum loss, in terms of cost, should be chosen for rollback. The following factors determine the cost of a rollback :&lt;br /&gt;
&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;How much execution has the transaction completed and for how much more time the transaction will execute to complete its task?&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Symbol; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-char-type: symbol; mso-symbol-font-family: Symbol;&quot;&gt;§&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;How many data items were used by the transaction?&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Symbol; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-char-type: symbol; mso-symbol-font-family: Symbol;&quot;&gt;§&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;How many more data items does the transaction need to complete?&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Symbol; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-char-type: symbol; mso-symbol-font-family: Symbol;&quot;&gt;§&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;How many transaction will be included in the rollback?&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Symbol; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-symbol-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-char-type: symbol; mso-symbol-font-family: Symbol;&quot;&gt;§&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
b. Rollback : after determining the transaction to be rolled back, you need to determine how far the transaction is to be rolled back. The easlest answer to this problem is to do a total rollback, which means that the transaction will be aborted and restarted. However, it is better to roll back the transaction only till the point where the deadlock can be broken. This method requires the DBMS to maintain information about all current transaction.&lt;br /&gt;
&lt;br /&gt;
c. Starvation : when the selection of a victim is based on cost factors, it might happen ihat the same transaction is selected as a victim every time a deadlock occurs. Due to this, the transaction might not be able to complete its task. Such a situation is called starvation. To avoid starvation, you need to ensure that a transaction is picked as a victim for only a fixed number of times. To ensure this, you can select a victim based on the number of rollbacks along with the cost factor.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;Question 5. a)&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;Explain take-grant model for operation system security with an example. Also explain the mechanisms of security in WIN 2000 operating system.&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;Solution :&lt;/b&gt;&lt;/span&gt;Modeling and analysis of information system vulnerabilities helps us to predict possible attacks to networks using the network configuration and vulnerabilities information. As a fact, exploiting most of vulnerabilities result in access rights alteration. In this paper, we propose a new vulnerability analysis method based on the Take-Grant protection model. We extend the initial Take-Grant model to address the notion of vulnerabilities and introduce the vulnerabilities rewriting rules to specify how the protection state of the system can be changed by exploiting vulnerabilities. Our analysis is based on a bounded polynomial algorithm, which generates the closure of the Take-Grant graph regarding vulnerabilities. The closure helps to verify whether any subject can obtain an access right over an object. The application of our results have been examined in a case study which reveals how an attacker can gain an unauthorized access right by exploiting chain of vulnerabilities.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;Question 5. b) Explain Bell and La-Padula Model for security and protection. Why is security a critical issue in a distributed OS environment?&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;Solution:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;The &lt;b&gt;Bell-LaPadula Model&lt;/b&gt; (abbreviated &lt;b&gt;BLP&lt;/b&gt;) is a &lt;span style=&quot;color: black;&quot;&gt;state machine&lt;/span&gt; model used for enforcing &lt;span style=&quot;color: black;&quot;&gt;access control&lt;/span&gt; in government and military applications.&amp;nbsp;It was developed by David Elliott Bell and Leonard J. LaPadula, subsequent to strong guidance from &lt;span style=&quot;color: black;&quot;&gt;Roger R. Schell&lt;/span&gt; to formalize the &lt;span style=&quot;color: black;&quot;&gt;U.S. Department of Defense&lt;/span&gt; (DoD) &lt;span style=&quot;color: black;&quot;&gt;multilevel security&lt;/span&gt; (MLS) policy.&amp;nbsp;The model is a formal &lt;span style=&quot;color: black;&quot;&gt;state transition model&lt;/span&gt; of &lt;span style=&quot;color: black;&quot;&gt;computer security policy&lt;/span&gt; that describes a set of access control rules which use security labels on objects and clearances for subjects. Security labels range from the most sensitive (e.g.&quot;Top Secret&quot;), down to the least sensitive (e.g., &quot;Unclassified&quot; or &quot;Public&quot;).&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;The Bell-LaPadula model focuses on data &lt;span style=&quot;color: black;&quot;&gt;confidentiality&lt;/span&gt; and controlled access to &lt;span style=&quot;color: black;&quot;&gt;classified information&lt;/span&gt;, in contrast to the &lt;span style=&quot;color: black;&quot;&gt;Biba Integrity Model&lt;/span&gt; which describes rules for the protection of &lt;span style=&quot;color: black;&quot;&gt;data integrity&lt;/span&gt;. In this formal model, the entities in an &lt;span style=&quot;color: black;&quot;&gt;information system&lt;/span&gt; are divided into subjects and objects. The notion of a &quot;&lt;span style=&quot;color: black;&quot;&gt;secure state&lt;/span&gt;&quot; is defined, and it is proven that each state transition preserves security by moving from secure state to secure state, thereby &lt;span style=&quot;color: black;&quot;&gt;inductively&lt;/span&gt; proving that the system satisfies the security objectives of the model. The Bell-LaPadula model is built on the concept of a &lt;span style=&quot;color: black;&quot;&gt;state machine&lt;/span&gt; with a set of allowable states in a computer network system. The transition from one state to another state is defined by &lt;span style=&quot;color: black;&quot;&gt;transition functions&lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;Question 6).&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; Write and explain an algorithm used for ordering of events in a distributed environment. Implements\ the algorithm with an example and explain?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;Vector clocks&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt; is an &lt;span style=&quot;color: black;&quot;&gt;algorithm&lt;/span&gt; for generating a &lt;span style=&quot;color: black;&quot;&gt;partial ordering&lt;/span&gt; of events in a &lt;span style=&quot;color: black;&quot;&gt;distributed system&lt;/span&gt; and detecting &lt;span style=&quot;color: black;&quot;&gt;causality&lt;/span&gt; violations. Just as in &lt;span style=&quot;color: black;&quot;&gt;Lamport timestamps&lt;/span&gt;, interprocess messages contain the state of the sending process&#39;s &lt;span style=&quot;color: black;&quot;&gt;logical clock&lt;/span&gt;. A vector clock of a system of &lt;i&gt;N&lt;/i&gt; processes is an &lt;span style=&quot;color: black;&quot;&gt;array&lt;/span&gt;/vector of &lt;i&gt;N&lt;/i&gt; logical clocks, one clock per process; a local &quot;smallest possible values&quot; copy of the global clock-array is kept in each process, with the following rules for clock updates:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjyfTVcoucM3AP_QZsmE76gjVXpUv5-ONzp3_6_694pTfQbYGxegypovwJcgYWpEI4j1SB3yjz_gm69GeSfY_pwqyY2A68FCUHwOfRFTCll16pjjtN8OJYUNNc5HtFs8hPqfhinznZ3x3M/s1600/img.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjyfTVcoucM3AP_QZsmE76gjVXpUv5-ONzp3_6_694pTfQbYGxegypovwJcgYWpEI4j1SB3yjz_gm69GeSfY_pwqyY2A68FCUHwOfRFTCll16pjjtN8OJYUNNc5HtFs8hPqfhinznZ3x3M/s320/img.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;b&gt;Example of a system of vector clocks&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;&quot;&gt;Initially all clocks are      zero.&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;&quot;&gt;Each time a process      experiences an internal event, it increments its own &lt;span style=&quot;color: black;&quot;&gt;logical clock&lt;/span&gt; in the vector by one.&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify;&quot;&gt;Each      time a process prepares to send a message, it increments its own &lt;span style=&quot;color: black;&quot;&gt;logical clock&lt;/span&gt; in the vector by one and then      sends its entire vector along with the message being sent.&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-align: justify;&quot;&gt;Each      time a process receives a message, it increments its own &lt;span style=&quot;color: black;&quot;&gt;logical clock&lt;/span&gt; in the vector by one and      updates each element in its vector by taking the maximum of the value in      its own vector clock and the value in the vector in the received message      (for every element).&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;The &lt;b&gt;vector clocks&lt;/b&gt; algorithm was independently developed by &lt;span style=&quot;color: black;&quot;&gt;Colin Fidge&lt;/span&gt; and &lt;span style=&quot;color: black;&quot;&gt;Friedemann Mattern&lt;/span&gt; in 1988&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ignoucab.blogspot.com/feeds/7765063210317491478/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ignoucab.blogspot.com/2011/02/mcs-041-operating-system-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/7765063210317491478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/7765063210317491478'/><link rel='alternate' type='text/html' href='http://ignoucab.blogspot.com/2011/02/mcs-041-operating-system-solution.html' title='MCS 041 Operating System Solution'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjyfTVcoucM3AP_QZsmE76gjVXpUv5-ONzp3_6_694pTfQbYGxegypovwJcgYWpEI4j1SB3yjz_gm69GeSfY_pwqyY2A68FCUHwOfRFTCll16pjjtN8OJYUNNc5HtFs8hPqfhinznZ3x3M/s72-c/img.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4594220639853153301.post-259950728083076094</id><published>2011-02-22T22:02:00.000-08:00</published><updated>2011-02-22T22:02:37.027-08:00</updated><title type='text'>Free Assignments of BCA MCA all semester on Request.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Dear Friends we are glad to yours response and always dedicated to work for you. If you are a&amp;nbsp;student&amp;nbsp;of IGNOU and want solution of the&amp;nbsp;assignments&amp;nbsp;of your&amp;nbsp;semester&amp;nbsp;please&amp;nbsp;join us and leave your demanding&amp;nbsp;semester&amp;nbsp;so that we can upload the answer of the requested&amp;nbsp;semester. Please note that as we work for free of cost so keep visiting the site as we are always looking for the appropriate solution to the question and leave the comment in case of any doubt.&lt;br /&gt;
Have a Nice Day :)&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ignoucab.blogspot.com/feeds/259950728083076094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ignoucab.blogspot.com/2011/02/free-assignments-of-bca-mca-all.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/259950728083076094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/259950728083076094'/><link rel='alternate' type='text/html' href='http://ignoucab.blogspot.com/2011/02/free-assignments-of-bca-mca-all.html' title='Free Assignments of BCA MCA all semester on Request.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4594220639853153301.post-8504752092892314956</id><published>2011-02-14T19:33:00.000-08:00</published><updated>2011-02-14T19:33:30.420-08:00</updated><title type='text'>Free solution Of Ignou Assignments</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;If you have any problem related to your assignment or you want to get solution of&amp;nbsp;particular&amp;nbsp;course we are there to help you for&amp;nbsp;absolutely&amp;nbsp;free of cost. Please keep visiting and make your&amp;nbsp;valuable&amp;nbsp;feedback regarding the blog so that we can improve our services. We only provide all the solution for which our reader demands, so keep visiting and ask for solution.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ignoucab.blogspot.com/feeds/8504752092892314956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ignoucab.blogspot.com/2011/02/free-solution-of-ignou-assignments.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/8504752092892314956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/8504752092892314956'/><link rel='alternate' type='text/html' href='http://ignoucab.blogspot.com/2011/02/free-solution-of-ignou-assignments.html' title='Free solution Of Ignou Assignments'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4594220639853153301.post-1171108221790348983</id><published>2011-01-28T05:10:00.000-08:00</published><updated>2011-01-28T05:10:23.756-08:00</updated><title type='text'>BCA MCA ALL SEMESTER ANSWERS ON DEMAND FOR FREE</title><content type='html'>If you have any problem in solving your problems during assignments or you want to find the solution to the answer please write the particular question of your assignment and we will respond to you with correct answer. Have a nice day and best of luck to your future.</content><link rel='replies' type='application/atom+xml' href='http://ignoucab.blogspot.com/feeds/1171108221790348983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ignoucab.blogspot.com/2011/01/bca-mca-all-semester-answers-on-demand.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/1171108221790348983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/1171108221790348983'/><link rel='alternate' type='text/html' href='http://ignoucab.blogspot.com/2011/01/bca-mca-all-semester-answers-on-demand.html' title='BCA MCA ALL SEMESTER ANSWERS ON DEMAND FOR FREE'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4594220639853153301.post-8748897462349582062</id><published>2011-01-11T05:16:00.001-08:00</published><updated>2011-01-11T05:16:33.689-08:00</updated><title type='text'></title><content type='html'>&lt;!-- &quot;IGNOU ASSIGNMENT&quot; Promotion Box Code Start --&gt;&lt;br /&gt;
   &lt;table cellspacing=0 cellpadding=2 border=1 style=&quot;border-style: solid;border-color: #6E96D5; 
     border-width:1px;font-family:Tahoma;font-size:12px&quot;&gt;   &lt;tr&gt;
      &lt;td align=center&gt;&lt;br /&gt;
    &lt;a href=&quot;http://www.sirfdosti.com/register.asp?CId=17628&quot;&gt;&lt;br /&gt;
    &lt;img src=&quot;http://www.sirfdosti.com/thumb.asp?i=/images/communitiesPhoto/group-default.gif&amp;s=100&quot; 
      border=0&gt;&lt;/a&gt;&lt;br /&gt;
    &lt;br&gt;&lt;br /&gt;
    &lt;a href=&quot;http://www.sirfdosti.com/register.asp?CId=17628&quot;&gt;&lt;b&gt;Join IGNOU ASSIGNMENT&lt;/b&gt;&lt;/a&gt; &lt;br /&gt;
    &lt;small&gt;&lt;br&gt;@&lt;br&gt;&lt;a href=&quot;http://www.sirfdosti.com&quot;&gt;www.SirfDosti.com&lt;/a&gt;&lt;/small&gt;&lt;br /&gt;
      &lt;/td&gt;
   &lt;/tr&gt;
   &lt;/table&gt;   &lt;!-- &quot;IGNOU ASSIGNMENT&quot; Promotion Box Code End --&gt;</content><link rel='replies' type='application/atom+xml' href='http://ignoucab.blogspot.com/feeds/8748897462349582062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ignoucab.blogspot.com/2011/01/join-ignou-assignment-www.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/8748897462349582062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/8748897462349582062'/><link rel='alternate' type='text/html' href='http://ignoucab.blogspot.com/2011/01/join-ignou-assignment-www.html' title=''/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4594220639853153301.post-8727540207259285422</id><published>2011-01-08T00:58:00.001-08:00</published><updated>2011-01-08T01:01:23.353-08:00</updated><title type='text'>MAKE MONEY FROM HOME</title><content type='html'>Earn upto Rs. 9,000 pm with PaisaLive.com!&lt;br /&gt;
Hi ,&lt;br /&gt;
&lt;br /&gt;
I have something interesting for you - you can easily earn regular income online via PaisaLive.com!&lt;br /&gt;
&lt;br /&gt;
It’s really amazing! You get paid to open &amp; read the contents of PaisaLive mails. You also receive special discount coupons, promotions and free passes to various events in your city.&lt;br /&gt;
&lt;br /&gt;
Join now and get Rs. 99 instantly, just for joining. What more, as a special bonus you get paid for inviting your friends also!&lt;br /&gt;
&lt;br /&gt;
Create your PaisaLive Account by clicking below and spent just 15 minutes and earn money.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.PaisaLive.com/register.asp?1149451-5925202&quot;&gt;http://www.PaisaLive.com/register.asp?1149451-5925202&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
PaisaLive - Get Paid to read emails&lt;br /&gt;
&lt;br /&gt;
{Insert your Name Here}</content><link rel='replies' type='application/atom+xml' href='http://ignoucab.blogspot.com/feeds/8727540207259285422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ignoucab.blogspot.com/2011/01/make-money-from-home.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/8727540207259285422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/8727540207259285422'/><link rel='alternate' type='text/html' href='http://ignoucab.blogspot.com/2011/01/make-money-from-home.html' title='MAKE MONEY FROM HOME'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4594220639853153301.post-3136135735889979998</id><published>2011-01-05T00:13:00.000-08:00</published><updated>2011-01-05T00:13:19.962-08:00</updated><title type='text'>mcs042</title><content type='html'>&lt;div class=&quot;MsoTitle&quot; style=&quot;tab-stops: 27.0pt; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 11.0pt; font-weight: normal; text-decoration: none; text-underline: none;&quot;&gt;What is count to infinity problem? Explain through an example.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoTitle&quot; style=&quot;tab-stops: 27.0pt; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 11.0pt; font-weight: normal; text-decoration: none; text-underline: none;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;&lt;span class=&quot;pageHeader&quot; style=&quot;color: #bb5555; font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 27px; font-weight: bold;&quot;&gt;Count-To-Infinity Problem&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;Followed illustration shows an imagined network and denotes the distances from router A to every other router. Until now every thing works fine.&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://wiki.uni.lu/secan-lab/graphics/count1.GIF&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
The illustration shows that link (A, B) is broken. Router B observed it, but in his routing table he sees, that router C has a route to A with 2 hops.&lt;br /&gt;
The problem is, that router B doesn&#39;t know that C has router B as successor in his routing table on the route to A.&lt;br /&gt;
That occurs followed count-to-infinity problem. B actualizes his routing table and takes the route to A over router C.&lt;br /&gt;
In the next picture, we can see the new distances to A. In C&#39;s routing the route to A contains router B as next hop router, so if B has increase his costs to A, C is forced to do so. Router C increases his cost to A about B + 1 = 4.&lt;br /&gt;
Now we see the consequence of the distributed Bellman-Ford protocol: Because router B takes the path over C to A, he reactualizes his routing table and so on!&lt;br /&gt;
At the end this problem is going to immobilize the whole network.&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://wiki.uni.lu/secan-lab/graphics/count2.GIF&quot; /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ignoucab.blogspot.com/feeds/3136135735889979998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ignoucab.blogspot.com/2011/01/mcs042.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/3136135735889979998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/3136135735889979998'/><link rel='alternate' type='text/html' href='http://ignoucab.blogspot.com/2011/01/mcs042.html' title='mcs042'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4594220639853153301.post-3177202602210649046</id><published>2011-01-03T22:13:00.000-08:00</published><updated>2011-01-03T22:13:07.183-08:00</updated><title type='text'>MCA 1st semester</title><content type='html'>Answer of Assignment of current&amp;nbsp;April&amp;nbsp;2011 session will be posted soon please keep visiting.</content><link rel='replies' type='application/atom+xml' href='http://ignoucab.blogspot.com/feeds/3177202602210649046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ignoucab.blogspot.com/2011/01/mca-1st-semester.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/3177202602210649046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/3177202602210649046'/><link rel='alternate' type='text/html' href='http://ignoucab.blogspot.com/2011/01/mca-1st-semester.html' title='MCA 1st semester'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4594220639853153301.post-8299268506020244754</id><published>2011-01-03T22:11:00.000-08:00</published><updated>2011-01-03T22:11:14.199-08:00</updated><title type='text'>BCA 2nd Semester</title><content type='html'>Solution of assignment of june 2011 will be posted soon. Know about particular topic please go through comments.</content><link rel='replies' type='application/atom+xml' href='http://ignoucab.blogspot.com/feeds/8299268506020244754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ignoucab.blogspot.com/2011/01/bca-2nd-semester.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/8299268506020244754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/8299268506020244754'/><link rel='alternate' type='text/html' href='http://ignoucab.blogspot.com/2011/01/bca-2nd-semester.html' title='BCA 2nd Semester'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4594220639853153301.post-2138930362436603550</id><published>2011-01-03T22:08:00.000-08:00</published><updated>2011-01-03T22:08:36.616-08:00</updated><title type='text'>BCA 1st Semester</title><content type='html'>Solution of BCA 1st Semester of April 2011 session will be posted soon. Please keep visiting.</content><link rel='replies' type='application/atom+xml' href='http://ignoucab.blogspot.com/feeds/2138930362436603550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ignoucab.blogspot.com/2011/01/bca-1st-semester.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/2138930362436603550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/2138930362436603550'/><link rel='alternate' type='text/html' href='http://ignoucab.blogspot.com/2011/01/bca-1st-semester.html' title='BCA 1st Semester'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4594220639853153301.post-3702469973648171162</id><published>2011-01-03T00:21:00.000-08:00</published><updated>2011-01-05T00:11:25.169-08:00</updated><title type='text'>IGNOU MCA 4th Semester</title><content type='html'>&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;MCS-042&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-GB; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;Explain the operation of leaky and token bucket algorithms?&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 11.0pt; mso-ansi-language: EN-GB; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US;&quot;&gt;&lt;h1&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;The Token Bucket(Leaky Bucket) Model&lt;/a&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;This is introduction and basic explanation of&amp;nbsp; the model, it is not completed . First part is similar to the document which submitted by Dr. Chimento. The other parts briefly explain the idea.&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;This document tries to explain basic token bucket model(some document use leaky bucket), its parameters and its usage in diffserv environment. Token bucket represents the &lt;i&gt;&amp;nbsp;&lt;b&gt;Policing&lt;/b&gt;&lt;/i&gt; function of&amp;nbsp; Traffic Conditioning Block of diffserv. A token bucket flow is defined by (r,b), r denotes the rate at which tokens(credits) are accumulated and b is the depth of the token pool(in bytes).&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id=&quot;_x0000_t202&quot;
 coordsize=&quot;21600,21600&quot; o:spt=&quot;202&quot; path=&quot;m,l,21600r21600,l21600,xe&quot;&gt;  &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;  &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt; &lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_s1049&quot; type=&quot;#_x0000_t202&quot; style=&#39;position:absolute;
 margin-left:1in;margin-top:6pt;width:1in;height:45pt;z-index:251631104;
 mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
 mso-position-vertical:absolute;mso-position-vertical-relative:text&#39;
 o:allowincell=&quot;f&quot; stroked=&quot;f&quot;&gt;  &lt;v:textbox&gt;   &lt;![if !mso]&gt;   &lt;table cellpadding=0 cellspacing=0 width=&quot;100%&quot;&gt;&lt;tr&gt;     &lt;td&gt;&lt;![endif]&gt;     &lt;div&gt;     &lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;&lt;span style=&#39;mso-spacerun:yes&#39;&gt;          &lt;/span&gt;r&lt;/span&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;&lt;span
    style=&#39;mso-spacerun:yes&#39;&gt; &lt;/span&gt;tokens/sec&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;![if !mso]&gt;&lt;/td&gt;    &lt;/tr&gt;
&lt;/table&gt;&lt;![endif]&gt;&lt;/v:textbox&gt; &lt;/v:shape&gt;&lt;v:shape id=&quot;_x0000_s1050&quot; style=&#39;position:absolute;margin-left:118.5pt;
 margin-top:4.5pt;width:68.8pt;height:22.95pt;z-index:251632128;
 mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;
 mso-wrap-distance-bottom:0;mso-position-horizontal:absolute;
 mso-position-horizontal-relative:text;mso-position-vertical:absolute;
 mso-position-vertical-relative:text;v-text-anchor:top&#39; coordsize=&quot;1376,459&quot;
 o:allowincell=&quot;f&quot; path=&quot;m,330hdc52,173,129,147,270,105,453,50,282,95,420,60,435,50,449,37,465,30,494,17,555,,555,v95,5,190,7,285,15c865,17,890,23,915,30v31,8,90,30,90,30c1059,114,1079,109,1140,150v10,15,17,32,30,45c1183,208,1204,211,1215,225v10,12,6,32,15,45c1242,288,1262,298,1275,315v22,28,49,56,60,90c1340,420,1363,459,1350,450v-15,-10,-31,-18,-45,-30c1289,406,1281,375,1260,375v-18,,16,34,30,45c1302,430,1320,430,1335,435v41,-62,30,-27,30,-105hae&quot;
 filled=&quot;f&quot;&gt;  &lt;v:path arrowok=&quot;t&quot;/&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;  &lt;/div&gt;&lt;table align=&quot;left&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td height=&quot;4&quot; width=&quot;96&quot;&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td&gt;&lt;/td&gt;   &lt;td&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;img height=&quot;66&quot; src=&quot;file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtmlclip1/01/clip_image001.gif&quot; v:shapes=&quot;_x0000_s1049 _x0000_s1050&quot; width=&quot;157&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&amp;nbsp;&lt;/a&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;br clear=&quot;ALL&quot; /&gt;  &lt;/a&gt;&lt;/span&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:line id=&quot;_x0000_s1047&quot; style=&#39;position:absolute;
 z-index:251629056;mso-position-horizontal:absolute;
 mso-position-horizontal-relative:text;mso-position-vertical:absolute;
 mso-position-vertical-relative:text&#39; from=&quot;225pt,1.2pt&quot; to=&quot;225pt,55.2pt&quot;
 o:allowincell=&quot;f&quot;&gt;  &lt;v:stroke startarrow=&quot;block&quot; endarrow=&quot;block&quot;/&gt; &lt;/v:line&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;height: 76px; margin-left: 294px; margin-top: 0px; mso-ignore: vglayout; position: absolute; width: 12px; z-index: 251629056;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;img height=&quot;76&quot; src=&quot;file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtmlclip1/01/clip_image002.gif&quot; v:shapes=&quot;_x0000_s1047&quot; width=&quot;12&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;!--[if gte vml 1]&gt;&lt;v:line id=&quot;_x0000_s1031&quot;
 style=&#39;position:absolute;z-index:251612672;mso-position-horizontal:absolute;
 mso-position-horizontal-relative:text;mso-position-vertical:absolute;
 mso-position-vertical-relative:text&#39; from=&quot;207pt,1.2pt&quot; to=&quot;207pt,55.2pt&quot;
 o:allowincell=&quot;f&quot;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;height: 74px; margin-left: 275px; margin-top: 1px; mso-ignore: vglayout; position: absolute; width: 2px; z-index: 251612672;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;img height=&quot;74&quot; src=&quot;file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtmlclip1/01/clip_image003.gif&quot; v:shapes=&quot;_x0000_s1031&quot; width=&quot;2&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;!--[if gte vml 1]&gt;&lt;v:line id=&quot;_x0000_s1030&quot;
 style=&#39;position:absolute;z-index:251611648;mso-position-horizontal:absolute;
 mso-position-horizontal-relative:text;mso-position-vertical:absolute;
 mso-position-vertical-relative:text&#39; from=&quot;162pt,1.2pt&quot; to=&quot;162pt,55.2pt&quot;
 o:allowincell=&quot;f&quot;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;height: 74px; margin-left: 215px; margin-top: 1px; mso-ignore: vglayout; position: absolute; width: 2px; z-index: 251611648;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;img height=&quot;74&quot; src=&quot;file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtmlclip1/01/clip_image003.gif&quot; v:shapes=&quot;_x0000_s1030&quot; width=&quot;2&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;_x0000_s1048&quot; type=&quot;#_x0000_t202&quot;
 style=&#39;position:absolute;margin-left:243pt;margin-top:5.4pt;width:27pt;
 height:27pt;z-index:251630080;mso-position-horizontal:absolute;
 mso-position-horizontal-relative:text;mso-position-vertical:absolute;
 mso-position-vertical-relative:text&#39; o:allowincell=&quot;f&quot; stroked=&quot;f&quot;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;height: 40px; margin-left: 324px; margin-top: 7px; mso-ignore: vglayout; position: absolute; width: 40px; z-index: 251630080;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td bgcolor=&quot;white&quot; height=&quot;40&quot; style=&quot;background: white; vertical-align: top;&quot; width=&quot;40&quot;&gt;&lt;!--[endif]--&gt;&lt;!--[if !mso]--&gt;&lt;span style=&quot;mso-ignore: vglayout; position: absolute; z-index: 251630080;&quot;&gt;   &lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;     &lt;td&gt;&lt;!--[endif]--&gt;     &lt;div class=&quot;shape&quot; style=&quot;padding: 3.6pt 7.2pt 3.6pt 7.2pt;&quot; v:shape=&quot;_x0000_s1048&quot;&gt;     &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;b&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--[if !mso]--&gt;&lt;/td&gt;    &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;!--[if !mso &amp; !vml]--&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&amp;nbsp;&lt;!--[endif]--&gt;&lt;!--[if !vml]--&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:line id=&quot;_x0000_s1033&quot; style=&#39;position:absolute;
 flip:x;z-index:251614720;mso-position-horizontal:absolute;
 mso-position-horizontal-relative:text;mso-position-vertical:absolute;
 mso-position-vertical-relative:text&#39; from=&quot;190.8pt,24.45pt&quot; to=&quot;190.8pt,51.45pt&quot;
 o:allowincell=&quot;f&quot;/&gt;&lt;v:oval id=&quot;_x0000_s1036&quot; style=&#39;position:absolute;
 margin-left:171pt;margin-top:19.05pt;width:9pt;height:9pt;z-index:251617792;
 mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
 mso-position-vertical:absolute;mso-position-vertical-relative:text&#39;
 o:allowincell=&quot;f&quot;/&gt;&lt;v:oval id=&quot;_x0000_s1037&quot; style=&#39;position:absolute;
 margin-left:189pt;margin-top:19.05pt;width:9pt;height:9pt;z-index:251618816;
 mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
 mso-position-vertical:absolute;mso-position-vertical-relative:text&#39;
 o:allowincell=&quot;f&quot;/&gt;&lt;v:oval id=&quot;_x0000_s1038&quot; style=&#39;position:absolute;
 margin-left:171pt;margin-top:19.05pt;width:9pt;height:9pt;z-index:251619840;
 mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
 mso-position-vertical:absolute;mso-position-vertical-relative:text&#39;
 o:allowincell=&quot;f&quot;/&gt;&lt;v:oval id=&quot;_x0000_s1039&quot; style=&#39;position:absolute;
 margin-left:180pt;margin-top:9.6pt;width:9pt;height:9pt;z-index:251620864;
 mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
 mso-position-vertical:absolute;mso-position-vertical-relative:text&#39;
 o:allowincell=&quot;f&quot;/&gt;&lt;v:oval id=&quot;_x0000_s1040&quot; style=&#39;position:absolute;
 margin-left:189pt;margin-top:9.6pt;width:9pt;height:9pt;z-index:251621888;
 mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
 mso-position-vertical:absolute;mso-position-vertical-relative:text&#39;
 o:allowincell=&quot;f&quot;/&gt;&lt;v:oval id=&quot;_x0000_s1041&quot; style=&#39;position:absolute;
 margin-left:198pt;margin-top:9.6pt;width:9pt;height:9pt;z-index:251622912;
 mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
 mso-position-vertical:absolute;mso-position-vertical-relative:text&#39;
 o:allowincell=&quot;f&quot;/&gt;&lt;v:oval id=&quot;_x0000_s1042&quot; style=&#39;position:absolute;
 margin-left:171pt;margin-top:9.6pt;width:9pt;height:9pt;z-index:251623936;
 mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
 mso-position-vertical:absolute;mso-position-vertical-relative:text&#39;
 o:allowincell=&quot;f&quot;/&gt;&lt;v:oval id=&quot;_x0000_s1043&quot; style=&#39;position:absolute;
 margin-left:198pt;margin-top:.6pt;width:9pt;height:9pt;z-index:251624960;
 mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
 mso-position-vertical:absolute;mso-position-vertical-relative:text&#39;
 o:allowincell=&quot;f&quot;/&gt;&lt;v:oval id=&quot;_x0000_s1044&quot; style=&#39;position:absolute;
 margin-left:171pt;margin-top:.6pt;width:9pt;height:9pt;z-index:251625984;
 mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
 mso-position-vertical:absolute;mso-position-vertical-relative:text&#39;
 o:allowincell=&quot;f&quot;/&gt;&lt;v:oval id=&quot;_x0000_s1045&quot; style=&#39;position:absolute;
 margin-left:162pt;margin-top:19.05pt;width:9pt;height:9pt;z-index:251627008;
 mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
 mso-position-vertical:absolute;mso-position-vertical-relative:text&#39;
 o:allowincell=&quot;f&quot;/&gt;&lt;v:oval id=&quot;_x0000_s1046&quot; style=&#39;position:absolute;
 margin-left:162pt;margin-top:9.6pt;width:9pt;height:9pt;z-index:251628032;
 mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
 mso-position-vertical:absolute;mso-position-vertical-relative:text&#39;
 o:allowincell=&quot;f&quot;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;  &lt;/div&gt;&lt;table align=&quot;left&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td height=&quot;0&quot; width=&quot;215&quot;&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td&gt;&lt;/td&gt;   &lt;td&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;img height=&quot;70&quot; src=&quot;file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtmlclip1/01/clip_image004.gif&quot; v:shapes=&quot;_x0000_s1033 _x0000_s1036 _x0000_s1037 _x0000_s1038 _x0000_s1039 _x0000_s1040 _x0000_s1041 _x0000_s1042 _x0000_s1043 _x0000_s1044 _x0000_s1045 _x0000_s1046&quot; width=&quot;62&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&amp;nbsp;&lt;/a&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;br clear=&quot;ALL&quot; /&gt;  &lt;/a&gt;&lt;/span&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id=&quot;_x0000_t4&quot; coordsize=&quot;21600,21600&quot;
 o:spt=&quot;4&quot; path=&quot;m10800,l,10800,10800,21600,21600,10800xe&quot;&gt;  &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;  &lt;v:path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; textboxrect=&quot;5400,5400,16200,16200&quot;/&gt; &lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_s1026&quot; type=&quot;#_x0000_t4&quot; style=&#39;position:absolute;
 margin-left:2in;margin-top:21.6pt;width:90pt;height:81pt;z-index:251607552;
 mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
 mso-position-vertical:absolute;mso-position-vertical-relative:text&#39;
 o:allowincell=&quot;f&quot;&gt;  &lt;v:textbox&gt;   &lt;![if !mso]&gt;   &lt;table cellpadding=0 cellspacing=0 width=&quot;100%&quot;&gt;&lt;tr&gt;     &lt;td&gt;&lt;![endif]&gt;     &lt;div&gt;     &lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;removetoken&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;![if !mso]&gt;&lt;/td&gt;    &lt;/tr&gt;
&lt;/table&gt;&lt;![endif]&gt;&lt;/v:textbox&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;height: 115px; margin-left: 190px; margin-top: 27px; mso-ignore: vglayout; position: absolute; width: 128px; z-index: 251607552;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;img alt=&quot;Diamond: removetoken&quot; height=&quot;115&quot; src=&quot;file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtmlclip1/01/clip_image005.gif&quot; v:shapes=&quot;_x0000_s1026&quot; width=&quot;128&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;_x0000_s1052&quot; type=&quot;#_x0000_t202&quot; style=&#39;position:absolute;margin-left:9pt;
 margin-top:45pt;width:54pt;height:36pt;z-index:251634176;
 mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
 mso-position-vertical:absolute;mso-position-vertical-relative:text&#39;
 o:allowincell=&quot;f&quot; stroked=&quot;f&quot;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;height: 52px; margin-left: 12px; margin-top: 60px; mso-ignore: vglayout; position: absolute; width: 76px; z-index: 251634176;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td bgcolor=&quot;white&quot; height=&quot;52&quot; style=&quot;background: white; vertical-align: top;&quot; width=&quot;76&quot;&gt;&lt;!--[endif]--&gt;&lt;!--[if !mso]--&gt;&lt;span style=&quot;mso-ignore: vglayout; position: absolute; z-index: 251634176;&quot;&gt;   &lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;     &lt;td&gt;&lt;!--[endif]--&gt;     &lt;div class=&quot;shape&quot; style=&quot;padding: 3.6pt 7.2pt 3.6pt 7.2pt;&quot; v:shape=&quot;_x0000_s1052&quot;&gt;     &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;Token&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;wait&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--[if !mso]--&gt;&lt;/td&gt;    &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;!--[if !mso &amp; !vml]--&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&amp;nbsp;&lt;!--[endif]--&gt;&lt;!--[if !vml]--&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;!--[endif]--&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;_x0000_s1051&quot; type=&quot;#_x0000_t202&quot;
 style=&#39;position:absolute;margin-left:-63pt;margin-top:27pt;width:1in;height:36pt;
 z-index:251633152;mso-position-horizontal:absolute;
 mso-position-horizontal-relative:text;mso-position-vertical:absolute;
 mso-position-vertical-relative:text&#39; o:allowincell=&quot;f&quot; stroked=&quot;f&quot;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;height: 52px; margin-left: -84px; margin-top: 36px; mso-ignore: vglayout; position: absolute; width: 100px; z-index: 251633152;&quot;&gt;  &lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td bgcolor=&quot;white&quot; height=&quot;52&quot; style=&quot;background: white; vertical-align: top;&quot; width=&quot;100&quot;&gt;&lt;!--[endif]--&gt;&lt;!--[if !mso]--&gt;&lt;span style=&quot;mso-ignore: vglayout; position: absolute; z-index: 251633152;&quot;&gt;   &lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;     &lt;td&gt;&lt;!--[endif]--&gt;     &lt;div class=&quot;shape&quot; style=&quot;padding: 3.6pt 7.2pt 3.6pt 7.2pt;&quot; v:shape=&quot;_x0000_s1051&quot;&gt;     &lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;Packets&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--[if !mso]--&gt;&lt;/td&gt;    &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;!--[if !mso &amp; !vml]--&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&amp;nbsp;&lt;!--[endif]--&gt;&lt;!--[if !vml]--&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;!--[if gte vml 1]&gt;&lt;v:line id=&quot;_x0000_s1055&quot; style=&#39;position:absolute;
 flip:x;z-index:251637248;mso-position-horizontal:absolute;
 mso-position-horizontal-relative:text;mso-position-vertical:absolute;
 mso-position-vertical-relative:text&#39; from=&quot;9pt,36pt&quot; to=&quot;27pt,36pt&quot;
 o:allowincell=&quot;f&quot;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;height: 2px; margin-left: 11px; margin-top: 47px; mso-ignore: vglayout; position: absolute; width: 26px; z-index: 251637248;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;img height=&quot;2&quot; src=&quot;file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtmlclip1/01/clip_image006.gif&quot; v:shapes=&quot;_x0000_s1055&quot; width=&quot;26&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;!--[if gte vml 1]&gt;&lt;v:line id=&quot;_x0000_s1054&quot;
 style=&#39;position:absolute;flip:x;z-index:251636224;mso-position-horizontal:absolute;
 mso-position-horizontal-relative:text;mso-position-vertical:absolute;
 mso-position-vertical-relative:text&#39; from=&quot;0,90pt&quot; to=&quot;27pt,90pt&quot;
 o:allowincell=&quot;f&quot;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;height: 2px; margin-left: -1px; margin-top: 119px; mso-ignore: vglayout; position: absolute; width: 38px; z-index: 251636224;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;img height=&quot;2&quot; src=&quot;file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtmlclip1/01/clip_image007.gif&quot; v:shapes=&quot;_x0000_s1054&quot; width=&quot;38&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;!--[if gte vml 1]&gt;&lt;v:line id=&quot;_x0000_s1053&quot;
 style=&#39;position:absolute;z-index:251635200;mso-position-horizontal:absolute;
 mso-position-horizontal-relative:text;mso-position-vertical:absolute;
 mso-position-vertical-relative:text&#39; from=&quot;81pt,36pt&quot; to=&quot;81pt,63pt&quot;
 o:allowincell=&quot;f&quot;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;height: 38px; margin-left: 107px; margin-top: 47px; mso-ignore: vglayout; position: absolute; width: 2px; z-index: 251635200;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;img height=&quot;38&quot; src=&quot;file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtmlclip1/01/clip_image008.gif&quot; v:shapes=&quot;_x0000_s1053&quot; width=&quot;2&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;!--[if gte vml 1]&gt;&lt;v:line id=&quot;_x0000_s1027&quot;
 style=&#39;position:absolute;z-index:251608576;mso-position-horizontal:absolute;
 mso-position-horizontal-relative:text;mso-position-vertical:absolute;
 mso-position-vertical-relative:text&#39; from=&quot;27pt,36pt&quot; to=&quot;81pt,36pt&quot;
 o:allowincell=&quot;f&quot;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;height: 2px; margin-left: 35px; margin-top: 47px; mso-ignore: vglayout; position: absolute; width: 74px; z-index: 251608576;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;img height=&quot;2&quot; src=&quot;file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtmlclip1/01/clip_image009.gif&quot; v:shapes=&quot;_x0000_s1027&quot; width=&quot;74&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;!--[if gte vml 1]&gt;&lt;v:line id=&quot;_x0000_s1028&quot;
 style=&#39;position:absolute;z-index:251609600;mso-position-horizontal:absolute;
 mso-position-horizontal-relative:text;mso-position-vertical:absolute;
 mso-position-vertical-relative:text&#39; from=&quot;81pt,63pt&quot; to=&quot;81pt,90pt&quot;
 o:allowincell=&quot;f&quot;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;height: 38px; margin-left: 107px; margin-top: 83px; mso-ignore: vglayout; position: absolute; width: 2px; z-index: 251609600;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;img height=&quot;38&quot; src=&quot;file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtmlclip1/01/clip_image008.gif&quot; v:shapes=&quot;_x0000_s1028&quot; width=&quot;2&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;!--[if gte vml 1]&gt;&lt;v:line id=&quot;_x0000_s1029&quot;
 style=&#39;position:absolute;flip:x;z-index:251610624;mso-position-horizontal:absolute;
 mso-position-horizontal-relative:text;mso-position-vertical:absolute;
 mso-position-vertical-relative:text&#39; from=&quot;27pt,90pt&quot; to=&quot;81pt,90pt&quot;
 o:allowincell=&quot;f&quot;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;height: 2px; margin-left: 35px; margin-top: 119px; mso-ignore: vglayout; position: absolute; width: 74px; z-index: 251610624;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;img height=&quot;2&quot; src=&quot;file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtmlclip1/01/clip_image009.gif&quot; v:shapes=&quot;_x0000_s1029&quot; width=&quot;74&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;!--[if gte vml 1]&gt;&lt;v:line id=&quot;_x0000_s1035&quot;
 style=&#39;position:absolute;z-index:251616768;mso-position-horizontal:absolute;
 mso-position-horizontal-relative:text;mso-position-vertical:absolute;
 mso-position-vertical-relative:text&#39; from=&quot;-1in,1in&quot; to=&quot;9pt,1in&quot;
 o:allowincell=&quot;f&quot;&gt;  &lt;v:stroke endarrow=&quot;block&quot;/&gt; &lt;/v:line&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=&quot;height: 12px; margin-left: -97px; margin-top: 90px; mso-ignore: vglayout; position: absolute; width: 111px; z-index: 251616768;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;img height=&quot;12&quot; src=&quot;file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtmlclip1/01/clip_image010.gif&quot; v:shapes=&quot;_x0000_s1035&quot; width=&quot;111&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;!--[if gte vml 1]&gt;&lt;v:line id=&quot;_x0000_s1032&quot;
 style=&#39;position:absolute;z-index:251613696;mso-position-horizontal:absolute;
 mso-position-horizontal-relative:text;mso-position-vertical:absolute;
 mso-position-vertical-relative:text&#39; from=&quot;162pt,0&quot; to=&quot;207pt,0&quot;
 o:allowincell=&quot;f&quot;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;span style=&quot;mso-ignore: vglayout; position: relative; z-index: 251613696;&quot;&gt;&lt;span style=&quot;height: 2px; left: 215px; position: absolute; top: -1px; width: 62px;&quot;&gt;&lt;img height=&quot;2&quot; src=&quot;file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtmlclip1/01/clip_image011.gif&quot; v:shapes=&quot;_x0000_s1032&quot; width=&quot;62&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:line id=&quot;_x0000_s1034&quot; style=&#39;position:absolute;
 z-index:251615744;mso-position-horizontal:absolute;
 mso-position-horizontal-relative:text;mso-position-vertical:absolute;
 mso-position-vertical-relative:text&#39; from=&quot;234pt,34.55pt&quot; to=&quot;333pt,34.55pt&quot;
 o:allowincell=&quot;f&quot;&gt;  &lt;v:stroke endarrow=&quot;block&quot;/&gt; &lt;/v:line&gt;&lt;v:shape id=&quot;_x0000_s1056&quot; type=&quot;#_x0000_t202&quot; style=&#39;position:absolute;
 margin-left:241.2pt;margin-top:4.8pt;width:1in;height:27pt;z-index:251638272;
 mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
 mso-position-vertical:absolute;mso-position-vertical-relative:text&#39;
 o:allowincell=&quot;f&quot; stroked=&quot;f&quot;&gt;  &lt;v:textbox&gt;   &lt;![if !mso]&gt;   &lt;table cellpadding=0 cellspacing=0 width=&quot;100%&quot;&gt;&lt;tr&gt;     &lt;td&gt;&lt;![endif]&gt;     &lt;div&gt;     &lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;To network&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;![if !mso]&gt;&lt;/td&gt;    &lt;/tr&gt;
&lt;/table&gt;&lt;![endif]&gt;&lt;/v:textbox&gt; &lt;/v:shape&gt;&lt;v:line id=&quot;_x0000_s1057&quot; style=&#39;position:absolute;z-index:251707904;
 mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
 mso-position-vertical:absolute;mso-position-vertical-relative:text&#39; from=&quot;82.8pt,34.55pt&quot;
 to=&quot;147.6pt,34.55pt&quot; o:allowincell=&quot;f&quot;&gt;  &lt;v:stroke endarrow=&quot;block&quot;/&gt; &lt;/v:line&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;  &lt;/div&gt;&lt;table align=&quot;left&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td height=&quot;6&quot; width=&quot;109&quot;&gt;&lt;/td&gt;   &lt;td width=&quot;90&quot;&gt;&lt;/td&gt;   &lt;td width=&quot;112&quot;&gt;&lt;/td&gt;   &lt;td width=&quot;135&quot;&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td height=&quot;36&quot;&gt;&lt;/td&gt;   &lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot; rowspan=&quot;2&quot; valign=&quot;top&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;img height=&quot;48&quot; src=&quot;file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtmlclip1/01/clip_image012.gif&quot; v:shapes=&quot;_x0000_s1034 _x0000_s1056&quot; width=&quot;135&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr&gt;   &lt;td height=&quot;12&quot;&gt;&lt;/td&gt;   &lt;td align=&quot;left&quot; valign=&quot;top&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;img height=&quot;12&quot; src=&quot;file:///C:/DOCUME~1/admin/LOCALS~1/Temp/msohtmlclip1/01/clip_image013.gif&quot; v:shapes=&quot;_x0000_s1057&quot; width=&quot;90&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&amp;nbsp;&lt;/a&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;br clear=&quot;ALL&quot; /&gt;  &lt;/a&gt;&lt;/span&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;As it shown above the new token are adding to the bucket at rate of r tokens/sec, the maximum token can be accumulated is b bytes. If the bucket is full, the incoming tokens will be thrown away. The Token Bucket(TB) profile&amp;nbsp; contains three parameters: an average rate, a peak rate, and burst size. Lets look at the meaning of these parameters:&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;Average rate:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot;&gt; The network may wish to limit the long-term average rate at which a flow’s packets can be sent into the network. The important point here is the interval of time over which the average rate will be policed.&amp;nbsp; For example; a flow which has 10000 packets/sec is more flexible than a flow which has 10 packets/msec. Even though both have the same average rate, their behaviors are different. The flow which has 10000 packets/sec can send 100 packets in a one msec long-term, but the flow which has 10 packets/msec cannot sent 100 packets in a one msec long-term. This is one of the important feature we should consider.&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;Peak rate: &lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot;&gt;Defines the maximum rate at which packets can be sent in short interval time. In above example; even though the flow’s long term average rate is 10000 packets/sec peak rate can be limited to 200 packets/msec. &lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;Burst size:&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot;&gt; Burst size is the maximum number of packets which can be transmitted extremely in a short interval time. In other word, when time interval approaches zero, the burst size limits the number of packets which can be transmitted to the network. when we don’t consider time interval as zero, burst size depends on&amp;nbsp; bucket depth b, and maximum speed of output link . We will clarify in the next section in more detail.&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;In any interval t&amp;nbsp; [S,S+t], let say in time S, and the number of tokens in the bucket are a(a&amp;lt;=b), and during time interval [S,S+t] the counter accumulate rt tokens more. The total number of tokens available for source to transmit packets is a+rt, (a+rt&amp;lt;=b+rt). When the bucket size is b and during interval time [S,S+t], b+rt tokens accumulated. In this case bucket gets empty by the maximum rate of output link. If we call maximum speed of output&amp;nbsp; &lt;i&gt;B. &lt;/i&gt;&amp;nbsp;The time which buckets gets empty b+rt=&lt;i&gt;B&lt;/i&gt;t&amp;nbsp; &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Wingdings; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-char-type: symbol; mso-hansi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-symbol-font-family: Wingdings;&quot;&gt;è&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt; t=b/(&lt;i&gt;B-&lt;/i&gt;r). Choosing all these parameters can be a bit tricky. One of the potential problem with token bucket is it allows burst again. If another burst come during this time interval, it cannot be handled, or in the case of bursts come very often the output speed will be maximum for the period of burst which can cause congestion. This problem can be reduced by carefully choosing parameters.&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;Essentially, the network has to simulate the algorithm and make sure that no more packets or bytes are being sent than are permitted. Depends on the agreements the excess packets can be dropped, remarked etc.&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;When we concern about delay and reliability, we could think some other aspects of the parameters. If we consider single flow, delay can be expressed as &lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;Delay=b/R+C/R +D&amp;nbsp; R is the maximum transmit rate of&amp;nbsp; output link, D is non-rate-dependent delay, C is the delay which depends on flow transmission rate. C and D are local parameters. The delay in node must be less than the above value[6].&amp;nbsp; The end-to-end delay for this flow is the sum of all the delay through the route.&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;The&amp;nbsp;&lt;b&gt;leaky bucket&lt;/b&gt;&amp;nbsp;is an&amp;nbsp;algorithm&amp;nbsp;used in&amp;nbsp;packet switched&amp;nbsp;computer networks&amp;nbsp;and&amp;nbsp;telecommunications networks&amp;nbsp;to check that&amp;nbsp;data transmissions&amp;nbsp;conform to defined limits on&amp;nbsp;bandwidth&amp;nbsp;and&amp;nbsp;burstiness&amp;nbsp;(a measure of the unevenness or variations in the&amp;nbsp;traffic&amp;nbsp;flow). The leaky bucket algorithm is also used in leaky bucket counters, e.g. to detect when the average or peak rate of&amp;nbsp;random&amp;nbsp;or&amp;nbsp;stochastic&amp;nbsp;events orstochastic processes&amp;nbsp;exceed defined limits.&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;The Leaky Bucket Algorithm is based on an&amp;nbsp;analogy&amp;nbsp;of a&amp;nbsp;bucket&amp;nbsp;(figure 1) that has a hole in the bottom through which any water it contains will leak away at a constant rate, until or unless it is empty. Water can be added intermittently, i.e. in bursts, but if too much is added at once, or it is added at too high an average rate, the water will exceed the&amp;nbsp;capacity&amp;nbsp;of the bucket, which will overflow.&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1450461718&quot;&gt;There are actually two different methods of applying this analogy described in the literature&amp;nbsp;. These give what appear to be two different algorithms, both of which are referred to as the leaky bucket algorithm. This has resulted in confusion about what the leaky bucket algorithm is and what its properties are.&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;In one version&amp;nbsp;, the analogue of the bucket is a counter or variable, separate from the flow of traffic, and is used only to check that traffic conforms to the limits, i.e. the analogue of the water is brought to the bucket by the traffic and added to it so that the level of water in the bucket indicates conformance to the rate and burstiness limits. This version is referred to here as the leaky bucket as a meter. In the second version&amp;nbsp;&lt;sup class=&quot;reference&quot; id=&quot;cite_ref-Tanenbaum-lbaq_1-1&quot; style=&quot;font-style: normal; line-height: 1em;&quot;&gt;&lt;span&gt;[&lt;/span&gt;2&lt;span&gt;]&lt;/span&gt;&lt;/sup&gt;, the traffic passes through a queue that is the analogue of the bucket, i.e. the traffic is the analogue of the water passing through the bucket. This version is referred to here as the leaky bucket as a queue. The leaky bucket as a meter is equivalent to (a mirror image of) the&amp;nbsp;token bucket&amp;nbsp;algorithm, and given the same parameters will see the same traffic as conforming or nonconforming. The leaky bucket as a queue can be seen as a special case of the leaky bucket as a meter&amp;nbsp;.&lt;/div&gt;&lt;div style=&quot;font-family: &#39;Times New Roman&#39;; font-size: medium; font-weight: normal;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ignoucab.blogspot.com/feeds/3702469973648171162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ignoucab.blogspot.com/2011/01/ignou-mca-4th-semester.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/3702469973648171162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4594220639853153301/posts/default/3702469973648171162'/><link rel='alternate' type='text/html' href='http://ignoucab.blogspot.com/2011/01/ignou-mca-4th-semester.html' title='IGNOU MCA 4th Semester'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>