Preview

Mahatma Gandhi Leadership Styles

Powerful Essays
Open Document
Open Document
4226 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Mahatma Gandhi Leadership Styles
Computer Systems
1. Data Representation
i. The Binary System
Reasons for using binary
    Easy to represent ‘ON’ and ‘OFF’ as 0 Volts and a higher voltage (often above 1V – nominally 5V). Fewer rules needed with binary (0, 1) arithmetic than with decimal (0..9) arithmetic. Any loss of voltage due to resistance etc does not change value. Easy to represent 0, 1 with other devices e.g. pits and lands on a CDROM or directions of magnetic field on a hard disc.

Binary Arithmetic
      Bits – a binary digit. Byte – 8 bits Kilobyte – 1024 bytes (210 bytes) Megabyte – 1024 x 1024 bytes Gigabyte – 1024 x 1024 x 1024 bytes Terabyte – 1024 x 1024 x 1024 x 1024 bytes

Place Values the values are doubled as you add more digits starting from the least significant bit 128 64 32 16 8 4 2 1
Most significant bit Least significant bit

Converting between binary and decimal Add the place values e.g. 1011 1001 = 1 +8 + 16 + 32 + 128 = 185 in decimal Converting between decimal and binary Divide repeatedly by 2.

ii.

Storing Numbers
Positive integers are stored as described above Negative integers are stored either using signed bit or 2’s complement. Signed Bit The most significant bit is 0 if the number is +ve, 1 if –ve. However there are two zeroes (+0 and –0) and the ordinary rules of arithmetic don’t work. 2’s complement To find the 2’s complement of a number change all 0’s to 1’s and 1’s to 0’s. Then add 1. Only one zero and all the ordinary rules of arithmetic work. The most significant bit will be a 1 if the number is –ve.

Ron Loan

Currie Community High School

1

Computer Systems
Floating Point Numbers are stored using mantissa and exponent. E.g. 1011.11 is equal to .101111 X 2 100 (since 100 in binary is 4 in decimal and the point has been moved 4 places) This is stored as 101111 in the mantissa, 100 as the exponent. Because of the number of bits being used to store the number is limited. The mantissa cannot be exactly accurate. Increasing

You May Also Find These Documents Helpful

  • Satisfactory Essays

    NT1210 Week 1 Labs 1

    • 3680 Words
    • 20 Pages

    They are equivalent because binary is based on 4 and 8 digits. If there are less than 4 digits, then the number will lead with or be replaced with a 0. If there are…

    • 3680 Words
    • 20 Pages
    Satisfactory Essays
  • Good Essays

    Pt1420 Unit 5 Study Guide

    • 2789 Words
    • 12 Pages

    2. Convert the binary number to hexadecimal by grouping bits in threes, starting from right.…

    • 2789 Words
    • 12 Pages
    Good Essays
  • Satisfactory Essays

    2640 U3 A1

    • 292 Words
    • 2 Pages

    Be sure to show your work, meaning your steps to convert binary to decimal, etc.…

    • 292 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Nt1310 Unit 1 Assignment

    • 1994 Words
    • 8 Pages

    3. Add 48 decimal to 51 decimal using the binary arithmetic; Give the answer in decimal.…

    • 1994 Words
    • 8 Pages
    Better Essays
  • Satisfactory Essays

    Test Bank Ch1

    • 2610 Words
    • 11 Pages

    10. What value is represented by the bit pattern 01011100 when interpreted using floating-point format in which the most significant bit is the sign bit, the next three bits represent the exponent field in excess notation, and the last four bits represent the mantissa?…

    • 2610 Words
    • 11 Pages
    Satisfactory Essays
  • Good Essays

    First we can see that it is obvious that the integral part of a decimal number will always be represented by an integral binary (with no fractional part) while the fractional part of a decimal number will always be represented by a fractional part of a binary number (with no integral part). An integral number will be integral in any integral base and a fractional number will be fractional in any integral base. This means we can split a decimal number into its integral and fractional parts, convert them separately to binary and add them up again in binary. This means we can forget about the integral part and concentrate on converting the fractional part. Some decimal fractions may convert into binary exactly (like .5625) but others may not (like .5624) and we may get an infinite number of binary digits in the binary fraction.…

    • 593 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Significant Figures

    • 968 Words
    • 4 Pages

    When we look at a number, its first significant figure is the first digit from the left, other than 0.…

    • 968 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    Java Cis Assignment 1

    • 674 Words
    • 3 Pages

    1(h) Main is a keyword that tells jave to begin program execution at that point.…

    • 674 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Physics Formula

    • 2243 Words
    • 9 Pages

    Prefixes Prefixes Tera Giga Mega Kilo deci centi milli micro nano pico Units for Area and Volume 1 m = 102 cm 1 m = 10 cm…

    • 2243 Words
    • 9 Pages
    Good Essays
  • Good Essays

    matyhs

    • 2308 Words
    • 10 Pages

    Since, remainder 102 ≠ 0 , by applying Eudid’s division algorithm to 255 and 102…

    • 2308 Words
    • 10 Pages
    Good Essays
  • Good Essays

    • The result is a number that is n + m - 1 bits long…

    • 1292 Words
    • 31 Pages
    Good Essays
  • Satisfactory Essays

    Ihih

    • 1923 Words
    • 8 Pages

    Given that the first bit is reserved for the sign and followed by 6 bits for the…

    • 1923 Words
    • 8 Pages
    Satisfactory Essays
  • Good Essays

    * Binary Number System - The binary number system is a numbering system that represents numeric values using two unique digits (0 and 1). Mosting computing devices use binary numbering to represent electronic circuit voltage state, (i.e., on/off switch), which considers 0 voltage input as off and 1 input as on.…

    • 439 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Digital Prepress WORKFLOW

    • 17867 Words
    • 65 Pages

    circuits which can be turned on and off at a rapid pace. A circuit that…

    • 17867 Words
    • 65 Pages
    Good Essays
  • Good Essays

    comp systems engineering

    • 3587 Words
    • 15 Pages

    Modern digital computers represent all information as sets of binary digits, i.e., 0s and 1s, or bits. Whether you are…

    • 3587 Words
    • 15 Pages
    Good Essays

Related Topics