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.

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

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

  Deadlock avoidance and scheduling

Deadlock Avoidance and Scheduling

  Implement the parser in two iterations

Implement the parser in a separate file. Implement the main parser function in a separate file main.c

  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.

  Deadlock avoidance

i. Deadlock avoidance ii. Deadlock prevention and  iii. Deadlock detection

  Formulate the above in terms of a linear programming problem

Formulate the above in terms of a Linear Programming problem Solve this linear program graphically. Determine the quantity of each type of toaster that will maximise the maximum profit

  Explain the concepts of consumable and reusable resources

Explain the concepts of consumable and reusable resources

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  What is the main advantage of multiprogramming

What is the main advantage of multiprogramming How does the distinction between the monitor mode and user mode function as a rudimentary form of protection (security) system What is the difference between a trap and an interrupt? What is the u..

  Create your own shell

The premise of Project 2 is to create your own shell. Your shell will be launchable from a terminal window and act similar to the existing shell.

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