top-rated free essay

# Assignment: Hexadecimal and Following Decimal Numbers

By najamforit Jun 21, 2013 536 Words
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
(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)

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

## Related Documents

• ###### Decimal Number

...﻿ NUMBER SYSTEM Definition It defines how a number can be represented using distinct symbols. A number can be represented differently in different systems, for instance the two number systems (2A) base 16 and (52) base 8 both refer to the same quantity though the representations are different. When we type some letters or words, the comp...

• ###### Decimals

...Decimals decimals The decimal numeral system (also called base ten or occasionally denary) has ten as its base.  It is the numerical base most widely used by modern civilizations.  Decimals also refer to decimal fractions. To understand decimal numbers you must first know about Place Value. When we write numbers, the position (or ...

• ###### Computer and Decimal Number

...microprocessor. 5. What is the decimal number 36 converted into binary? 6. What is the binary number 11111 converted into decimal? 7. What is the largest decimal number that can be represented with 7 bits? 8. What power of 2 equals 65,536? 9. A motherboard contains 2 GB of RAM. How many bytes is this? 10. ...

• ###### Number System

... Number Systems Base 2: The Binary Number System Base 8: The Octal Number System Base 16: The Hexadecimal Number System Learning Objectives • At the end of the lesson the student should be able to: – Identify the different number base system – Convert base ten numbers to base two, eight or sixteen – Convert base two, eight...

• ###### Hexadecimal and Base Conversion Feature

...﻿ Activity 2.3.1 Hexadecimal and Octal Number Systems Introduction We all know that digital electronics use the binary number system. However, with new computers containing 32, 64, and even 128 bit data busses, displaying numbers in binary is quite cumbersome. For example, a single piece of data on a 64-bit data bus would look like this: 011...

• ###### assignment

...phones to school. It is very reasonable because bringing phone toschool potentially disrupts the learning process. Moststudents use cell phones irresponsibly. They use cell phones to talk to their friend during class time. They also use the calculator and camera features in the class as well. Those potentially lead less concentration in the ti...

• ###### Number System

...The decimal numeral system (also called base ten or occasionally denary) has ten as its base. It is the numerical base most widely used by modern civilizations. Modern computer hardware and software systems commonly use a binary representation internally (although many early computers, such as the ENIAC or the IBM 650, used deci...

• ###### Prime Number and Terminating Decimal Expansion

...10th Real Numbers test paper 2011 1. Express 140 as a product of its prime factors 2. Find the LCM and HCF of 12, 15 and 21 by the prime factorization method. 3. Find the LCM and HCF of 6 and 20 by the prime factorization method. 4. State whether13/3125 will have a terminating decimal expansion or a non-terminating rep...