Question: Consider the two - bit machine presented in class. The machine has two bits of state information, HIGH and LOW ( for high and low

Consider the two-bit machine presented in class. The machine has two bits of state information, HIGH and LOW (for high and low classifications, respectively). The machine has two commands, xor0 and xor1, which exclusive-or both bits with 0 and 1, respectively. There are two users: Holly (who can read high and low information) and Lucy (who can read only low information). The system keeps two bits of state (HIGH; LOW).
Let the set of states ={(0; 0); (0; 1); (1; 0); (1; 1)}, the set of subjects S ={Holly; Lucy},
and the set of possible commands C ={xor0; xor1}. Let the initial system state 0=(0; 1). Suppose Lucy applies the command xor0, then Holly the command xor0, then Holly the command xor0, and finally Lucy the command xor1.
Assuming a command affects both the HIGH and LOW bits, give the values of (For parts (a)(h), xor0 performs an XOR of 0 across both bits, and xor1 performs an XOR of 1 across both bits.):
proj(Holly; cs; 0)
proj(Lucy; cs; 0)
Lucy(cs)
Holly(cs)
Lucy, xor0(cs)
Holly, xor0(cs)
Holly, xor1(cs)
xor1(cs)
Now, assuming a command affects only the bit at the level of the user, give the values of (For parts (i)(p), xor0 performs an XOR of 0 on the corresponding bit of the users level only, and xor1 performs an XOR of 1 on the corresponding bit of the users level only.):
proj(Holly; cs; 0)
proj(Lucy; cs; 0)
Lucy(cs)
Holly(cs)
Lucy, xor0(cs)
Holly, xor0(cs)
Holly, xor1(cs)
xor1(cs)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!