Create truth table and logic circuit diagram with two inputs

Assignment Help Management Information Sys
Reference no: EM131938123

Understanding the Digital Revolution Lab - Logic and Binary

Overview - In this lab, you will solidify your understanding of binary numbers and logic circuit diagrams

Task Details -

Task one - Truth tables and logic circuit diagrams

Truth tables are a way of representing the behaviour of a system for all inputs. Logic circuit diagrams are a standard way of representing combinations of logical operators in diagram form. In this task, you will be converting truth tables to and from logic circuit diagrams.

Task 1.a - Interpret logic circuit diagrams

Complete the truth tables for each of the following logic diagrams.

1128_figure.png

Task 1.b - Complete the logic circuit diagrams for each of the following truth tables.

You can use a diagramming tool such as Visio, your logic circuit diagrams, but sketching on paper is fine too! The above logic diagrams were created using draw.io

Task 1.c - Create a truth table and logic circuit diagram for each the following situations

  • If you see a clown at the circus, it's ok to stay and watch them. In any other situation, you should run away from clowns. Create a truth table and logic circuit diagram with two inputs (do I see a clown, am I at the circus) and one output (should I run away). Tip: make sure your diagram does not make you run away if you are at the circus but do not see a clown! The simplest solution uses one AND gate and one NOT gate.
  • If Anna is hungry, and it is lunchtime, and she has brought her lunch with her, she will eat lunch. Create a truth table and logic circuit diagram with three inputs (hungry, lunchtime, have food) and one output (should I eat lunch)
  • A hotel room has two lamps, each with an on/off switch. However, there is also a single main switch which enables the lamps to function. If the main switch is off, the two lamps won't work even if their individual switches are on. If the main switch is on, the individual switches work as normal. Your truth table and diagram should have three inputs (on/off for each switch) and two outputs (one for each lamp)
  • Optional, extra tricky! A lecturer likes chocolate ice-cream on its own or with chocolate sprinkles, but never in a cone. They also like vanilla ice-cream but only if it is in a cone and has chocolate sprinkles on it. Your truth table and diagram should have three inputs (is it chocolate flavour, are there sprinkles, in a cone) and one output (would the lecturer like it)

Task two - Binary and representing integers

Task 2.a - How many unique values can be stored in:

  • 2 bits
  • 1 byte
  • 6 bytes
  • 128 bits

Task 2.b - Convert the following decimal numbers to binary (manually!) using either the divide-by-two method from the lecture, or any other way that makes sense to you.

The other main approach is the subtraction method

  • 3
  • 7
  • 8
  • 12
  • 77

Verify your conversions using the calculator tool in Moodle.

Task 2.c - Convert the following binary numbers to decimal (manually!). Refer to the powers of two in the table as required.

28

27

26

25

24

23

22

21

20

256

128

64

32

16

8

4

2

1

  • 10
  • 111
  • 1101
  • 10110
  • 100110
  • 1000100

Verify your conversions using the calculator tool in Moodle.

Extended research: What is hexadecimal and why would we use it in IT? Consider how many bits are required to represent 16 values.

Task three - Excel as a logic calculator

Microsoft Excel is one of the most fundamental tools used in IT and Business. Often entire business processes are driven by Excel. This week we will explore using Excel to implement the divide by two method of binary conversion.

Task 3.a - Logic functions in Excel

Launch Microsoft Excel and create a blank workbook.

You may also use an open-source equivalent, such as LibreOffice Calc, however you will have to adapt these instructions

If you have never used Excel before, take a moment to familiarize yourself with the interface.

Coverage of some fundamentals is available in an extra resource in the document Excel Fundamentals on Moodle.

Complete the first truth table by entering formulae in columns D and E for every combination.

Complete the second truth table using XOR gates if you are using Excel 2013 or later.

Task 3.b - Implement decimal to binary with Excel

The divide-by-two method of converting decimal numbers to binary in Excel requires repeated division by two, and taking the remainder.

Excel has built-in support for both of these, however the standard division operator, / (forward slash), can give a result with a fractional component.

We also need the remainder of the division, the Excel function MOD() can do this

Look up the help for INT and MOD functions in the Excel help system.

With these two tools, implement the divide-by-two method of decimal-binary conversion in Excel, so that it supports (at least) 8-bit numbers.

Extended task - Full adder

Task 4.a - Construct a truth table and logic circuit diagram for an adder which takes three inputs, and returns the sum as a two-bit binary value. That is, your system should count how many inputs are on.

Task 4.b - Using the half-adder from the lecture slides for the lowest bits, and your new three-input adder, create a circuit which can add two-bit numbers. Hint: the carry output from the half-adder is connected as one of the inputs of the three-input adder.

How would you extend this to higher numbers of bits?

Attachment:- Assignment Files.rar

Reference no: EM131938123

Questions Cloud

How to process and retrieve trace evidence involving firearm : Analyze commonly accepted forensic techniques and contemporary specialized techniques available for crimes involving firearms.
Prepare report from recent financial reports : This assignment covers the in-depth theoretical concepts with some practical accounting task application based on the topics from the subject
Describe one such example of our use of earth analogs : Describe one such example of our use of Earth analogs to determine the circumstance elsewhere, and explain how it might influence our explorations in the future
In what ways have the types of crimes evolved : Examine the information given on the "About the Research" page concerning the Depravity Standard.
Create truth table and logic circuit diagram with two inputs : ITECH1100 Understanding the Digital Revolution Lab - Logic and Binary. In this lab, you will solidify your understanding of binary numbers
Which crimes appear to be the most serious : Some people use others to commit their crimes, all the while pretending to be law-abiding citizens or untouchable by law enforcement.
Define product differentiation and cost leadership advantage : What ethical guidelines should the company have in place prior to signing an agreement with a firm? Describe the advice you would give to them regarding.
What did the criminal defense attorney do wrong : What did the criminal defense attorney do wrong? What is the Strickland v. Washington standard? Refer to Courts and Criminal Justice in America.
How should virus writers be classified : How should virus writers be classified? Can they all be classified the same way? Why,or why not? Give specific examples. Response 200 words

Reviews

len1938123

4/11/2018 5:21:15 AM

Submission - To gain the marks for this lab, demonstrate your completed tasks one, two and three to your tutor. Online students may submit either photos, screen shots, a PDF or a Word document of their solutions. Feedback - Feedback will be supplied either through Moodle or in-person during the laboratory session. Authoritative marks will be published through fdlMarks. Prerequisites - Review the materials from the lecture; you should understand how and why digital computers work with binary numbers, and how we can represent logical problems using logic circuit diagrams.

Write a Review

Management Information Sys Questions & Answers

  Identify potential ethical issues in e-business

Describe the structure, history, and growth of the selected e-business. Identify potential ethical issues in e-business that differ from traditional business.

  Describe new features of windows server 2012

Scenario: Worldwide Advertising, Inc. (referred to as "WAI") has hired you as an IT consultant for implementing their Windows network infrastructure. Describe new features of Windows Server 2012 that WAI can take advantages

  Create a diagram for the given scenario

Create a diagram for the following scenario. There must be enough detail for the design to be handed off to an implementation team.

  Prepare a preliminary review for conducting the given audit

You are an internal auditor and you have been assigned an audit of the organizations software inventory. Prepare a preliminary review for conducting this audit.

  How did you receive the information

How did you receive the information? What is good or bad news? Do you believe you were the right person to receive the information? Why or Why Not?

  Discuss a good way to make strategic information available

Discuss a good way to make strategic information available to the internal stakeholder groups to help focus their efforts

  Mark the equilibrium price and quantity

The demand schedule for computer chips.

  Conduct some research to obtain some expert opinion

Write an instruction for feeding an infant. If you have some personal experience in this area, you may use this experience as a source of information.

  What are the risks associated with securing confidentiality

What are the risks associated with securing confidentiality, integrity, and availability of electronic information systems?  How are these three elements inter-related?

  Why new technology often disruptive for existing it systems

Why is new technology often disruptive for existing IT systems? What things can be done to prepare these systems for future technology ahead of time

  What is the expected duration of the project

Develop the network activity chart and identify the critical path for a project based on the information provided in the Gantt Chart Activity document. To access the Gantt chart activity document:Draw the activity network as a Gantt chart,What is ..

  Create a physical data flow diagram of the purchases system

Create a physical data flow diagram of the Purchases system and create a logical data flow diagram of the Cash Disbursements system

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd