Preview

Memory storage and numbering system

Good Essays
Open Document
Open Document
705 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Memory storage and numbering system
In this lab, you will demonstrate the ability to work with decimal and hexadecimal numbers.
Required Setup and Tools
In this lab, you will need only paper and pencil to do the required work. However, the use of a calculator is permitted to verify the results of a calculation. The Windows calculator may be used for this purpose.
Recommended Procedures
Task 1: Convert Decimal Number into Binary
Procedure
1. Convert the decimal number 125 into binary. Use the division-by-two method shown in the following example below.
2. Convert your binary result back into decimal to prove your answer is correct. This is also shown in the following example.
Example:
Convert the decimal number 50 into binary using the division-by-two method. Convert the binary result back into decimal.
Solution:
50/2= 25
25/2= 12 remainder 1
12/2= 6 remainder 0
6/2= 3 remainder 0
3/2= 1 remainder 1
1/2= 0 remainder 1 (most significant bit [MSB])
Read the answer from bottom (MSB) to top least significant bit (LSB): 110010
Convert 110010 binary into decimal.
Weights 32 16 8 4 2 1
Bits 1 1 0 0 1 0
Adding the weights whose bits are 1: 32 + 16 + 2 = 50
Solution:
125/2=62 remainder 1
62/2=31 remainder 0
31/2=15 remainder 1
15/2=7 remainder 1
7/2=3 remainder 1
3/2=1 remainder 1
1/2= 0 remainder 1
Reading the answer from bottom to top =1111101

Weights 64 32 16 8 4 2 1
Bits 1 1 1 1 1 0 1
Adding the weights whose bits are 1: 64+32+16+8+4+1=125

Task 2: Convert Binary Number into Decimal
Procedure
1. Convert the binary number 10101101 into decimal. Use the method of adding weights, as shown in the example, from Task 1.
2. Use the Windows calculator to prove your answer is correct. This process is shown in the following example.
Example:
Use the Windows calculator to prove that the binary number 110010 equals 50 decimal.
Solution:
First, start the Windows calculator by clicking Start and then clicking Run. Enter calc in the Open

You May Also Find These Documents Helpful

  • Satisfactory Essays

    10. The significant digits of 0012340 are _______. 11. The bit pattern 1101 Excess Number converted value is ________.…

    • 4533 Words
    • 19 Pages
    Satisfactory Essays
  • Better Essays

    Course Project 1

    • 1403 Words
    • 6 Pages

    You must show all work and calculations by typing out the longhand formula, or post a screen shot of any online calculator used, or attach an excel file showing formulas/calculations in order to earn any credit…

    • 1403 Words
    • 6 Pages
    Better Essays
  • Powerful Essays

    CTR 212 Assignment 2

    • 818 Words
    • 5 Pages

    Gray code does not use position weighting. Only one bit changes at a time, so the speed of transition is considerably faster than other codes.…

    • 818 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    Experiment was also used as an intro to using basic lab equipment, computer programs and calculating errors. With many different calculation, the latter was easily fulfilled and more practice with the equipment and programs will lead to a more experienced familiarity to the physics lab.…

    • 822 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    PURPOSE: The purpose of this experiment is for the students to get a better knowledge with the laboratory tools and techniques. This experiment taught me how to convert between SI units and standard American units of mass, length, temperature, volume and time as well as how to measure the units. Students become proficient in laboratory techniques such as measuring temperature and volume and calculating within them.…

    • 1411 Words
    • 11 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Managerial MIdterm

    • 638 Words
    • 3 Pages

    Note, this is a closed book examination. Use only simple calculators; smart calculators, smart phones and cell phones cannot be used. There are three questions. Good luck.…

    • 638 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Problem definition: Write a program that would calculate and display the results for the multiplication table for values ranging from 1 to 100.…

    • 345 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    In this lab you will apply your knowledge of the scientific method in a laboratory setting. You will also demonstrate the use of experimental terminology and design.…

    • 559 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    2 2 2 2 2 2 2 2. You use the method of subtraction, if you can subtract the number that corresponds with the value you “2” you are dealing with you need to place a 1 under the 2 that corresponds with the number you are subtracting. This is like saying yes the number works. If it doesn’t subtract you place a zero underneath the “2” that you are dealing with, this is like saying “no” it doesn’t represent anything. That is the basic formula for doing binary. With the math diagram I can will show the practice in more detail.…

    • 332 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Final Exam Paper

    • 407 Words
    • 2 Pages

    Calculators are not allowed. Please write the name of your weekly tutor on the front of the exam book.…

    • 407 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    math

    • 1386 Words
    • 6 Pages

    Calculators are expected to be used in class. You will be doing calculations during lectures and laboratory periods; especially during quizzes and exams. Your calculator should be capable of handling exponential notations, logarithmic calculations, and “root” calculations. You will not be allowed to share calculators during exams. Please have your calculators at all times.…

    • 1386 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    //NOTE: I use Float instead of Integer because there is a possibility of losing a trailing decimal if //numerical data is calculated as an Integer.…

    • 617 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Finance Exam Study Guide

    • 1686 Words
    • 7 Pages

    Do not use red ink or pencil in your answers. Set your calculator to 4 decimal places or more for all calculations. Show the workings in your calculations. No marks will be given if no workings are provided. Take time to write clearly. No credit will be given for illegible answers. Use diagram(s) where relevant to help illustrate your answers.…

    • 1686 Words
    • 7 Pages
    Better Essays
  • Better Essays

    Retirement Planning

    • 1418 Words
    • 6 Pages

    Using the calculator that was provided for us to do this portion of our assignment advised…

    • 1418 Words
    • 6 Pages
    Better Essays
  • Good Essays

    Syllybsu

    • 1624 Words
    • 7 Pages

    For this course, a TI-83 graphing calculator or better is required. Please bring it to every class. Calculators may not be shared on quizzes or exams. If you don't bring a calculator, you may not borrow one from a classmate during the quiz or exam. CAS calculators may not be used.…

    • 1624 Words
    • 7 Pages
    Good Essays