Determining race condition in protocol

Assignment Help Operating System
Reference no: EM1351353

Q1) What is thr race condition in this protocol?

1-insert debit card into debit machine
2-debitcard machine determine current value of card in dollars which is stored in value x
3-user insert dollars into debit card machine ,and the value of inserted dollars vstored in value y
4-user press enter
5- machine write value x+y

where is race condition? how an attack might exploite it? how to modify this protocol to prevent or make race condition difficult.

Reference no: EM1351353

Questions Cloud

Elucidate why insurance companies often include deductibles : Use your knowledge of the problems associated with asymmetric information to elucidate why insurance companies often include deductibles as part of their policies.
Construct a bond amortization table : Watson Bottle Corporation sold $400,000 in long-term bonds for $351,040. The bonds will mature in ten years and have a stated interest rate of 8% and a yield rate of 10 percent.
What velocity would a proton need to circle earth : What temperature change would cause a 0.10 percent increase in the volume of a quantity of water that was initially at 20 degrees celsius.
Question about food and beverage management : What recent trends have affected the food and beverage industry and What implications have these had on food and beverage operations? How have managers adjusted to meet these demands?
Determining race condition in protocol : What is race condition in this protocol?debitcard machine determine current value of card in dollars which is stored in value x.
Find the stock price at the end of three years : Suppose you are planning an investment in the common stock of Crisp's Cookware. The stock is expected to pay a dividend of $2 a share at the end of the year (D1 = $2.00).
Compute the opportunity costs of going to each concert : Compute the opportunity costs of going to each concert. Based on the Cost-Benefit Principle, which concert is the best choice.
Improve team performance : Under what conditions are these different types of teams most likely to be successful and why is leadership more difficult in cross-functional teams than in traditional functional teams?
Write pseudocode and flowchart for program : Write pseudocode and flowchart for program that will prompt the user for a number, prompt the user for an operator (+,-,*,/).

Reviews

Write a Review

Operating System Questions & Answers

  Use of the ipc facilities provided by unix

The purpose of this program is to change such that it makes use of the IPC facilities provided by UNIX.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Explaining cpu midway through the disk-service routine

CPU with interrupt-driven I/O is busy servicing  disk request. While CPU is midway through the disk-service routine, another I/O interrupt occurs. What occurs next?

  Give three advantages of virtual machine

In different communications models, communication may take place using either "message passing" or "shared memory". Distinguish between "message passing" and "shared memory", illustrating your answer with a diagram Give three advantages of virt..

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

  Describe three solutions to critical section problem

Describe three solutions to critical section problem Explain the different methods used to handle deadlocks Distinguish between "No preemption" and "circular wait" in deadlocks prevention

  Explain the client-server architecture

What are the three different categories of command, support your answer by giving three examples. Give three good reasons, with valid explanation, to justify why partitioning hard disk provides a variety of advantages. Explain the client/server..

  Give three technical merits of unix

Give three technical merits of UNIX b) Differentiate between "clustered systems" and "real-time systems". c) Describe the purpose of using "trust relationship"

  Define critical path and cpm

Define Critical Path and CPM. Define Networks & Network scheduling

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  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.

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