1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
GuDViN [60]
4 years ago
11

Design a Boolean circuit that verifies whether a given integer 0 ≤ x < 16 is divisible by 5

Mathematics
2 answers:
Dmitry_Shevchenko [17]4 years ago
8 0

This question is incomplete, the complete question is;

Your boss asks you to design a Boolean circuit that verifies whether a given integer 0 < x < 16 is divisible by 5.

Every such number is represented in binary using four bits, say b₃b₂b₁b₀, and so your Boolean circuit will have four inputs. For instance, the number 13 is written in binary as 1101 and so to test its divisibility by 5 a user would feed the values b₀ = 1, b₁ = 0, b₂ = 1, and b₃ = 1 into the inputs of your circuit.

The Boolean circuit will have a single output, which should deliver the value 1 if the iput values represent a number that is divisible by 5 and 0 otherwise.

a) write down the truth table of the Boolean function F(b₀,b₁,b₂b₃) that implements this "divisible by 5" operation

b) construct a Boolean expression in disjunctive normal form that implements the Boolean function yo wrote down in a)

Answer:

Given that;

integer range = 0≤ x ≤ 16

within 4bits, we can represnt each number

(0,5,10,15)

a)  

Truth table for function that implements  divisible by 5

Integer    B3    B2    B1    B0     Y

0              0       0      0      0      1

1              0       0      0       1      0

2              0       0      1        0     0

3              0       0      1        1      0

4              0       1       0       0     0

5              0       1       0       1      1

6              0       1       1        0     0

7              0       1       1        1       0

8              1       0      0        0      0

9              1       0      0        1       0

10             1       0      1         0      1

11              1       0      1          1      0

12             1        1      0         0     0

13             1         1     0          1      0

14             1         1       1         0     0

15            1         1        1        1       1

b)

Boolean expression that implements the Boolean function from a)

from the truth table;

Boolean expression Y is;

Y = b⁻₃b⁻₂b⁻₁b⁻₀ / y₁   +   b⁻₃b₂b⁻₁b₀ / y₂   +   b₃b⁻₂b₁b⁻₀ / y₃   +   b₃b₂b₁b₀ / y₄

alexandr402 [8]4 years ago
6 0

Answer:

  circuit is in the second attachment

Step-by-step explanation:

Attached is a truth table for the desired circuit, where b3–b0 are the input bits, MSB–LSB. We notice that the output is true whenever b3=b1 and b2=b0. This can be written in DNF as ...

  Y=b_3'b_2'b_1'b_0'+b_3b_2'b_1b_0'+b_3'b_2b_1'b_0+b_3b_2b_1b_0

More compactly, it can be written in terms of the exclusive-nor function as ...

  y=(b_3\odot b_1)\wedge(b_2\odot b_0)

A circuit diagram showing this circuit is the second attachment. (A–D are the input bits, in order MSB–LSB (or its reverse)).

You might be interested in
The angles are supplementary what is the value of x
Elena-2011 [213]
12 I just solved this one!
8 0
3 years ago
Find the conjugate of 84 - 63i.
gizmo_the_mogwai [7]
84+63i would be the complex conjugate of84-63i
3 0
4 years ago
Which relation is a function?(click all that apply)
iris [78.8K]

Answer:

Step-by-step explanation:

y=2x+1

y=x^2

The other one isn't a function because it won't pass the vertical line test. You can not use the same X in a function.

5 0
3 years ago
What is the y-value in the solution to this system of linear equations? 4x + 5y = -12 -2x + 3y = -16 them -4 -2 2​
VikaD [51]

Answer: I think it's y= -4

Step-by-step explanation:

5 0
3 years ago
8.5 + 4(1 - 2.5k) = - 24.5 solve and round to the narest humdredth
Yuri [45]

Answer:

  k = 3.70

Step-by-step explanation:

Eliminate parentheses, then subtract the constant term on the left

  8.5 +4 -10k = -24.5

  -10k = -37 . . . . . . . . . . 12.5 subtracted from both sides

  k = 3.70 . . . . . . . . . . . both sides divided by -10 (no rounding required)

7 0
3 years ago
Other questions:
  • Solve for the indicated variable A=r+rvf for v
    13·1 answer
  • Find three consecutive integers such that the sum of the first and third is 22.
    13·1 answer
  • What is the complement of 13 degrees
    5·2 answers
  • Multiply.
    6·1 answer
  • Bentley spun a spinner with 4 equal sections labeled 1–4. The spinner landed on 1 three times, on 2 four times, on 3 six times,
    13·1 answer
  • Henry is making a corn grits-recipe that calls for .25 cup of corn grits for every .5 cup of water. How much water will he need
    13·1 answer
  • What is the outlier for 437,456,513,650,893,954,1018,1038,1117, and 1465
    8·1 answer
  • If Linda is at the store and can buy any two fruits (the store sells apples, oranges, pears, bananas, and kiwis), how many combi
    8·2 answers
  • Help me please. I will mark Brainliest
    8·2 answers
  • Pam asks you to help with the catering for the funeral. You decide to use juice concentrate to serve as a refreshing drink. To c
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!