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

  Analyze and extend a cryptographic protocol

Analyze and extend a cryptographic protocol. Alice, Bob and Mallory are students of Cryptography -  Show how to enable PFS. Write down the new message flow.

  Create mealy type state machine with input and output

Create the Mealy type state machine with input X and output Y. Y must be 1 whenever sequence 110 or 101 has been detected on X on last 3 consecutive rising clock edges.

  Definition of the set spic of pictures

Consider an app that draws "suit" pictures. The simplest pictures one can draw are ♣ and ♠. Give the inductive definition of the set SPic of pictures

  If l recognized by dfa then language left half is regular

We showed to prove that if L can be identified by DFA then the language left half(L) = {x ∈ ∑*|∃y xy ∈ L and |x| = |y|} is also regular; here |x| means length of x.

  Visit any 2 websites that offer salary survey information

visit any 2 websites that offer salary survey information and compare your positionsalary with what is offered in those

  Question first step is to select two companies in the same

question first step is to select two companies in the same industry sector hotels restaurants post-secondary

  1let s1 and s2 be two strings of lengths m and n

1.let s1 and s2 be two strings of lengths m and n respectively. by de?nition a superstring of s1 and s2 is one which

  Convert this english statement into logic statement

Translate the subsequent English statement in terms of L(x; y), P(x; y), quantiers and logical connectives.

  Normal 0 false false false en-us x-none

normal 0 false false false en-us x-none x-none

  Recent research has shown that a job and a competitive

recent research has shown that a job and a competitive remuneration package are not sufficient for attracting competent

  Create a method that perform a division operation

Create a method that will perform a division operation on the numbers passed to it in two variables and outputs the results. Use a try catch pair to output an error message if the illegal operation of divide through zero occurs.

  Show polynomial-time algorithm for gdp

Goal is to find expedition of maximum profit. Either show that there exists polynomial-time algorithm for GDP, or show that corresponding decision problem is NP-complete.

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