subject
Engineering, 24.09.2020 21:01 chloegirl9796

1. Show a truth table for a 1-bit full subtractor that has a borrow input bin and inputs x and y, and produces a difference, d, and a borrow
output, bout.
bin
x - y/bout d
2. Show truth tables for each of the following.
A. There are four inputs and three outputs. The inputs, w, x, y, z,
are codes for the grade that may be received:
0000 A 0100 B2 1000 D1 1100 Incomplete
0001 A2 0101 C1 1001 D 1101 Satisfactory
0010 B1 0110 C 1010 D2 1110 Unsatisfactory
0011 B 0111 C2 1011 F 1111 Pas
The outputs are
1: a 1 if and only if the grade is C or better (only letter grades; C2 is not C or better)
2: a 1 if and only if the university will count it toward the 120 credits required for a degree (passing grade only).
3: a 1 if and only if it will be counted in d icomputing a grade point average (letter grades only).
B. This system has four inputs and three outputs. The ®rst two inputs, a and b, represent a 2-bit binary number (range of 0 to 3). A second binary number (same range) is represented by the other two inputs, c and d. The output f is to be 1 if and only if the two numbers differ by exactly 2. Output g is to be 1 if and only if the numbers are equal. Output h is to be 1 if and only if the second number is larger than the ®rst.
C. The system has four inputs. The ®rst two, a and b, represent a number in the range 1 to 3 (0 is not used). The other two, c and d, represent a second number in the same range. The output, y, is to be 1 if and only if the ®rst number is greater than the second or the second is 2 greater than the ®rst.
D. A system has one output, F, and four inputs, where the ®rst two inputs (A, B) represent one 2 bit binary number (in the range 0 to 3) and the second two inputs (C, D) represent another binary number (same range). F is to be 1 if and only if the two numbers are equal or if they differ by exactly 1.
E. A system has one output, F, and four inputs, where the ®rst two inputs (A, B) represent one 2-bit binary number (in the range 0 to 3) and the second two inputs (C, D) represent another binary number (same range). F is to be 1 if and only if the sum of the two numbers is odd.
F. The system has four inputs. The ®rst two, a and b, represent a number in the range 0 to 2 (3
is not used). The other two, c and d, represent a second number in the same range. The output, y, is to be 1 if and only if the two numbers do not differ by more than 1.
G. The months of the year are coded in four variables, abcd, such that January is 0000, February is 0001, . . . , and December is 1011. The remaining 4 combinations are never used. (Remember: 30 days has September, April, June, and November. All the rest have 31, except February. . . .). Show a truth table for a function, g, that is 1 if the month has 31 days and 0 if it does not.
H. The months of the year are coded as in 2g, except that February of a leap year is coded as 1100. Show a truth table with ®ve outputs, v, w, x, y, z that indicates the number of days in the selected month.
I. Repeat 2h, except that the outputs are to be in BCD (8421 code). There are now six outputs, u, v, w, x, y, z (where the ®rst decimal digit is coded 0, 0, u, v and the second digit is coded w, x, y, z).
J. The system has four inputs, a, b, c, and d, and one output, f. The last three inputs (b, c, d) represent a binary number, n, in the range 0 to 7; however, the input 0 never occurs. The ®rst input (a) speci®es which of two computations is made. a 5 0: f is 1 iff n is a multiple of 2 a 5 1: f is 1 iff n is a multiple of 3
K. The system has four inputs, a, b, c, and d, and one output, f. The ®rst two inputs (a, b) represent one binary number (in the range 0 to 3) and the last two (c, d) represent another number in the range 1 to 3 (0 never occurs). The output, f, is to be 1 if the second number is at least two larger than the ®rst.
L. Show the truth table for a system with four inputs, a, b, c, and d, and two outputs, f and g. The inputs represent a BCD digit between 1 and 9 (8421 code). All other inputs never happen. The output f is 1 if and only if the input represents an odd number larger than 6 or an even number less than 7. The output g is 1 iff the input represents a perfect square. (A perfect square is a number whose square root is an integer).

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Fluids at rest possess no flow energy. a)- true b)- false
Answers: 3
question
Engineering, 04.07.2019 18:10
Water at 55c flows across a flat plate whose surface temperature is held constant at 95c. if the temperature gradient at the plate's surface for a given value of x is 18 c/mm, find a) local heat transfer coefficient. b) heat flux
Answers: 3
question
Engineering, 04.07.2019 18:10
Ahot wire operates at a temperature of 200°c while the air temperature is 20°c. the hot wire element is a tungsten wire of 5 um diameter and 2 mm in length. plot using excel current, heat transfer and heat generated by the wire for air velocity varying from 1-10 m/s in steps of lm/s? matlab the sensor voltage output, resistance, or assume nu 0.989 re033pr13 take air properties at tr (200°c20°c)/2 = 110°c properties of tungsten: c 0.13 kj/kg.k 3 p 19250 kg/m k (thermal conductivity) = 174 w/m.k
Answers: 2
question
Engineering, 04.07.2019 19:10
An external consultant recommends that a plant installs a bank of capacitors for power factor correction. this will reduce the peak electrical demand charges by an average of 93 kw every month. the plant current pays $13 per kw in peak demand charges. the capacitor bank will include 223 kw of fixed capacitors, and 183 of variable capacitors. the fixed capacitors cost $59 per kw, and the variable capacitors will cost $65 per kw. the consultant charges 21% of the equipment costs to install the capacitors. because this project will reduce the demand for the electric utility, they are prepared to provide a one-time rebate of $42 per kw of reduced demand. what is the simple payback period for this project (in years)?
Answers: 2
You know the right answer?
1. Show a truth table for a 1-bit full subtractor that has a borrow input bin and inputs x and y, a...
Questions
question
History, 01.02.2021 21:20
question
Mathematics, 01.02.2021 21:20
question
Physics, 01.02.2021 21:20
question
Mathematics, 01.02.2021 21:20