0% found this document useful (0 votes)
42 views1 page

OS UNIX Exercises-5 v1.0

This document outlines 4 practice problems for a UNIX core skills module on problem solving: 1) Create a TCP client-server application using stream sockets. 2) Write programs to write and read from a message queue using a specified structure. 3) Compare throughput of adding 2 million integers with and without multithreading. 4) Implement matrix multiplication with and without threading to validate results and identify threading advantages. It also provides a reference book for UNIX concepts and applications.

Uploaded by

Deepak Kr Singh
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views1 page

OS UNIX Exercises-5 v1.0

This document outlines 4 practice problems for a UNIX core skills module on problem solving: 1) Create a TCP client-server application using stream sockets. 2) Write programs to write and read from a message queue using a specified structure. 3) Compare throughput of adding 2 million integers with and without multithreading. 4) Implement matrix multiplication with and without threading to validate results and identify threading advantages. It also provides a reference book for UNIX concepts and applications.

Uploaded by

Deepak Kr Singh
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Course: Core Skills Module: Problem Solving Topic: UNIX - Advanced Associate Supporting Materials Practice Set 1.

Write a simple tcp client server application. Use stream sockets. You have to write two separate programs (i) server code (ii) client code. 2. Write two programs. One program will write into the message queue. Another program will read rom the message queue. Use the ollowing structure or reading and writing! "atch #o! $mplo%ee &'! #ame! #ative (lace! ). You have to per orm addition o 2** integers. O+serve the di erence in throughput i %ou use multithreading to do the same operation. ,. Use threading or multiplication o square matrices. -alidate %our result +% writing a code without threading. What is the advantage o using threading. /. &mplement multithreaded 01( server. 2. &mplement question 2 using shared memor%. e!erences: "ooks: 1. UNIX Concepts & Applications, Sumitabha Das

You might also like