2022-03-08

Mar 9 In-Class Exercise.

Please post your solution to the Mar 9 In-Class Exercise to this thread.
Best,
Chris
Please post your solution to the Mar 9 In-Class Exercise to this thread. Best, Chris
2022-03-09

-- Mar 9 In-Class Exercise
Resource Description for 274982644_490643915856559_3370906447623144101_n.jpg
Worked with Nimesh
(Edited: 2022-03-09)
((resource:274982644_490643915856559_3370906447623144101_n.jpg|Resource Description for 274982644_490643915856559_3370906447623144101_n.jpg)) Worked with Nimesh

-- Mar 9 In-Class Exercise
Resource Description for WhatsApp Image 2022-03-09 at 5.04.56 PM.jpeg
Teammate: Thomas
(Edited: 2022-03-09)
((resource:WhatsApp Image 2022-03-09 at 5.04.56 PM.jpeg|Resource Description for WhatsApp Image 2022-03-09 at 5.04.56 PM.jpeg)) Teammate: Thomas

-- Mar 9 In-Class Exercise
Resource Description for Screenshot (28).png
((resource:Screenshot (28).png|Resource Description for Screenshot (28).png))

-- Mar 9 In-Class Exercise
Resource Description for WhatsApp Image 2022-03-09 at 5.18.53 PM.jpeg
((resource:WhatsApp Image 2022-03-09 at 5.18.53 PM.jpeg|Resource Description for WhatsApp Image 2022-03-09 at 5.18.53 PM.jpeg))

-- Mar 9 In-Class Exercise
Aditya Singhania, Michael NguyenResource Description for 62295344838a76ece2406638.png
Aditya Singhania, Michael Nguyen((resource:62295344838a76ece2406638.png|Resource Description for 62295344838a76ece2406638.png))

-- Mar 9 In-Class Exercise
Carried out the in class exercise with Ayan Singh Resource Description for IMG_1.jpg Resource Description for IMG_2.jpg
(Edited: 2022-03-09)
Carried out the in class exercise with Ayan Singh ((resource:IMG_1.jpg|Resource Description for IMG_1.jpg)) ((resource:IMG_2.jpg|Resource Description for IMG_2.jpg))

-- Mar 9 In-Class Exercise
Simulation with Rishabh Pandey and Abhishek Vaid
Ts(i) = Timestep i
Ts(1): P[0] scans/locks C[0]
Ts(2): P[0] reads (t[0], R[0]) = (0, 0)
Ts(3): P[0] reaches case e (T[0] = t[0], R[0] = 0, B[0] = 0); P[1] scans/locks C[1]
Ts(4): P[0] sets T[0] = 1, t[0] = 1, B[0] = 0 (by random assignment); P[1] reads (t[1], R[1]) = (0, 0)
Ts(5): P[0] writes (1, 0) into C[0]; P[1] reaches case e (T[1] = t[1], R[1] = 0, B[1] = 0)
Ts(6): P[0] releases lock on C[0]; P[1] sets T[1] = 1, t[1] = 1, B[1] = 1 (by random assignment)
Ts(7): P[0] waits on C[1]; P[1] writes (1,1) into C[1]
Ts(8): P[0] waits on C[1]; P[1] releases lock on C[1]
Ts(9): P[0] waits on C[1]; P[1] scans/locks C[0]
Ts(10): P[0] scans/locks C[1]; P[1] reads (t[1], R[1]) = (1, 0)
Ts(11): P[0] reads (t[0], R[0]) = (1, 1); P[1] reaches case d (T[1] = t[1], R[1] = 0, B[1] = 1)
Ts(12): P[0] reaches case e (T[0] = t[0], R[0] = 1, B[0] = 0); P[1] writes (1, #) into C[0]
Ts(13): P[0] sets T[0] = 2, t[0] = 2, B[0] = 0 (by random assignment); P[1] releases lock on C[0]
Ts(14): P[0] writes (2, 0) into C[1]; P[1] halts
Ts(15): P[0] releases lock on C[1]
Ts(16): P[0] scans/locks C[0]
Ts(17): P[0] reads (t[0], R[0]) = (1, #)
Ts(18): P[0] reaches case a (R[0] = #)
Ts(19): P[0] releases lock on C[0]
Ts(20): P[0] halts
Simulation with Rishabh Pandey and Abhishek Vaid Ts(i) = Timestep i Ts(1): P[0] scans/locks C[0] Ts(2): P[0] reads (t[0], R[0]) = (0, 0) Ts(3): P[0] reaches case e (T[0] = t[0], R[0] = 0, B[0] = 0); P[1] scans/locks C[1] Ts(4): P[0] sets T[0] = 1, t[0] = 1, B[0] = 0 (by random assignment); P[1] reads (t[1], R[1]) = (0, 0) Ts(5): P[0] writes (1, 0) into C[0]; P[1] reaches case e (T[1] = t[1], R[1] = 0, B[1] = 0) Ts(6): P[0] releases lock on C[0]; P[1] sets T[1] = 1, t[1] = 1, B[1] = 1 (by random assignment) Ts(7): P[0] waits on C[1]; P[1] writes (1,1) into C[1] Ts(8): P[0] waits on C[1]; P[1] releases lock on C[1] Ts(9): P[0] waits on C[1]; P[1] scans/locks C[0] Ts(10): P[0] scans/locks C[1]; P[1] reads (t[1], R[1]) = (1, 0) Ts(11): P[0] reads (t[0], R[0]) = (1, 1); P[1] reaches case d (T[1] = t[1], R[1] = 0, B[1] = 1) Ts(12): P[0] reaches case e (T[0] = t[0], R[0] = 1, B[0] = 0); P[1] writes (1, #) into C[0] Ts(13): P[0] sets T[0] = 2, t[0] = 2, B[0] = 0 (by random assignment); P[1] releases lock on C[0] Ts(14): P[0] writes (2, 0) into C[1]; P[1] halts Ts(15): P[0] releases lock on C[1] Ts(16): P[0] scans/locks C[0] Ts(17): P[0] reads (t[0], R[0]) = (1, #) Ts(18): P[0] reaches case a (R[0] = #) Ts(19): P[0] releases lock on C[0] Ts(20): P[0] halts

-- Mar 9 In-Class Exercise
With Jatin Battu
Resource Description for 255_ex.jpeg
With Jatin Battu ((resource:255_ex.jpeg|Resource Description for 255_ex.jpeg))
2022-03-12

-- Mar 9 In-Class Exercise
Submission by Pradeep Narayana and Manasa Mananjaya
Resource Description for 4. Asynchronous CCP.jpg
'''Submission by Pradeep Narayana and Manasa Mananjaya''' ((resource:4. Asynchronous CCP.jpg|Resource Description for 4. Asynchronous CCP.jpg))
[ Next ]
X