English

A coin is tossed 3 times. A win is said to occur if the result obtained is Heads for at least 2 tosses. Taking A, B, C as inputs and W as output, Write a truth table, given that A, B, C are 1 if the

Advertisements

Question

A coin is tossed 3 times. A win is said to occur if the result obtained is Heads for at least 2 tosses. Taking A, B, C as inputs and W as output, Write a truth table, given that A, B, C are 1 if the result is Heads or 0 if the result is Tails; and W is 1 if a win occurs otherwise it is 0.

Numerical
Advertisements

Solution

Given:

  • A, B, C = 1 if the result is Heads (H).
  • A, B, C = 0 if the result is Tails (T).
  • W = 1 if Heads occurs at least 2 times.
  • W = 0 if Heads occurs fewer than 2 times.

Truth Table

A

B

C

W

0

0

0

0

0

0

1

0

0

1

0

0

0

1

1

1

1

0

0

0

1

0

1

1

1

1

0

1

1

1

1

1

W = 1 for the input combinations 011, 101, 110 and 111, because at least two tosses result in Heads.

shaalaa.com
  Is there an error in this question or solution?
Chapter 1: Boolean Algebra - EXERCISE [Page 50]

APPEARS IN

Dheeraj Mehrotra Computer Science [English] Class 12
Chapter 1 Boolean Algebra
EXERCISE | Q 27. (b) (i) | Page 50
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×