Os Lab - Terminal Exam - Spring 2021
Os Lab - Terminal Exam - Spring 2021
18 K
180 K
Example Table:
Suppose your roll number is 023, Consider the above table will be filled as:
18 K
23
23 *10=230
100 K
32 +13=45
32 +500=532
180 K
32 *10=320
Question #03 (a): (7 Marks)
Write a code which creates two processes:
1. Parent process takes a number and calculates whether its prime number or not.
2. Child process calculates the sum of odd numbers and even numbers of an array.
Note: Also paste code and screenshots for code and output here.
--------------------------------------Good Luck---------------------------------