Digital revolution lab - logic and binary

Assignment Help Other Subject
Reference no: EM131938960

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: EM131938960

Questions Cloud

What is the amount that someone should offer you : If you were to sell your bond today, what is the amount that someone should offer you (in other words, the market value of your bond!)
Ball from a box containing balls numbered : Write the sample space corresponding to ;-1/ Select a ball from a box containing balls numbered 1 to 50 ?2/ Select a ball from an urn containing balls numbered
Contrast perpetual inventory and periodic inventory systems : Compare and contrast Perpetual Inventory and Periodic Inventory systems of determining inventory on hand.
What should mary do take the payment right now : Mary has won the Iowa lottery and is faced with a tough choice: What should Mary do: take the payment right now or wait for the 20 payments
Digital revolution lab - logic and binary : Understanding the Digital Revolution Lab - Logic and Binary Complete the truth tables for each of the given logic diagrams - Binary and representing integers
What is t recognized gain ignoring partnership income : T received inventory worth $30,000 with a basis of $12,000. What is T's recognized gain, ignoring partnership income
Develop a mathematical model for the total profit realized : Let x indicate the number of pairs of shoes produced. Develop a mathematical model for the total cost of producing x pair of shoes.
Determine the number of training programs : Formulate a linear programming model that can be used to determine the number of training programs on teaming and the number of training programs
Compute the annual rate of return for the new hoist : Legend Service Center just purchased an automobile hoist for $32,900. Compute the annual rate of return for the new hoist

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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