1 Repeat The Previous Exercise In Ada 2 Given Two Processes P And Q And A Semaphore 2110649

1. Repeat the previous exercise in Ada.

2. Given two processes p and q, and a semaphore S initialized to 1, suppose p and q make the

 following calls:

Describe what will happen for all possible orders of these operations on S.