How Do I Build a Logic Gate for a Voting System?

Click For Summary

Homework Help Overview

The discussion revolves around designing a logic gate for a voting system based on a scenario involving a panel consisting of a Chairman and three panellists. The goal is to create a circuit that activates a SUCCESS light based on specific voting conditions.

Discussion Character

  • Exploratory, Conceptual clarification, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the formulation of the logic expression for the voting system and question the next steps in the design process, including the use of truth tables and the capability of AND statements to handle multiple inputs.

Discussion Status

Some participants have provided guidance on the clarity of the logic expression and confirmed the flexibility of AND and OR gates regarding input numbers. There is an ongoing exploration of whether to proceed with a truth table or directly to the implementation of logic gates.

Contextual Notes

Participants express uncertainty about the next steps in the design process and the necessity of creating a truth table, indicating a potential lack of explicit instructions on how to proceed with the assignment.

JosephF
Messages
14
Reaction score
0

Homework Statement



I'm studying logic gates and trying to create my first one.

Homework Equations



3. In a TV programme, the panel votes on new performers.
The panel consists of a Chairman (C) and three others (X, Y and Z) who each press a button to register their vote.

The SUCCESS light is switched on if:
Either The Chairman and at least one of the panellists vote yes
Or All three panellists vote yes

Otherwise the FAIL light is switched on.

Design a logic circuit which correctly switches each light on according to the voting of the panel.

The Attempt at a Solution



I've written all the statements our and managed to derive:

S = C AND (X OR Y OR Z) OR (X AND Y AND Z)

Which I think is correct. I'm now not sure where to go from here. I've googled but can't find any think relevant.

Regards,
 
Last edited:
Physics news on Phys.org
JosephF said:

Homework Statement



I'm studying logic gates and trying to create my first one.

Homework Equations



3. In a TV programme, the panel votes on new performers.
The panel consists of a Chairman (C) and three others (X, Y and Z) who each press a button to register their vote.

The SUCCESS light is switched on if:
Either The Chairman and at least one of the panellists vote yes
Or All three panellists vote yes

Otherwise the FAIL light is switched on.

Design a logic circuit which correctly switches each light on according to the voting of the panel.

The Attempt at a Solution



I've written all the statements our and managed to derive:

S = C AND (X OR Y OR Z) OR (X AND Y AND Z)

Which I think is correct. I'm now not sure where to go from here. I've googled but can't find any think relevant.

Regards,

I think you will want to be clear with your grouping.

S = (C Λ (X V Y V Z)) V ( X Λ Y Λ Z)
 
Ah yes, that looks better.

Whats my next step? Do I need to input it into a truth table or do I go streight to the logic gates? Also, can and AND statement have more than 2 inputs?

Thanks,
 
JosephF said:
Ah yes, that looks better.

Whats my next step? Do I need to input it into a truth table or do I go streight to the logic gates? Also, can and AND statement have more than 2 inputs?

Thanks,

Sure you can put as many inputs into an And or Or or Nand or Nor as you want.

Unless you are asked for a Truth Table ... why bother?
 

Similar threads

  • · Replies 25 ·
Replies
25
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
3
Views
3K
Replies
3
Views
3K
  • · Replies 15 ·
Replies
15
Views
9K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 35 ·
2
Replies
35
Views
5K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
1
Views
4K