OS Lab Simulations 1 & 2 shell scripts 3 a, b, c, d, e -> simulations 5 a -> parent shd create child b -> both parent child processes display their pid and parents pid; parent process shd display its child's pid c -> system calls(file manipulation) d -> read and write to another file 6 a -> producer consumer b -> n odd nos using shared memory 7 a -> fibonacci numbers using shared memory b -> range of prime numbers using shm 8 a -> 2 threads to compute sum and product b -> FCFS 9 a -> SJF non pre b -> SJF preemptive 10 a -> priority non preemptive b -> priority preemptive 11 a -> round robin 12 a -> producer-consumer b -> readers-writers