100% found this document useful (1 vote)
2K views

Problems: Cameron Hulse

This document contains 13 problems related to binary, hexadecimal, and binary-coded decimal (BCD) number representations. The problems involve converting between decimal, binary, and hexadecimal numbering systems as well as calculating bit widths, ranges, and sampling rates for digital systems. True/false and multiple choice questions are also included regarding BCD representations.

Uploaded by

Cameron Hulse
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
2K views

Problems: Cameron Hulse

This document contains 13 problems related to binary, hexadecimal, and binary-coded decimal (BCD) number representations. The problems involve converting between decimal, binary, and hexadecimal numbering systems as well as calculating bit widths, ranges, and sampling rates for digital systems. True/false and multiple choice questions are also included regarding BCD representations.

Uploaded by

Cameron Hulse
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Problems

Cameron Hulse

1. What is the minimum number of bits needed to represent 76810 using unsigned
binary representation?
512 + 256 = 768 768 = 1100000000 = 10 bits
2. What is the largest possible integer that can be represented with a 6-bit unsigned
binary number?
111111 = 32+16+8+4+2+1 = 63 OR 26-1 = 63
3. Convert each of the following values to decimal.
a. 100111012
1 + 4 + 8 + 16 + 128 = 157
b. 101012
1+4+16 = 21
c. 1110011012
1+4+8+64+128+256 = 461
d. 011010012
1+8+32+64 = 105
4. Convert each of the following values to an 8-bit unsigned binary value.
a. 3510
32+2+1 = 35 = 00100011
b. 10010
64+32+4 = 100 = 01100100
c. 22210
128+64+16+8+4+2 = 222 = 11011110
d. 14510
128+16+1 = 145 = 10010001
5. If an 8-bit binary number is used to represent an analog value in the range from 010
to 10010, what does the binary value 011001002 represent?
011001002 represents 100
6. If an 8-bit binary number is used to represent an analog value in the range from 32
to 212, what is the accuracy of the system? In other words, if the binary number is
incremented by one, how much change does it represent in the analog value?
m = (212-32) / (28 - 1) m = 180/255
m = 0.705882 analog value /per binary increment
7. Assume a digital to analog conversion system uses a 10-bit integer to represent
an analog temperature over a range of -25o F to 125o F. If the actual temperature
being read was 65.325o F, what would be the closest possible value that the
system could represent?
m = (125 + 25) / (210 - 1) = 250/1023 = 0.244379 F / binary increment
65.325o F / 0.244379 increment = 267.310 increments
267.310 increments * 0.244379 F / binary increment = 65.324o F
Problems
Cameron Hulse

8. What is the minimum sampling rate needed in order to successfully capture


frequencies up to 155 KHz in an analog signal?
0Hz to 155000Hz 155000Hz * 2 = 310000Hz = 310KHz
9. Convert the following numbers to hexadecimal.
a. 10101111001011000112
0101 0111 1001 0110 0011
5 7 9 6 3 = 57963
b. 100101010010011010012
1001 0101 0010 0110 1001
9 5 2 6 9 = 95269
c. 011011010010100110012
0110 1101 0010 1001 1001
6 13 2 9 9 = 6D299
d. 101011001000102
0010 1011 0010 0010
2 11 2 2 = 2B22
10. Convert each of the following hexadecimal values to binary.
a. ABCD16
A B C D = 10 11 12 13 = 1010 1011 1100 1101
b. 1DEF16
1 D E F = 1 13 14 15 = 0001 1101 1110 1111
c. 864516
8 6 4 5 = 1000 0110 0100 0101
d. 925A16
9 2 5 A = 9 2 5 10 = 1001 0010 0101 1010
11. True or False: A list of numbers to be added would be a good candidate for
conversion using BCD. (Unsure)
True
Problems
Cameron Hulse

12. Determine which of the following binary patterns represent valid BCD numbers
(signed or unsigned). Convert the valid ones to decimal. (Unsure)
a. 0101 0111 1001 0110 0011
5 7 9 6 3
b. 1001 0101 0010 0110 1001
9 5 2 6 9
c. 0110 1101 0010 1001 1001
Not Valid
d. 1100 0110 0100 0001 0000
Not Valid
e. 1101 1001 0111 0010
Not Valid
f. 1111 0001 0010 0101 0110 1000
Not Valid
g. 0010 1011 0010 0010
Not Valid
13. Convert the decimal number 9640410 to BCD.
9640410
1001 0110 0100 0000 0100 0001 0000

You might also like