Explain what is a process

Assignment Help Computer Engineering
Reference no: EM132117121

Question 1. Consider the following system,

A group diary and time management system is intended to support the timetabling of meetings and appointments across a group of co-workers.

When an appointment is to be made that involves a number of people, the system finds a common slot in each of their diaries and arranges the appointment for that time. If no common slots are available, it interacts with the user to rearrange his or her personal diary to make room for the appointment.

Determine whether the Publisher-Subscriber design pattern can be applied in this design. Explain your answer clearly. If the answer is yes, identify which classes are suitable for the publisher role and which ones are suitable for the subscriber role. Explain your choices, list the events generated by the Publishers, and state explicitly for each Subscriber to which events it is subscribed to.

Question 2. Consider you are designing the following system,

A filling station (gas station) is to be set up for fully automated operation. Drivers swipe their credit card through a reader connected to the pump; the card is verified by communication with a credit company computer, and a fuel limit is established. The driver may then take the fuel required. When fuel delivery is complete and the pump hose is returned to its holster, the driver's credit card account is debited with the cost of the fuel taken. The credit card is returned after debiting. If the card is invalid, the pump returns it before fuel is dispensed.

Determine what design pattern(s) is/are to be applied in the system. Explain your choice(s) clearly.

Question 3. Explain what is a process? what is a thread? Is multithreading faster than single thread? Give an example to support your answer.

Question 4.Recall a merge sort algorithm sorting an array by recursive calls. Write a program that merge-sort an array by recursively creating threads.

Hint: make MergeSort a thread that create child thread recursively. If you reference code from others work, it must be cited. No copy-paste is allowed.

Reference no: EM132117121

Questions Cloud

How do you draw the erd : Georgia Gwinnett College opened on August 18, 2006 as one of the nation's first four-year public college founded in the 21st century.
If the fed decides to sell treasury securities : If the Fed decides to sell Treasury securities, does the money supply increase, decrease, or remain unchanged? Explain why
Will the following command sort the file on the group name : The file contains three columns of information : username, uid number and group name respectively, separated by a field separator.
Capital budgeting decision : Sunk costs are associated with past expenditures and are therefore relevant to the capital budgeting decision. Can this statement be true?
Explain what is a process : A group diary and time management system is intended to support the timetabling of meetings and appointments across a group of co-workers.
What is the value of his account after making : What is the value of his account after making the fifth deposit?
What is the amount of the pretax profit on the sale : The firm no longer uses this property so is selling it today at a price of $13,500. What is the amount of the pretax profit on the sale?
How many firewalls should protect the application : What considerations and methods can be used to ensure easy downloading and reading of the encrypted documents while minimizing the risk of compromise?
Which command could you type to see your current user : You log in as different users from time to time. Which command could you type to see your current user identity?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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