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
Use prime factorazations of 24 and 28 to find the lcm
makvit [3.9K]

it would be 2 bcs 24/2=12 and 28/2=14

3 0
3 years ago
Look at the ingredients needed to make Josie's special pancakes. How many eggs and teaspoons of vanilla will you need if you wan
Natalija [7]
In order to do this you must take i HATE NI

7 0
3 years ago
Read 2 more answers
Cary claimed that the expression − 5 + m − 5 + m is negative. Determine whether Cary's claim is always true, sometimes true, or
atroni [7]

Answer:

The given Expression is sometimes true.

Step-by-step explanation:

from the question,

The given expression by Cary is   -5 + m -5+ m.

So, solving the expression we get

     ⇒            -10+2m

                     Let m is an integer.

Whenever,  

                   (a)    m < 5                             { m = 4,3,2,1,0,-1,-2.......................}

                  The given Expression always gives negative value.

                  (b)     m\geq 5                             {m = 5,6,7,8,9.......................}

                  The given Expression always gives positive value.

Here, we get that the given Expression is not providing the Negative value always, that's why it is not always true and can't be never true.

Hence,

According to Cary's claimantion the given Expression is sometimes true.

5 0
3 years ago
Tood knows that the ratio of boys and girls in his class is 3:5. Since 12 of the students are boys, he says there must be 36 stu
Vesna [10]

Answer:

=99

Step-by-step explanation:

7 0
4 years ago
Read 2 more answers
The fraction four-fifths is equivalent to what percentage?
s2008m [1.1K]
80%
4/5 = 8/10 =80/100
5 0
4 years ago
Read 2 more answers
Other questions:
  • From least to greatest -5 3/4, -7.2, 9, 3 1/8
    12·2 answers
  • What is the density of Iron Ore (Hematite)? Mass = 30g: Volume = 3.02
    14·1 answer
  • What does the tape measure say Measurement # 2 is?
    13·2 answers
  • Find the range of the function for the given domain.
    6·1 answer
  • The football team has a total of 50 jerseys. There are 5 medium-sized jerseys. What percent of the jerseys are​ medium-sized jer
    15·2 answers
  • Factor the Expression. 8x - 40 *<br> (8x - 5)<br> 8(x - 5)<br> 8(x - 40)
    5·1 answer
  • the area of a rectangle is 40squares inches. The rectangle is 8inches long. How wide is the rectangle ​
    13·2 answers
  • Solve the following system:<br> y = 5x <br>3x + 2y = 52<br><br> Your answer:​
    7·1 answer
  • What is the value of m in the figure below?
    10·1 answer
  • How many 2’s must be multiplied together for the product to be a number between 100 and 200
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!