Preview

Logic Design

Powerful Essays
Open Document
Open Document
2184 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Logic Design
LOGIC DESIGN ASSIGNMENT 1. A.

B. To convert 85.85 from its decimal form to binary.
2|85 0.85 × 2 = (1). 70
2|42 r 1 0.70 × 2 = (1).40
2|21 r 0 0.40 × 2 = (0).80
2|10 r 1 0.80 × 2 = (1).60
2|5 r 0 0.85₁₀ = .1101₂
2|2 r 1
2|1 r 0 =1010101₂ THEREFORE 85.85₁₀ = 1010101.1101₂
2|0 r 1
To convert 85.85₁₀ to Octal

8|85 0.85 x 8 = (6).80
8|10 r 5 0.80 x 8 = (6).40
8|01 r 2 0.40 x 8 = (3).20
8|00 r 1 85₁₀ = 125₈ 0.20 x 8 = (1).60 .85₁₀ = .6631₈
THEREFORE 85.85₁₀ = 125.6631₈

To convert 105.15₁₀ to Binary
2|105 .15 x 2 = (0).30
2|52 r 1 .30 x 2 = (0).60
2|26 r 0 .60 x 2 = (1).20
2|13 r 0 .20 x 2 = (0).40 .15₁₀= .0010₂
2|06 r 1
2|03 r 0
2|01 r 1
2|00 r 1 105₁₀ = 1101001₂

THEREFORE 105.15₂ = 1101001.0010₂

To convert 105.15₁₀ to Octal

8|105 .15 x 8 = (1).20
8|13 r 1 .20 x 8 = (1).60
8|01 r 5 .60 x 8 = (4). 80 .15₁₀ = 1146₈
8|00 r 1 .80 x 8 = (6).40
105₁₀= 151₈ THEREFORE 105.15₁₀ = 151.1146₈

C. Arithmetic operations using the 2’s complement notation.

67 + (-67)
67₁₀ = 01000011₂
-67₁₀ =10111100₂ +00000001₂ = 10111101₂
01000011₂ + 10111101₂ = 00000000₂ (67) + (-67) = 0

87- 5
87 = 01010111₂
5 = 0000101₂
-5 = 11111010₂ + 00000001₂ = 11111011₂
87- 5 =01010111₂ + 11111011₂ = 01010010₂

-37-(40)
37 = 00100101₂
-37 =11011010₂ + 00000001₂ = 11011011₂
40 = 00101000₂
-37-(40) = 11011011₂ – 00101000₂ = 1011001₂

25-(-25)
25 =00011001₂
-25 = 11100110₂ + 00000001₂ =11100111₂
25-(-25) = 00011001₂ – 11100111₂ = 10110010₂

2. Why is parity bit required? How is it used in correcting single bit errors? Explain with the help of an example.

A parity bit is a bit, with a value of 0 or 1, which is added to a block of data for error detection purposes. It gives the data either an odd or even parity, which is



References: 1. http://www.facstaff.bucknell.edu/mastascu/elessonshtml/logic/logic3.html 2. http://courseware.ee.calpoly.edu/~rsandige/KarnaughExplorer.html 3. http://www.ee.surrey.ac.uk/Projects/Labview/minimisation/karnaugh.html 4. http://k-map.sourceforge.net/ 5. http://cse4k12.org/binary/convert_bin2oct.html 6. http://www.robotroom.com/NumberSystems.html 7. http://academic.evergreen.edu/projects/biophysics/technotes/program/2s_comp.htm 8. http://www.cs.cornell.edu/~tomf/notes/cps104/twoscomp.html

You May Also Find These Documents Helpful

  • Good Essays

    Nt1310 Unit 9 Exam Paper

    • 486 Words
    • 2 Pages

    Following the two scenarios where if one bit is converted and results in the same received pattern +-0+-0-+…

    • 486 Words
    • 2 Pages
    Good Essays
  • Good Essays

    A Parity bit is a single bit that is added to the data, during data transmission for error checking or data loss that may have occurred. The parity bit is either zero or one.…

    • 764 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    2: Redundant via Hamming code; an error-correcting code is calculated across corresponding bits on each data disk, and the bits of the code are stored in the corresponding bit positions on multiple parity disks. 3: Bit-interleaved parity; similar to level 2 but instead of an error-correcting code, a simple parity bit is computed for the set of individual bits in the same position on all of the data disks. 4: Block-interleaved parity; a bit-by-bit parity strip is calculated across corresponding strips on each data disk, and the parity bits are stored in the corresponding strip on the parity disk. 5: Block-interleaved distributed parity; similar to level 4 but distributes the parity strips across all disks. 6: Block interleaved dual distributed parity; two different parity calculations are carried out and stored in separate blocks on different…

    • 1721 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    “New York Freelance Technology is a web based organization affiliated with Montana Freelance Technology and GMR Web Services that continues to give you quality hosting at an affordable cost.” (New York Freelance Technology, 2011) Not only does NY Freetech perform web specific tasks, they also handle numerous person to person tasks such as custom computer building, videography and DVD authoring. Their web related tasks include web design, web development, graphics design, web hosting and DNS (domain name system). One thing NY Freetech does not have is a support forum for their customers. To contact customer service, currently you have to email them and wait for a reply. What is needed is a support forum. Customers or prospect customers can post in the forums and ask questions and the administrators can answer the questions. If other customers or users know the answer to the question, they can also answer. That will help the customers questions get answered faster. Upon reviewing the company website, I noticed there was no support forum. There is a small FAQ (frequently asked questions) but no forum. The personnel involved in the project have a certain role they must play, the steps of the program development cycle must be followed and the project should be performed in a modular fashion. For every task performed in any organization, personnel involved have roles they must play.…

    • 930 Words
    • 4 Pages
    Good Essays
  • Better Essays

    Computer programs can help us solve everyday issues that might seem impossible. Household budgeting is an issue that burdens many Americans. Every individual is ultimately responsible for managing his or her finances. Developing a computer program that can help individuals manage their budget will greatly improve their life quality. The program would have to follow the program development cycle model and use the modular approach.…

    • 890 Words
    • 4 Pages
    Better Essays
  • Satisfactory Essays

    Logic and Correct

    • 29095 Words
    • 117 Pages

    Congratulations! 100% Correct! Formal Commands [Quiz #1] completed! Congratulations! 100% Correct!…

    • 29095 Words
    • 117 Pages
    Satisfactory Essays
  • Good Essays

    Assignment 1: Logic

    • 605 Words
    • 3 Pages

    Problem: You are playing Guess Your Card with three (3) other players. Here is what you see:…

    • 605 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Design a modular program that asks the user to enter a distance in kilometers, and the converts that distance to miles. The conversion formula is as follows:…

    • 620 Words
    • 5 Pages
    Satisfactory Essays
  • Powerful Essays

    Programmable Logic Design

    • 15200 Words
    • 61 Pages

    Fourth Edition ISE 5.1i Programmable Logic Design Quick Start Hand Book By Karen Parnell & Nick Mehta June 2003 ABSTRACT Whether you design with discrete logic, base all of your designs on microcontrollers, or simply want to learn how to use the latest and most advanced programmable logic software, you will find this book an interesting insight into a different way to design. Programmable logic devices were invented in the late seventies and since then have proved to be very popular and are now one of the largest growing sectors in the semiconductor industry. Why are programmable logic devices so widely used?…

    • 15200 Words
    • 61 Pages
    Powerful Essays
  • Powerful Essays

    Fuzzy Logic

    • 2457 Words
    • 10 Pages

    Fuzzy Logic requires some numerical parameters in order to operate such as what is considered significant error and significant rate-of-change-of-error, but exact values of these numbers are usually not critical unless very responsive performance is required in which case empirical tuning would determine them. For example, a simple temperature control system could use a single temperature feedback sensor whose data is subtracted from the command signal to compute "error" and then time-differentiated to yield the error…

    • 2457 Words
    • 10 Pages
    Powerful Essays
  • Satisfactory Essays

    A RISC machine performs the above-described signed integer multiplication of n by n bits using a multiplier with the following components:…

    • 380 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    The logical framework approach and the writing of proposals 1 GENERAL REMARKS 2 What is a proposal?  A proposal is a crucial document: donors will decide whether or not to finance your project based on what you have written. …

    • 4452 Words
    • 59 Pages
    Powerful Essays
  • Powerful Essays

    logic gate

    • 900 Words
    • 4 Pages

    Note 1: Not more than one output should be shorted at a time, nor for more than 1 second.…

    • 900 Words
    • 4 Pages
    Powerful Essays
  • Powerful Essays

    mcs 012 solved 2

    • 1151 Words
    • 36 Pages

    Perform the following arithmetic operations :Using binary signed 2’s complement notation for integers. You may assume that the maximum size of…

    • 1151 Words
    • 36 Pages
    Powerful Essays
  • Good Essays

    The study of logic

    • 2914 Words
    • 12 Pages

    Sound reasoning is the basis of winning at argument. Logical fallacies undermine arguments. They are a source of enduring fascination, and have been studied for at least two-and-a-half millennia. Knowledge of them is useful, both to avoid those used inadvertently by others and even to use a few with intent to…

    • 2914 Words
    • 12 Pages
    Good Essays