a Describe in your own words what is meant by data sharing h

a) Describe, in your own words, what is meant by data sharing hazards and give an example not given in the text.

b) Describe, in your own words, how one could go about protecting data that is shared between multiple tasks.

c) Describe, in your own words, what is meant by mutexes and give an example not given in the text.

Solution

a)Data sharing hazards mean the problems that can arise by sharing the data with many people.An example is if manager and employees and share the data and the employees misuse the data without his notice which can lead to data theft and misuse leading to a hazard.

b)The data can be protected by encrypting the data that travels between the tasks and decrypting it with a key..The data can be decrypted by the key only known for one task while the keys remains unidentified for the other task

c)Mutex stands for mutual exclusion object which is defined as a program object that is created so that multiple program thread can take turns sharing the same resource, such as access to a file.The example is to access a file and all threads cannot get the same resource once.A lock is kept on the thread when it is processed.when the lock is lifted another trhead is processed and can access the resource.

a) Describe, in your own words, what is meant by data sharing hazards and give an example not given in the text. b) Describe, in your own words, how one could g

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site