Question no1consider a scenario of post mailbox there are

Assignment Help Operating System
Reference no: EM13375134

Question No.1:

Consider a scenario of post mailbox, there are two processes named sender S and receiver R. Both processes can communicate with each other by name along with message. You need to Identify what type of IPC is this?

Write the send and receive primitives for stated processes.

Identify at least three properties of communication channel or link in this scheme.

Question No.2:

Considering the performance of FCFS scheduling algorithm for three CPU bound processes, calculate the followings, If process P1 takes 19 seconds, P2 takes 23 seconds and P3 takes 8 seconds and processes arrive in order P1, P2 and P3:

a) Turnaround Time per process
b) Average Turnaround time of processes
c) Average waiting time of processes and identify either convey effect occurs or not.

Question No.3:

Using C programming language, write a program that uses the pthread library to create two threads and display certain messages. Messages must have following words and sequence:

First thread in process: My VU student ID is BC123456
Thread created
Second thread is in process: My Subject Code is CS604
Thread Created
(code:4 marks, compile and execute command on Ubuntu:2 marks and correct output:4 marks)

Note for Question No.3:

1) Do not write your program in other languages like Java, C++ etc. Write your program only in C language.

2) Do not execute your program in other operating systems like Windows, Mac etc. Execute your program only in Linux Ubuntu flavor.

3) You should provide three screen shots. Required three screen shots are given below.

I) Screen shots of your complete program that you write in C. Your screen shots should display your complete program code that you write in C.

II) Screen shot of Commands that you used to compile and run your program in Linux Ubuntu.

III) Screen shot of final output of your program shown.

4) In first line each student should display his own complete VU student ID and not the VU student ID of any other student.

Reference no: EM13375134

Questions Cloud

Terry marks is a well-known architectnbsp he wants to start : terry marks is a well-known architect.nbsp he wants to start his own business and convinces rob norris his cousin and a
The taxpayer exchanges property in 2010 with a fair market : the taxpayer exchanges property in 2010 with a fair market value of 5500000 that has a basis of 750000. the property is
Complete the following tasks and formats 1 open the final : complete the following tasks and formats 1. open the final assignment data file and save the workbook as final
Describe the structure and operations of the foreign : describe the structure and operations of the foreign exchange markets and discuss common techniques used to manage
Question no1consider a scenario of post mailbox there are : question no.1consider a scenario of post mailbox there are two processes named sender s and receiver r. both processes
I firms often face the problem of allocating an input in : i firms often face the problem of allocating an input in fixed supply among different products. nbspfind the optimal
Question 1 a gantt chart represents mainlyanswer an : question 1 a gantt chart represents mainlyanswer an immediate identification of predecessor task. a record-keeping
1 complete the following tables using hexadecimalnbsp : 1. complete the following tables using hexadecimalnbsp numbers only
Define scarcity and opportunity cost what role these two : define scarcity and opportunity cost. what role these two concepts play in the making of business decisions?a what is

Reviews

Write a Review

Operating System Questions & Answers

  Format of a memory address

Assume that a computer using a set associative cache has 2^16 words of main memory and a cache of thirty-two blocks, where each cache block contains eight words.

  Question about throughput and capacity

Throughput and capacity are determining factors for effectiveness of a system more so than processor speed?

  What is file system reliability

What is file system reliability and explain the roles of error handling, back up, and file checker methods in supporting the file system reliability?

  Drawbacks and benefits of a peer to peer network

Describe to Champions the drawbacks and benefits of a peer-to-peer network. What can be shared between hosts?

  Validating the option code field during data entry

The systems reviewer are constructing the test plans for the user interface for the Holloway Travel Vehicles system.

  Value of semaphore before entering into critical section

Give a solution using Monitor that is starvation-free. What would be value of semaphore before entering into Critical Section and after leaving it.

  Identity top level objects of the microwave

Construct a table with the following four column headings, Top Level Objects, Communicates With, Incoming Messages, and Outgoing Messages and Identity top level objects of the microwave.

  Compute average memory access time

Compute Average Memory Access Time under a variety of memory system configurations and workload assumptions

  Wireless internet security

Millions of American homes are prepared with wireless networks. Suppose if the network is not made secure, any nearby computer with a wireless card can use network.

  Management information systems

Analyze and apply the content from a minimum of 3-recent articles about a topic of interest covered in the module.

  Relational database architecture from a network

Determine what would make a corporation or organization migrate to a relational database architecture from a network or hierarchical architecture?

  Design and implement the removeuser.sh script

Packs all files (not just those in the user's home directory) belonging to into single compressed archive named

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd