Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Homework Help/Study Tips 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

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M92777616
  • Price:- $60

Guranteed 36 Hours Delivery, In Price:- $60

Have any Question?


Related Questions in Homework Help/Study Tips

Reflective journalan effective teacher is a reflective

Reflective Journal An effective teacher is a reflective decision-maker who is able to articulate a solid rationale for his or her deliberative teaching practices and professional actions. Your objective in this Assignmen ...

Assignment 2 positive psychology and spiritualitysubstance

Assignment 2: Positive Psychology and Spirituality Substance abuse counseling lends itself nicely to the integration of positive psychology and spirituality. While both of these therapy approaches have been explored for ...

Question select a public health issue and write a 750-1000

Question: Select a public health issue and write a 750-1,000 word policy brief that provides a brief summary of the issue, options to solve the issue, and the best way to solve this issue. Select a public health issue fr ...

The project must be something that can engage people around

The project must be something that can engage people around issues of global concern. Find an art project that uses art to engage people in a public way in order to make a positive difference about an issue of global con ...

Overviewyou are required to modify and logically extend

Overview You are required to modify and logically extend the functionality of a provided code base to implement a game. This requires you to modify the code base as well as create documentation and implement various user ...

Assessment task - part a - case study mrs walker is a 72

Assessment Task - Part A - Case Study Mrs Walker is a 72 year old lady who lives alone and until recently was in her own home with a care package. Mrs Walker has a diagnosis of Alzheimer's dementia (4 months) and has det ...

The main providers of health services are health care

The main providers of health services are health care organizations. To enhance efficiency and cost-effectiveness, health care organizations have combined health care sectors or components to create health systems. These ...

Machine learning project assessment -learning outcomes -

Machine Learning Project Assessment - Learning Outcomes - Perform linear regression, classification using logistic regression and linear Support Vector Machines. Perform non-linear classification using Support Vector Mac ...

Question this module discusses individual and

Question: This module discusses individual and family-related interventions. Discuss the role of individuals and families in changing health behaviors. Drawing from your own personal experiences, provide examples of how ...

Do you think that tracking is a valid method for enhancing

Do you think that tracking is a valid method for enhancing student performance? Or do you think is a mechanism for perpetuating inequality of opportunity based on social class, grace, or sex?

  • 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