Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Management Information System Expert

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

Management Information System, Management Studies

  • Category:- Management Information System
  • Reference No.:- M92776779
  • Price:- $130

Guranteed 48 Hours Delivery, In Price:- $130

Have any Question?


Related Questions in Management Information System

Article effectiveness of a community coalition for

Article : Effectiveness of a Community Coalition for Improving Child Vaccination Rates in New york City By Sally E. Findley Read one of the articles listed below based on the topic of research you selected in Week 1. CHI ...

The case study information systems failure at integrated

The case study Information Systems Failure at Integrated Solutions is a supplementary online case by Jessup and Valacich. Jessup, L., & Valacich. J. (2010). Chapter 8. Information Systems Today: Why IS Matters. Pearson P ...

Part 1identify at least five 5 algorithm differences that

Part 1 Identify at least five (5) algorithm differences that might be considered when choosing a sort algorithm. Offer examples of related sorts with the discussion of each difference considered. Part 2: Rationalize You ...

Question what steps must be followed to create and develop

Question : What steps must be followed to create and develop appropriate unit tests? Provide details on the assertions that must be made to determine appropriate unit tests for your software system.

Using an organization of your choicedevelop a complete

Using an organization of your choice: Develop a Complete Disaster Recovery Plan to be submitted to the executive board of your company. Please note that this is a formal writing, all references (peer-reviewed) must be ci ...

Question the local chamber of commerce has asked you to

Question : The local Chamber of Commerce has asked you to speak at the next meeting on your business' successful social media campaign. They asked you to specifically touch on how social media can be used to make potenti ...

Answer the following question q1nbsp in todays

Answer the following Question : Q1.  In today's world, most college students will own at least one electronic device, such as a cell phone. Many students have multiple electronic devices. Microsoft Access includes a desk ...

Using your organization or an organization you are familiar

Using your organization or an organization you are familiar with, describe an IT Security Infrastructure. You have been tasked with the job of reviewing the current security infrastructure at your organization. Your revi ...

The records are ordered by the date of entry into the union

The records are ordered by the date of entry into the union. The first three lines of the file are: Delaware, DE, 12/7/1787, 1954, 941875 Pennsylvania, PA, 12/12/1787, 44817, 12856989 New Jersey, NJ, 12/18/1787, 7417, 89 ...

Discussion 1security countermeasures and strategic

Discussion 1. "Security Countermeasures and Strategic Governance" Please respond to the following: • Recommend three countermeasures that could enhance the information security measures of an enterprise. Justify your rec ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As