Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 671 Bytes

File metadata and controls

14 lines (8 loc) · 671 Bytes

Concurrency

VACCINE DISTRIBUTION

Q2 is implemented using threads and mutex locks.

Program that distributes vaccines in a college taking input as no.of companies producing vaccines,probability of success of vaccine, no.of students and no.of zones and distributes vaccines to students along with antibody test. If antibody test turns out negative more than 3 times they are sent home.

STAGE ALLOCATION

Q3 is implemented using semaphores and mutex locks.

Program that allocates acoustic and electric stages to singers and musicians who play different instruments and also distributes t-shirts as pay.

Go through respective markdown files for further explanation.