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

  Finite-state machine design

Create a finite-state machine design to turn your FPGA development board into a simple programmable music box.

  Redundant sequence identi cation

Redundant sequence identi cation

  Compute a shortest superstring

Dynamic programming algorithm to compute a shortest superstring.

  Propositional and predicate logic

Write down a structural induction principle for the PlayTree free type

  Design a syntactic analyzer

Design a syntactic analyzer for the language specified by the grammar

  Design unambiguous grammar to parse expressions

Write a program would read two numbers and then print all numbers between the first and the second, inclusive. Design unambiguous grammar to parse expressions

  Consider a logic function with three outputs

Consider a logic function with three outputs,  A ,  B , and  C , and three inputs,  D ,  E , and  F . The function is defined as follows:  A  is true if at least one input is true,  B  is true

  Considering a single programmed operating system

Considering a single programmed operating system, what is the minimal total time required to complete executions of the two processes? You should explain your answer with a diagram.

  How to construct an nfa

Give a construction that assumes you are given a DFA for L and show how to construct an NFA (with or without ε-moves) to recognize sort(L).

  Equivalence classes to construct minimal dfa for language

How many equivalence classes does this relation have and what are they? Use these equivalence classes to construct the minimal DFA for the language.

  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.

  Problem encountered in statements in predicate logic

How the problem would be encountered in attempting to represent the following statements in Predicate logic. it should be possible to: John only likes to see French movies.

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