Top-Rated Free Essay
Preview

Assignment: Hexadecimal and Following Decimal Numbers

Satisfactory Essays
536 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Assignment: Hexadecimal and Following Decimal Numbers
Digital Logic Design – CS220 Assignment # 1 Due Date: 11-03-2013 Section V and V3 1. List the first 16 numbers in base 12. Use the alphabets A and B for the last two digits. (4) Base 10 | Base 12 | 0 | 0 | 1 | 1 | 2 | 2 | 3 | 3 | 4 | 4 | 5 | 5 | 6 | 6 | 7 | 7 | 8 | 8 | 9 | 9 | Last two Digits
10 | A | 11 | B | 12 | 10 | 13 | 11 | 14 | 12 | 15 | 13 |

2. What is the largest binary number that can be obtained by 16 bits? Mention its decimal equivalent. (4)
Largest binary number is (11111111111111111111)2 = (65535)10
Number of bits=n=16
2n-1=216-1=(65535)10
3. Covert the following numbers with indicated bases to decimal: (4310)5 (50)7 (12121)3
(198)12 , ( 1110101.11)2 (4)
(4310)5 = 4x53+3x52+1x51+0x50=(580)10
(50)7 = 5x71+0x70 =(35)10
(12121)3 = 1x34+2x33+1x32+2x31 + 1x30 =(51)10
(198)12 = 1x122+9x121 + 8x120 = (260)10
( 1110101.11)2 = 1x26+1x25+1x22+2x21 + 1x20 =

4. Covert the following decimal numbers to the indicated bases: (4) (a) 7562.45 to octal (b) 1938.257 to hexadecimal (c) 175.175 to binary

5. Convert the hexadecimal number F3A7C2 to binary and octal (2)

6. Add the following numbers without converting to decimal (6) (11010101)2 and (01010111)2 7. Determine the value of the base x if (211)x = (152)8 . (4)

8. Obtain the 1’s and 2’s complement of the following binary numbers: 10101010, 0111000, and 00000.

9. Obtain 9’s and 10’s complement of the following decimal numbers: 13579, 90090 and 00000.

10. Find the 10’ complement of (935)11.

11. Perform the subtraction with the following decimal numbers using (1) 10’s complement and (2) 9’s complement. Check your answer by straight subtraction.

a. 5250 – 321 b. 20 – 1000

12. Perform the subtraction with the following decimal numbers using (1) 2’s complement and (2) 1’s complement. Check your answer by straight subtraction.

c. 11010 – 1101 d. 100 - 110000

13. Represent decimal number 8620 in BCD and as a binary number. (4)

14. Assign a binary code in some orderly manner to the 52 playing cards. Use the minimum number of bits. (4)

15. List the ten BCD digits with an even parity in the leftmost position. (Total of five bits per digit). Repeat with an odd parity bit. (4)

16. Write your full name in ASCII using an eight bit code with the leftmost bit always 0. Include a space between names and a period after middle initial. (4)

17. Decode the following ASCII code : (4 )

18. Show the bit configuration that represents the decimal numbers 295 (a) in binary, (b) in BCD, and (c) in ASCII (4)

19. “Schoolhouse Rock’ had a song called ‘Little Twelvetoes’ which had an alien character with 6 fingers on each hand who could count by 12 as easily as we count by 10. If he counted to 100 in his base 12 (duodecimal), what would that be in decimal? (5)

20. Fill out the following table: (15)

Decimal | Binary | Octal | Hexadecimal | 1 | | | | 2 | | | | 3 | | | | 4 | | | | 5 | | | | 6 | | | | 7 | | | | 8 | | | | 9 | | | | 10 | | | | 11 | | | | 12 | | | | 13 | | | | 14 | | | | 15 | | | | 16 | | | | 17 | | | | 18 | | | | 19 | | | | 20 | | | |

You May Also Find These Documents Helpful

  • Satisfactory Essays

    NT1210 Lab 1

    • 319 Words
    • 4 Pages

    4. The leading Zeros would make it difficult to build a decimal to binary conversion table in excel. Excel doesn’t see numbers with leading 0s as real numbers.…

    • 319 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    NT1210 Lab 1

    • 473 Words
    • 3 Pages

    Create an expanded mapping similar to Figure 1-3 for the binary number 11100010 with base 2 using either…

    • 473 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    NT1210 Week 1 Labs 1

    • 3680 Words
    • 20 Pages

    Using the example in Figure 1- 5 and the steps that followed, create a binary conversion for the decimal value 156.…

    • 3680 Words
    • 20 Pages
    Satisfactory Essays
  • Good Essays

    Pt1420 Unit 5 Study Guide

    • 2789 Words
    • 12 Pages

    2. Convert the number obtained in decimal into binary dividing the number by 8 until the quotient is zero.…

    • 2789 Words
    • 12 Pages
    Good Essays
  • Satisfactory Essays

    Unit 1 Labs JM

    • 964 Words
    • 5 Pages

    Exercise 1.2.9 – 1111, compares 2 bits and produces a 1 if either of them are a 1 or a 0 otherwise…

    • 964 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The range of values represented by an 8-bit binary number is _____. 4. The binary equivalent of 228 is _________. 5. The result of 7 – 2 using 1’s complement notation is 6.…

    • 4533 Words
    • 19 Pages
    Satisfactory Essays
  • Satisfactory Essays

    1) Numbers can be represented in binary (using 2 symbols 0 and 1) and hexadecimal ( 16 symbols…

    • 480 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Nt1210 Chapter 1 Review

    • 1315 Words
    • 6 Pages

    7. A user has opened a calculator application, typed the numbers 123456789, and then done some math problem using this number. Which of the following determine, in part, what bits the computer store in RAM to represent the number123456789?…

    • 1315 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Lab 1 1

    • 814 Words
    • 9 Pages

    Using the example in Figure 1-5 and the steps that followed, create a binary conversion for the decimal value 156.…

    • 814 Words
    • 9 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Pt1420 Unit 7 Study Guide

    • 582 Words
    • 3 Pages

    19.Write a program that prompts the user to enter a character and on subsequence line print its ASCII code in binary and the number of 1 bit in its ASCII code. Page: 136…

    • 582 Words
    • 3 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

    Quiz Comp Archi

    • 438 Words
    • 3 Pages

    6) What are combinational logic gates? Please draw the symbol, circuit schematic and truth table for the following gates:…

    • 438 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    practice exam

    • 761 Words
    • 8 Pages

    The average mass of an oxygen atom is 5.3 × 10-26 kg. Calculate the kinetic energy of a mole of oxygen atoms, all moving at a speed of 400 m/s (1000 mph). K. E. = .…

    • 761 Words
    • 8 Pages
    Satisfactory Essays
  • Good Essays

    Compter Science

    • 819 Words
    • 4 Pages

    Any whole number that can be represented in base 10 can also be represented in base 2, although it may take ____ digits.…

    • 819 Words
    • 4 Pages
    Good Essays
  • Good Essays

    it320 assignment 1-3

    • 1779 Words
    • 8 Pages

    1. Which of the following is true about 1 bit? (C. Represents one binary digit)…

    • 1779 Words
    • 8 Pages
    Good Essays