Describe how that transaction would be performed

Assignment Help Other Subject
Reference no: EM132688613

Assignment: 1. (a) In an environment in which several users share access to a single database, can one user ever block another's access for an unlimited period of time? (This situation is called indefinite postponement.)

(b) Describe a scenario in which two users could cause the indefinite postponement of each other.

(c) Describe a scenario in which a single user could cause the indefinite postponement of all users.

2. Using the two-step commit presented in the beginning of this chapter, describe how to avoid assigning one seat to two people, as in the airline example. That is, list precisely which steps the database manager should follow in assigning passengers to seats.

3. Suppose a database manager were to allow nesting of one transaction inside another. That is, after having updated part of one record, the DBMS would allow you to select another record, update it, and then perform further updates on the first record. What effect would nesting have on the integrity of a database? Suggest a mechanism by which nesting could be allowed.

4. Can a database contain two identical records without a negative effect on the integrity of the database? Why or why not?

5. Some operating systems perform buffered I/O. In this scheme, an output request is accepted from a user and the user is informed of the normal I/O completion. However, the actual physical write operation is performed later, at a time convenient to the operating system. Discuss the effect of buffered I/O on integrity in a DBMS.

6. A database transaction implements the command "set STATUS to ‘CURRENT' in all records where BALANCE-OWED = 0."

(a) Describe how that transaction would be performed with the two-step commit described in this chapter.

(b) Suppose the relations from which that command was formed are (CUSTOMER-ID,STATUS) and (CUSTOMER-ID,BALANCE-OWED). How would the transaction be performed?

(c) Suppose the relations from which that command was formed are (CUSTOMER-ID,STATUS), (CREDIT-ID,CUSTOMER-ID), (CREDIT-ID, BALANCE-OWED). How would the transaction be performed?

7. Show that if longitudinal parity is used as an error detection code, values in a database can still be modified without detection. (Longitudinal parity is computed for the nth bit of each byte; that is, one parity bit is computed and retained for all bits in the 0th position, another parity bit for all bits in the 1st position, etc.)

8. Suppose query Q1 obtains the median ml of a set S1 of values, and query Q2 obtains the median m2 of a subset S2 of S1. If m1 < m2, what can be inferred about S1, S2, and the elements of S1 not in S2?

9. One approach suggested to ensure privacy is the small result rejection, in which the system rejects (returns no result from) any query, the result of which is derived from a small number, for example, five, of records. Show how to obtain sensitive data by using only queries derived from six records.

10. Cite a situation in which the sensitivity of an aggregate is greater than that of its constituent values. Cite a situation in which the sensitivity of an aggregate is less than that of its constituent values.

Reference no: EM132688613

Questions Cloud

Distinguish fraud from error : Can inherent risk be reduced to zero? Why or Why not? How about control risk? Why or Why not? Distinguish fraud from error.
Chemical explanation of the trend : For the above Volume of Solution Absorbed per Mass of Sodium Polyacrylate vs. Nickel Nitrate plot, clearly explain the trend in the data on a molecular level.
Adequate progress-every student succeeds act : Provide a brief summary of the differences between No Child Left Behind and the Every Student Succeeds Act (ESSA).
Estimate cash collected from customers in fiscal year : Estimate cash collected from customers in fiscal year 2020. Clorox Annual Report for Fiscal Year 2020 (PDF) (i.e., the fiscal year ended June 30, 2020)
Describe how that transaction would be performed : Describe how that transaction would be performed with the two-step commit described in this chapter. Suppose the relations from which that command was formed.
Calculate the molarity of a solution : hat is the molarity (M) of a solution prepared by dissolving 15.0 g of sodium hydroxide in enough water to make a total of 225 mL of solution?
Explain the reaction at the micro-scale : Explain the reaction at the micro- scale. 2NaHCO3 (s)23 (s) 2(l)2 (g)Cite sources
What is the amount of inventory purchases in fiscal year : What is the amount of inventory purchases in fiscal year 2020? Consider the excerpts from the Clorox Annual Report for Fiscal Year 2020
Distinguish inherent risk and control risk : What the different factors considered when understanding the entity and its environment? Explain. Distinguish inherent risk and control risk.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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