Assignment Type
Subject
Uploaded by Malaysia Assignment Help
Date
Part A – Unix Multiprocessing
You are require to create a fork program in C programming language. You are free to create as many as you need for child of this program. You are free to create parrent message and interupt message.
a) Write a program can fork into parent to childs using pipe.
b) If interupt from keyboard multiple Childs and there are message passing from issue, then the program must have interrupt
Part B – C Socket Programming
You are require to create client-server program in C programming language for random number. You may choose either tcp or udp transmission protocol. a) Write the server program to pass one random number range between 100 – 999.
b) Write the client program to retrieve random number from server.
Part C – Python Socket Programming
You are require to create client-server program in Python programming language for prime number. You may choose either tcp or udp transmission protocol. L8 a) Write the server program to check prime number.
b) Write the client program to get input of range number. ?.
Part D – Python Parallel Programming
2 You are require to write a multithreading program in Python. All threads must in a single program but in different classes. The program must process four threads:
a)print number of Pi from one decimal place to 1,000,000 decimal places.
b)print Fibonacci series from 1 to 1,000,000. ?.
c)print square numbers from 1 to 1,000,000. ?.
d)print cubes of number from 1 to 1,000,000.