Create a truth table and logic circuit diagram

Assignment Help Other Subject
Reference no: EM133100817

ITECH1100 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

1216_Circuit diagrams.jpg

2348_Circuit diagrams1.jpg

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

Truth table 1 : what is the relationship between X and A? What is the relationship between Y and B?

A

B

X

Y

0

0

1

1

0

1

1

0

1

0

0

1

1

1

0

0

Truth table 2

A

B

X

Y

0

0

1

0

0

1

1

0

1

0

0

0

1

1

0

1


Truth table 3 (Optional, tricky)

A

B

X

Y

Z

0

0

1

0

1

0

1

0

1

1

1

0

0

0

0

1

1

1

0

1

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

How can you verify that your design works?

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.

2288

2277

2266

2255

2244

2233

2222

2211

2200










• 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?

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 LibreOfficeCalc, 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.
Logic values and functions
Excel includes logical values - TRUE and FALSE - and logical functions, such as AND(), OR(), XOR() and NOT().

Try switching some values from TRUE and FALSE to 0 and 1 in the spreadsheet. Does it make a difference?

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.

To perform division and discard the remainder, you can use an Excel function called INT()

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.

Hint: you will need to choose an input cell, and then for each step of the algorithm you need a cell for the result of the division and the remainder. The divided result is used as the input for the next step of the algorithm.

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?

Reference no: EM133100817

Questions Cloud

What is the ending stockholders equity amount : The company provides services on credit in the amount of $10,000 to be paid next year. What is the ending stockholders equity amount
What is the meaning of life : Select one of the topics listed below. You are not answering the question in each topic, rather exploring information to make connections. No one has the answer
Manage complex healthcare organizations : Assess how leadership concepts can help healthcare leaders to manage complex healthcare organizations and achieve strategic goals.
Make assumptions about the future trends : Is secondary data the best source of data in the music industry to make assumptions about the future trends? Short explanation
Create a truth table and logic circuit diagram : Understanding of binary numbers and logic circuit diagrams - Create a truth table and logic circuit diagram - Truth tables and logic circuit diagrams
Identify a large public company : Very few companies have unlimited resources, and the ones that don't must make the most of the resources they do have. Identify a large public company that has
Calculate the proper balances for the land : From the given data, calculate the proper balances for the Land, Building, and Land Improvements accounts of Norma Company
How a business is affected by operating : Choose a business with which you're familiar and use it to provide examples of how a business is affected by operating in each environment.
Requires specific health care accommodations : Hospital that has seen an increase in the number of patients coming in for treatment that requires specific health care accommodations

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