Question: 1 . ( 1 0 pts . ) Using IEEE 7 5 4 floating point representation for 3 2 - bit floating point values, match

1.(10 pts.) Using IEEE 754 floating point representation for 32-bit floating point values, match the following floating-point values with their binary representation:
2.(10 pts .) Consider the following C program. Assume that all functions complete successfully. Complete the Process Model, given that the process id's (pids) are as shown for each process created. Fill in the boxes for each variable, p1 and p2, showing their final values in each process.
```
int main()
{
int p1=1, p2=2;
p1= fork();
if (p1>0) p2= fork();
if (p1+p2) pxintf("A");
fflush (atdsut);
if (p1+p2){
wait(NULL); wait(NULL); }
Brintf("B");
fflush(atdsuts);
if (p2> p1) pxindf("C");
fflush(atdsut);
return 0;
}
```
Which of the following are possible outputs?
(Circle all that apply)
a. ABCABABC
b. ABCCBAAB
c. ABABCABC
d. AAABBBCC
e. ABCBCAAB
Write a single command to kill all three processes shown in the Process Model:
1 . ( 1 0 pts . ) Using IEEE 7 5 4 floating point

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!