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

  What is the os? what are the machines?

What is the OS? What are the machines?

  Solving hipaa privacy issues

Suppose if we learned anything from Katrina and Joplin, paper records are susceptible to loss en masse. Can you assume having 50,000 paper records blown for miles across Joplin and trying to recreate those records later

  Schedule for shortest-job-first and roundrobin algorithms

Process 2 has total of 20 units of work to perform. This process arrives just behind P1. Illustrate the resulting schedule for shortest-job-first (preemptive) and roundrobin algorithms.

  Traverse queue and print out contents of the structs

Enqueue at least three structs, traverse the queue and print out the contents of the structs, then dequeue each item separately and print its contents as it is dequeued.

  What operating system use to edit audio and video clips

Design and edit audio and video clips for school projects. What operating system must library consider for this facility? Explain why?

  What are the four types of corporations what makes each

what are the four types of corporations? what makes each corporation different? what are advantages and disadvantages

  Many commands to complete basic functions

Unix is a command line interface it uses many commands to complete basic functions. When I think about the command line interface it takes me back to MS-DOS. Discuss 2-3 similarities or differences you see in the two interfaces

  What is the internal data that allows the os to superwise

What is the internal data that allows the operating system to supervise and control the process? Be specific about what it includes.

  Personal or home use of linux

The paper shall only address business requirements and concerns, not personal or home use of Linux.

  Creating hipo charts and decision tables

Now that you have a program design and a selected programming language for your assignment, you can start looking at the logical flow of the processes within your program and the data that is input,

  Point to point and end to end security models

Argue differences in point to point and end to end security models and security problems they address. Are they redundant?

  Automatic or traditional method to open a file

Some systems automatically open a document when it is referenced for the 1st time and close the file when the job terminates.

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