Write an equation for the variable x

Assignment Help Theory of Computation
Reference no: EM131005156

1. A computer interface to a line printer has seven data lines that control the movement of the paper and the print head and determine which character to print. The data lines are labeledA,B, C,D,E, F, and G, and each represents a binary o or 1. When the data lines are interpreted as a 7-bit binary number with line A being the most significant bit, the data lines can represent the numbers o to 12710.The number 1310 is the command to return the print head to the beginning of a line, the number 1010 means to advance the paper by one line, and the numbers 3210 to 12710 represent printing characters.

(a) Write an equation for the variable X which is 1iff the data lines indicate a command to return the print head to the beginning of the line.

(b) Write an equation for the variable Y which is 1iff there is an advance paper command on the data lines.

(c) Write an equation for the variable Z which is 1iff the data lines indicate a printable character. (Hint: Consider the binary representations of the numbers 0-31and 32-127 and write the equation for Z with only two terms.)

Reference no: EM131005156

Questions Cloud

Transactions in short-term debt instruments : Which of the following refers to all institutions and procedures that provide for transactions in short-term debt instruments generally issued by borrowers with very high credit ratings?
If an economy experiences an increase in its capital : If an economy experiences an increase in its capital, everything else constant, then its production possibilities frontier (PPF) will a. Expand outward proportionally b. Expand outward largely in the direction the labor intensive good. c. Expand outw..
What is the elasticity of demand and supply : Suppose the demand for gasoline is QD = 75 – 25PD and supply is QS = 30 + 20PS, where prices are expressed in dollars per gallon. How does a $0.40 per gallon tax affect the equilibrium price and quantity of gasoline (show both the pre-tax and post- t..
Western soya knows the interest rate implicit : Prepare an amortization schedule(s) describing the pattern of interest over the lease term for the lessee and the lessor.
Write an equation for the variable x : A being the most significant bit, the data lines can represent the numbers o to 12710.The number 1310 is the command to return the print head to the beginning of a line, the number 1010 means to advance the paper by one line, and the numbers 321..
Actual differences in labor productivity : Absolute advantage is determined by (a) actual differences in labor productivity between countries (b) relative differences in labor productivity between countries (c) Both A and B. (d) Neither A or B
Explain the causal factors associated with the disorder : Prepare a 1,400- to 1,750-word paper based on your research of schizophrenia. Address the following: Discuss the diathesis-stress model as it pertains to schizophrenia. Explain the causal factors associated with the disorder
Various states of the economy : Noah's Landing stock is expected to produce the following returns given the various states of the economy. What is the expected return on this stock?
What is the marginal resource rent and user cost : Suppose the marginal social benefits curve for crude oil is MSB = 60 – 0.6Q and the marginal total cost curve is MTC = 20 + 1.4Q, Now suppose that the marginal current cost (MCC) of extraction is given by MCC = 20 + 0.4Q. Illustrate the MSB, MTC, and..

Reviews

Write a Review

Theory of Computation Questions & Answers

  Create a parser to check expression for allowable form

Find out its grammatical structure with respect to given formal grammar. You are needed to create a parser which will check expression for allowable form.

  Imagine you are a compensation analyst at a large

imagine you are a compensation analyst at a large manufacturing organization. the ceo recently came to your boss the

  Characterize the subgame perfect nash equilibria

Characterize the Subgame Perfect Nash Equilibria of this game. Discuss the underlying assumptions made in the analysis.

  Design turing machine having at least four nontrivial states

Design Turing machine (using Sipser notation) having at least 4 nontrivial (i.e., nonrejecting) states and at least six nontrivial (i.e., not to the rejecting state) transitions.

  Write an unambiguous grammar

Write an unambiguous grammar for the given languages- You have to prepare unambiguous grammar for the above languages. Please help! I am stuck on this question

  Give both an fa and an re for l

In a string, a block is a substring in which all symbols are the same which can't be enlarged. For example, 0001100 have three blocks.

  Construct a table for this weighted code

It is possible to have negative weights in a weighted code for the decimal digits, e.g.,8,4, -2, and -1 can be used. Construct a table for this weighted code. Ifd is a decimal digit in this code, how can the code for 9 -d be obtained?

  Write grammar for language comprising of strings

Write down the grammar for language comprising of strings which have n copies of letter a followed by same number of copies of letter b, where n > 0.

  Conflict between the team membersrod edwards the

conflict between the team membersrod edwards the advertising manager for waterlite advertising and associates has two

  Ms give and fa for each of the following languagesa all

give and fa for each of the following languages ltbrgt ltbrgta. all binary strings with at least three 13939s ltbrgtb.

  1 what are the problems in the performance appraisal system

1 what are the problems in the performance appraisal system of arrow electronics?2 if you were the ceo of arrow

  Impact of moore-s law on data center costs

Discuss the impact of Moore's law on data center costs on such things as servers and communications equipment. List at least 3 steps or recommendations your data center can take to offset some or all of the effect of Moore's law.

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