Question 1 nbspconsider a logic function with three outputs

Assignment Help Theory of Computation
Reference no: EM13356151

Question 1.  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 if exactly two inputs are true, and C is true only if all three inputs are true. Show the truth table for this function.

Question 2. Consider a logic function with inputs D, E, and F defined as follows:

If D or F is true, then output A is true, whatever the value of E.

If D or E is true, then output B is true, whatever the value of F.

Output C is true if exactly one of the inputs is true, although we don't care about the value of C, whenever A and B are both true.

Show the full truth table for this function and the truth table using don't cares. How many product terms are required in a PLA for each of these?

Question 3. Parity is a function in which the output depends on the number of 1s in the input. For an even parity function, the output is 1 if the input has an even number of ones. Suppose a ROM is used to implement an even parity function with a 4-bit input. Which of A, B, C, or D represents the contents of the ROM?

Question 4. One simple way to model time for logic is to assume each AND or OR gate takes the same time for a signal to pass through it. Time is estimated by simply counting the number of gates along the path through a piece of logic. Compare the number of gate delays for paths of two 16-bit adders, one using ripple carry and one using two-level carry lookahead.

Question 5. In the Verilog for the register fi le in Figure C.8.11, the output ports corresponding to the registers being read are assigned using a continuous assignment, but the register being written is assigned in an always block. Which of the following is the reason?

a. There is no special reason. It was simply convenient.

b. Because Data1 and Data2 are output ports and WriteData is an input port.

c. Because reading is a combinational event, while writing is a sequential event.

Question 6. What is the smallest number of states in a Moore machine for which a Mealy machine could have fewer states?

a. Two, since there could be a one-state Mealy machine that might do the same thing.

b. Three, since there could be a simple Moore machine that went to one of two different states and always

returned to the original state after that. For such a simple machine, a two-state Mealy machine is possible.

c. You need at least four states to exploit the advantages of a Mealy machine over a Moore machine.

Reference no: EM13356151

Questions Cloud

Calculating revenues expenses and incomefill in the blanks : calculating revenues expenses and income.fill in the blanks in the following separate income statements a through e.
Effect of departments on net operating incomeboyles home : effect of departments on net operating income.boyles home center a retailing company has two departments bath and
Disclosure of notes payable in financial statementsa at : disclosure of notes payable in financial statements.a. at december 31 2007 reed corp owed notes payable of 1000000 with
Ravenna manufacturing is preparing its master budget for : ravenna manufacturing is preparing its master budget for the first quarter of the upcoming year the following data
Question 1 nbspconsider a logic function with three outputs : question 1. nbspconsider a logic function with three outputs a b and c and three inputs d e and f. the function is
Price ceiling and price floorintroductionprice ceiling is : price ceiling and price floorintroductionprice ceiling is the law that sets a maximum price below the equilibrium
Assignment carefully read the case and craft an essay of : assignment carefully read the case and craft an essay of about 1000 words in length in which you respond to the
Essay 1 ndash human interventions in forest : essay 1 ndash human interventions in forest environmentschoose one of the following options ndash submissions must
What are the advantages and disadvantages of traditional : what are the advantages and disadvantages of traditional supply relationships? please discuss in context of a industry

Reviews

Write a Review

Theory of Computation Questions & Answers

  Communication process using a particular computer device

The enhancement of communication process using a particular computer device or software application by the people.

  Express set as regular expression

Express the following set as a regular expression: The set of all strings of length at least three over {0,1} such that every three consecutive.

  1using suffix trees give an algorithm to nd a longest

1.using suffix trees give an algorithm to nd a longest common substring shared among three input strings. s1 of length

  Write algorithm for finding useless-productive nonterminals

Write down the algorithm for finding useless/productive nonterminals. Describe how this gives you the algorithm for whether language generated by grammar is empty.

  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.

  Deterministic finite and non-deterministic finite automata

Describe the difference between a Deterministic Finite Automata and Non-Deterministic Finite Automata. In general, which one is expected to have less number of states ?

  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

  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

  Use undecidability of allcfg to show problem is undecidable

Use undecidability of ALLCFG to illustrate that following problem is also undecidable: Given PDA M1 and FA M2, is L(M1) = L(M2)?

  Where could errors occur

Where could errors occur in Figure and for each error, what action would you take should the error occur

  Proving language to be pumping lemma

Show that the language F = {a^i b^j c^k | i, j, k greater than or equal to 0 and if i = 1 then j = k} is not regular. Show, however, that it satisfies the statement of the pumping lemma

  Create a program that makes an object

Create a class named Pet, after creating the class, create a program that makes an object of the class and prompts the user to enter the name, type, and age of his pet.

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