Identify the equivalence classes

Assignment Help Basic Computer Science
Reference no: EM13489941

Given a function module which implements function Z= F(X, Y), which defined as follows:

Z = F(X,Y), where X and Y are integer parameters for F. The detailed definition is given below.
--
| X + Y when 10<=X<=20, and 12<=Y<=30
Z = | X - Y when 0<=X<10, and 0<=Y<12
| 0 under other conditions
--
Please answer the following questions:
· (4%) Identify the equivalence classes in [X, Y]. (hints: Considering Z as a function F with X and Y input

Reference no: EM13489941

Questions Cloud

Compute how long does it take to reach the floor : A mass of 20 kg is attached to a light string which is wrapped around a cylindrical spool of radius 10 cm and moment of inertia 2 kg.m^2. How long does it take to reach the floor
Explain energy derived from enzyme-substrate interactions : Which of the following is true of the binding energy derived from enzyme-substrate interactions. A. Most of the binding energy is used to decrease the deltaG°' of the reaction
What the mac-layer addresses : How can you find out what the MAC-layer addresses and IP host addresses are of the server farm devices?
Determine the location and size of the image : A convex mirror has a focal length of -34.0 cm. A 15.0-cm-tall object is located 34.0 cm in front of this mirror. Determine the location and size of the image
Identify the equivalence classes : Identify the equivalence classes
Define neutralization reaction between aqueous naoh and hcl : Both solutions were initially at 35.00°C and the temperature of the resulting solution was recorded as 37.00°C, determine the ??H°rxn (in units of kJ/mol NaOH) for the neutralization reaction between aqueous NaOH and HCl.
Determine whether each of the transactions is taxable : Determine whether each of the transactions is taxable. If a transaction is not taxable, indicate what type of reorganization is affected,
How much sound energy is incident on the eardrum : Hearing damage may occur when a person is exposed to a sound intensity level of 90.0 dB (relative to the threshold of human hearing) for a period of 9.00 hours
Explain the melting point of 4-methoxychalcone : A student observed the melting point of 4-methoxychalcone to be 63-70oC. Which of the following is (are) plausible explanation for this observation

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Cores on computer systems

Cores on Computer Systems

  Write program asks student''s name and number courses taking

Write a program that asks for a student's name and number of courses he is taking. Using a loop, ask for the name of each of the courses.

  Framing rules work if stuffing rule to stuff zero changes

Will framing rules work if we change stuffing rule to stuff a zero only after 6 consecutive ones? Describe. Will protocol work if we change stuffing rule to stuff 0 only after a zero followed by 5 consecutive ones? Describe.

  Create a class named commission

Create a class named Commission that includes two numeric variables: a sales figure and a commission rate. Also create two overloaded methods name computeCommission().

  Describe how to develop users for sales organization unit

Describe how you would develop users for sales organization unit and how you can set up work groups in this particular situation.

  Benefits of binary file called registry

Write down the benefits and disadvantages of configuration in binary file called registry.

  How can laser be tipped before light no longer continues

If a laser is to be pointed into the end of the fibre, but is "tipped" to one side by θ degrees, how much can the laser be "tipped" before the light no longer continues down the fibre?

  Write a menu driven program

Write a menu driven program that allows the user to enter five numbers and then choose between finding the smallest , sum or average of the numbers.

  How could a business use information technology

How could a business use information technology to increase switching costs and lock in its customers and suppliers? Use business examples to support your answers

  Draw a pda for the language

Draw a PDA for the language L over {0,1} consisting of strings with an equal number of 0's and 1's. So 010011 would be in this language. Next draw a DFA recognizing 0?1?. Use the algorithm from class to draw a PDA for the intersection of these two..

  Create application to declares array of ten houseplant

Design an application that declares an array of 10 HousePlants. Prompt the user for data for each of the HousePlants, then display all values.

  Find levels resulting tree have if key compression is used

How many levels would resulting tree have if key compression is used and it decreases the average size of each key in the entry to 10 bytes?

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