EXERCISE

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10

EXERCISE

QUESTION 1-5
1) A unit of an abstract mathematical system subject to the laws
of arithmetic.
B) Natural number
2) A natural number, a negative of a natural number, or zero.

3) The number zero and any number obtained by repeatedly


adding one to it.
B) Natural number
4) An integer or the quotient of two integers (division by zero
excluded)
E) Rational number
5) A value less than zero, with a sing opposite to its positive
counterpart.
D) Negative number

QUESTION 6-11
6) 1110011 +11001
A) 10001100
7) 1010101 + 10101
C) 1101010
8) 1111111 + 11111
B) 10011110
9) 1111111 – 111
F) 1111000
10) 1100111-111
D) 1100000
11) 1010110-101
E) 1010001

QUESTION 12 – 17
12. Binary numbers are important in computing because a binary
number can be converted into every other base.
(True)
13. Binary numbers can be read off in hexadecimal but not in octal.
(False)
14. Starting from left to right, every grouping of four binary digits can
be read as one hexadecimal digit.
(true)
15. A byte is made up of six binary digits.
(false)
16. Two hexadecimal digits cannot be stored in one byte.
(false)
17. Reading octal digits off as binary produces the same result
whether read from right to left or from left to right.
(false)

QUESTION 18-47
18. Distinguish between a natural number and a negative number.

Ans) Natural number do not include a negative num


of zero
19. Distinguish between a natural number and a rational number.
ANS) Rational number that can be written as ratio. It can be full unit,
fraction, positive and negative etc.
Natural number is a positive whole number is a whole unit not a
decimal or fraction.

20. Label the following numbers as natural, negative, or rational.


• a. 1.333333 - Rational (it’s a repeating decimal, which is a
type of rational number)
• b. -1/3 - Negative, Rational
• c. 1066 - Natural, Rational
• d. 2/5 - Rational
• e. 6.2 - Rational
• f. π (pi) – Irrational
21. How many ones are there in 891 if it is a number in each of the
following bases?
1. Base 10 : 891 in base 10 is “891” - 1 one.
2. Base 8 : 891 in base 8 is “1573” - 1 one.
3. Base 12 : 891 in base 12 is “623” - 1 one.
4. Base 13 : 891 in base 13 is “546” - 0 ones.
5. Base 16 : 891 in base 16 is “37B” - 0 ones.
22. Express 891 as a polynomial in each of the bases in Exercise 21.
23. Convert the following numbers from the base shown to base 10.
a. 111 (base 2)
(Ans) 7
b. 777 (base 8)
(Ans). 511
c. FEC (base 16)
(Ans) 4076
d. 777 (base 16)
(Ans) 1911
e. 111 (base 8)
(Ans) 73
24. Explain how base 2 and base 8 are related.
(Ans) For a single digit in base 8, we need up to three digits in base 2.
For two digits in base 8, we need 4,5 and 6digits in base 2. For three
digits in base 8, we need 7,8 or 9digits in base 2. For each additional
digit in base 8, we need up to three spaces to represent it in base 2.
25. Explain how base 8 and base 16 are related.
(Ans) Base 8 and base 16 are both numeral systems that use different
bases to represent different numbers, but they related through their
position in binary number system.
26. Expand the table on page 43 to include the decimals from 11
through 16.
27. Expand the table in Exercise 26 to include hexadecimal numbers.
28. Convert the following binary numbers to octal.
a. 111110110
(Ans) 766
b. 1000001
(Ans) 101
c. 10000010
(Ans) 202
d. 1100010
(Ans) 142
29. Convert the following binary numbers to hexadecimal.
a. 10101001
(Ans) A9
b. 11100111
(Ans) E7
c. 01101110
(Ans) 6E
d. 01121111
(Ans)
30. Convert the following hexadecimal numbers to octal.
a. A9
(Ans) 251
b. E7
(Ans) 347
c. 6E
(Ans) 156
31. Convert the following octal numbers to hexadecimal.
a. 777
(Ans) 1FF
b. 605
(Ans) 185
c. 443
(Ans) 123
d. 521
(Ans) 151
e. I
(Ans) 1
32. Convert the following decimal numbers to octal.
a. 901
(Ans) 1605
b. 321
(Ans) 501
c. 1492
(Ans) 2724
d. 1066
(Ans) 2052
c. 2001
(Ans) 3721
33. Convert the following decimal numbers to binary.
a. 45
(Ans) 101101
b. 69
(Ans) 1000101
c. 1066
(Ans) 10000101010
d. 99
(Ans) 1100011
e. 1
(Ans) 1
34. Convert the following decimal numbers to hexadecimal.
a. 1066
(Ans) 42A
b. 1939
(Ans) 793
c. 1
(Ans) 1
d. 998
(Ans) 3E6b
e. 43
(Ans) 2B
35. If you were going to represent numbers in base 18, which
symbols might you use to represent the decimal numbers 10 through
17other than letters?
(Ans)
36. Convert the following decimal numbers to base 18 using the
symbols you suggested in Exercise 35.
a. 1066
(Ans)
b. 99099
(Ans)
C. I
(Ans)
37. Perform the following octal additions.
a. 770 + 665
(Ans) 1655
b. 101 + 707
(Ans) 1010
c. 202 + 667
(Ans) 1071
38. Perform the following hexadecimal additions.
a. 19AB6 + 43
(Ans) 19AF9
b. AE9 + F
(Ans) AF8
c. 1066 + ABCD
(Ans) BC33
39. Perform the following octal subtractions.
а. 1066 – 776
(Ans) 0070
b. 1234 – 765
(Ans) 0247
c. 7766 – 5544
(Ans) 2222
40. Perform the following hexadecimal subtractions.
a. ABC – 111
(Ans) 9AB
b. 9988-AB
(Ans) 98DD
c. A9F8 – 1492
(Ans) 9566
41. Why are binary numbers important in computing?
(Ans) It enables devices to store, access and manipulate all types of
information directed to and from the CPU or memory.
42. How many bits does a byte contain?
(Ans) A byte consist of 8 adjacent binary digits.
43. How many bytes are there in a 64-bit machine?
(Ans) A 64bit microprocessor can address 16EB.
44. Why do microprocessor such as pagers have only 8bit word?
(Ans) Because it is suitable to compromise between cost, complexity
and performance.
45. Why is it important to study how to manipulate fixed-sized
numbers?
(Ans) Understanding the manipulation of fixed sized-numbers helps
developers and engineer create and design computer system more
efficiently and effectively.
46. How many ones are there in the number AB98 in base 13 ?
(Ans) None
47. Describe how bi-quinary number representation works.
(Ans)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy