When a customer buys an item from the store

Assignment Help Operating System
Reference no: EM13894380

1) When a customer buys an item (or several) from the store, several changes to database tables will occur. Explain what those might be.

2) The owner of the antique store doesn't want to train his people in SQL, or to teach them about all the tables in the database. He asks you to write a program that will take sales information, and then make all the changes automatically, including whatever error checking may be necessary. The clerk will enter a customer phone number (assume this is used as the Customer ID primary key in the Customer
table), an item ID (from a tag on the item), and the sale price.

In pseudo code, outline how your program would record a sale. Show how you would use a transaction to insure the integrity of the database updates. Also, explain the error checking (such as verifying that the customer is already in the database) you would perform in your program, and how your program would recover from problems such as:

• The customer is not in the database.

• The item number is not in the database.

• The item is already sold.

3)  When an item is sold, should the item row be removed from the Items table? Why or why not?

4)  What transaction isolation level should apply to this application? Why do you make this choice?

Reference no: EM13894380

Questions Cloud

Identify three uses for a frequency distribution : 1. Identify three uses for a frequency distribution. Please provide realistic health related examples.
Should software be copyrightable : Should software be copyrightable or patentable? Ignoring the law for the moment, argue the question from the Kantian, Utilitarian, and Social Contract Theory perspectives.
Advise hamid if this contract with speed connect is valid : Hamid is a refugee from Afghanistan who was recently released from the detention centre in PNG and is currently living in Adelaide. Advise Hamid if this contract with Speed Connect is valid? Can he get out of this contract
Develop a wbs for the process for recovering your computer : Develop a WBS for the process for recovering your computer. Estimate the time it will take you to perform each task.
When a customer buys an item from the store : When a customer buys an item (or several) from the store, several changes to database tables will occur. Explain what those might be.
Situations when company tend to adopt assimilation strategy : In which situations do companies tend to adopt assimilation strategy normally and assimilation is one of the main strategies that can be used in merging organizational cultures.
Question regarding the statistical power of the study : Suppose the effect size of your research study is very large. What does this tell you about your results? If you were not able to reject the null hypothesis and determined that the statistical power of the study was low, what could you do to incre..
What is the single most important task for users on a system : What is the single most important task for users on a systems development project? Do you agree? Why or why not? Why must requirements emerge as a result of a conversation between users and IT professionals?
Which group decision-making technique do you recommend : The top management team members are all extroverts who are not afraid to speak up at meetings, but they are often prone to conventional thinking. Which group decision-making technique do you recommend? Explain your reasoning, and use references to..

Reviews

Write a Review

Operating System Questions & Answers

  Implementation of the electronic medical record

Explain how the effectiveness the implementation of the electronic medical record change will be determined once implemented.

  Creating er diagram

Construct a table for consumer. The manager tells me that this table needs to track the following data: all consumers' social security number, first and last name, address, city,

  Clusters can implemented by leveraging many operating system

Clusters can be implemented by leveraging many operating systems and applications. In a report of 1-2 pages, complete the following: Identify an operating system and application combination, and discuss at least 2 cluster implementation models suppo..

  Roles of network managers

In Many development companies and universities network managers must oversee a network that has several computers connected to it that are used through developers for design and product development reason.

  Identify a unique type of file in windows or linux

Identify a unique type of file in Windows or Linux with which you are familiar. Suggest the key factors that in your opinion make this a unique type of file

  Optimal page replacement strategy

What is minimum number of page faults for the optimal page replacement strategy? Please show how the page is placed and how page faults occur.

  Build an os catalogue

Build an OS catalogue where you will list the categories of OS by each criterion, and will list at least two examples of actual OSs in each category. Provide the reference for same.

  Software faults - windows xp

Analysis shows that there are about five faults per 1000 lines of code in carefully made programs, which means that one million lines of codes will have 5000 faults.

  Explain significane of the operating system

What is the significane of the operating system (OS)? What reasons would the computer user have to change from one OS to another?

  Advantages and disadvantages of the use of mainframes

What are the advantages and disadvantages of the use of mainframes? In what type of organizations would they be most likely to be implemented

  How to hadle users into groups using scopes in windows

Based on Active Directory proposal you completed, how to hadle users into groups using scopes available in Windows.

  Switching elements in nxn banyan network

A stage of n x n banyan network consists of (n/2) 2x2 switching elements. 1st stage directs packets to the correct half of the network.

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