Which pairs of operations commute

Assignment Help Basic Computer Science
Reference no: EM131212735

Suppose for sake of argument that database elements are two-dimensional vectors. There are four operations we can perform on vectors, and each will have its own type of lock.

i. Change the value along the x-axis (an X-lock).

ii. Change the value along the y-axis (a F-lock).

iii. Change the angle of the vector (an A-lock).

iv. Change the magnitude of the vector (an M-lock).

Answer the following questions.

a) Which pairs of operations commute? For example, if we rotate the vector so its angle is 120° and then change the coordinate to be 10, is that the same as first changing the x-coordinate to 10 and then changing the angle to 120°?

b) Based on your answer to (a), what is the compatibility matrix for the four types of locks?

c) Suppose we changed the four operations so that instead of giving new values for a measure, the operations incremented the measure (e.g., "add 10 to the coordinate," or "rotate the vector 30° clockwise"). What would the compatibility matrix then be?

Reference no: EM131212735

Questions Cloud

Identify historical events that led to the implementation : Identify historical events that led to the implementation of current standards. Analyze how these events and standards are correlated and the impact that they have on the accounting profession in Germany today.
How many interleavings of transactions are serializable : If the order of incrementation in T2 were reversed [i.e., inc2 (B) followed by inc2 {A)], how many serializable interleavings would there be?
Judicial precedents set by earlier decisions : Why do courts generally adhere to the judicial precedents set by earlier decisions?
Describe transformation of graph of asia with north america : Describe the transformation of the graph of Asia with North America. Do the graphs have horizontal asymptotes? How about vertical asymptotes? At what size, x(in megabytes), will the consumerratings be equal to 0 in Asia?
Which pairs of operations commute : Suppose for sake of argument that database elements are two-dimensional vectors. There are four operations we can perform on vectors, and each will have its own type of lock.
Type of marketing research : Question 1: What type of marketing research should Samsonite undertake and why?
Brief analysis of consumer perceptions and behaviour : HI5004 Marketing Management - You can select any small to medium size manufacturing in Australia -Clear and concise target market, segments and positioning (includes positioning mapping) followed by the company
What is the compatibility matrix for the four types of locks : Suppose for sake of argument that database elements are two-dimensional vectors. There are four operations we can perform on vectors, and each will have its own type of lock.
Problem regarding the marketing plan : What is the best way to measure whether or not your marketing plan is working?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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