0% found this document useful (0 votes)
11 views

Tutorial 1.2

Uploaded by

Danial Haziq
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Tutorial 1.2

Uploaded by

Danial Haziq
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

1.

0 Computer System
1.2 Number System & Representation

1.0 Computer System


1.2 Number System and Representation
(a) Explain data representation in computer (Bit, Byte)
(b) Describe number system (Binary, Decimal, Hexadecimal)
(c) Describe why binary and hexadecimal notation is used in data
representation
(d) Convert between binary and decimal number system
(e) Convert between hexadecimal and decimal number system
(f) Convert between hexadecimal and binary number system

1. Computer uses number system to represent characters.


(a) State two (2) types of number system.

_________________________________________________________________________________________________

_________________________________________________________________________________________________

2. A computer is a programed machine designed to carry out a sequence of arithmetic and


logical operations sequentially and automatically.
(a) What is a bit and how does a series of bits represent data?

_________________________________________________________________________________________________

_________________________________________________________________________________________________

_________________________________________________________________________________________________

3. Computer hard disk has a magnetic disc with 100 cylinders. Each cylinder contains 10
tracks of 10 sectors. Each sector can contain 128 bytes. What is the maximum capacity
of the hard disc in bytes?

_____________________________________________________________________________________________________

_____________________________________________________________________________________________________

4. One of the programming languages requires 896 bits of 64 bits per byte to store
characters. Calculate how much characters can be stored?

_____________________________________________________________________________________________________

_____________________________________________________________________________________________________

“If you want to turn your life around, try thankfulness. It will change your life mightily…

12
1.0 Computer System
1.2 Number System & Representation

5. A number system in a computer ideology is a technique used in representing numbers in


the computer system architecture. Define the following number system.

Number System Description


Binary

Decimal

Hexadecimal

6. Convert the given value into bits.

Kilobytes (KB) Bits


32

64

“Be thankful for what you have; you'll end up having more…”

13
1.0 Computer System
1.2 Number System & Representation

7. Define Bit and Byte


_____________________________________________________________________________________________________

_____________________________________________________________________________________________________

8. In a computer, data can be represented using bits and bytes. How many bytes are
represented in 32 bits data?
_____________________________________________________________________________________________________

_____________________________________________________________________________________________________

9. Write the binary number which relates to the statement given.

Statement Binary Number


Maximum binary number in 3-bit
binary number.
Second large binary number in 4-bit
binary number
Any available number for 1-byte
binary number
Any available number for 2-bit binary
number

10. In the field of Mathematics and Computer Science, hexadecimal is a numeral system with
base 16. The binary numeral system or base 2 number system represents numeric value
using 0 and 1.
(a) Give one (1) advantage of using binary numbers rather than decimal numbers in
computer system.

_________________________________________________________________________________________________

_________________________________________________________________________________________________

_________________________________________________________________________________________________

11. Define number system.

______________________________________________________________________________________________________

______________________________________________________________________________________________________

______________________________________________________________________________________________________

“We don't appreciate what we have until it's gone. Freedom is like that. It's like air. When you
have it, you don't notice it…”

14
1.0 Computer System
1.2 Number System & Representation

12. The hexadecimal (base 16) number system provides us with a shorthand method of
working with binary numbers.
(a) Show the conversion 10 11002 to hexadecimal number.

(b) Show the conversion 3B16 to binary number.

13. Number system is a set of numerals for representing numbers.


(a) Find the missing number from the given sequence of hexadecimal numbers.
F116, F616, FB16, _____, 10516

“Unless you have bad times, you can't appreciate the good times…”

15
1.0 Computer System
1.2 Number System & Representation

(b) Convert decimal number 41410 to hexadecimal number.

(c) Convert hexadecimal number B2616 to binary number.

14. Rina wants to compress her 1 1100 11012 MB file. Convert the size of her file in
decimal numbering system.

15. Determine whether the given binary number 1 1001 11002 is odd or even number.

“We often take for granted the very things that most deserve our gratitude...”

16
1.0 Computer System
1.2 Number System & Representation

16. The numbering system is a way of representing data.


(a) Show the conversion of the binary number 101 10112 to decimal number.

(b) Show the conversion of the hexadecimal number 4F6A16 to decimal number.

(c) Show the conversion of the hexadecimal number F3A216 to binary number.

(d) Show the conversion of the binary number 100 10102 to decimal number.

“Beauty is when you can appreciate yourself. When you love yourself, that's when you're most
beautiful...”

17
1.0 Computer System
1.2 Number System & Representation

(e) Show the conversion of the hexadecimal number D9B116 to binary number.

(f) Show the conversion of A416 to binary number.

(g) Show the conversion of 0011 10012 to decimal number.

(h) Show the conversion of BCD84216 to binary number.

“I do believe that if you haven't learnt about sadness, you cannot appreciate happiness…”

18
1.0 Computer System
1.2 Number System & Representation

(i) Show the conversion of 1100 01112 to decimal number.

17. A computer is a digital device which can only recognize two discrete circumstances: on
and off. Therefore, conversion method is needed for humans to work with computers.
Show your work for the following conversion tasks.
(a) Convert the binary 1000 1100 1001 1010 1110 0011 01012 to hexadecimal
representation.

18. A number system is a way of representing numbers in digital systems.


(a) State the total digits and characters used in hexadecimal number system.

___________________________________________________________________________________________

(b) Explain the reason of using hexadecimal number system in a computer.

_________________________________________________________________________________________________

_________________________________________________________________________________________________

_________________________________________________________________________________________________

“Time and health are two precious assets that we don't recognize and appreciate until they have
been depleted…”

19
1.0 Computer System
1.2 Number System & Representation

19. Convert the following:


(a) Convert the hexadecimal value BACABACA100016 to binary representation.

(b) Convert decimal number 25510 to binary representation.

(c) Convert decimal number 7310 to hexadecimal representation.

(d) Show the conversion of 1001 10112 to decimal number.

“I've learned to appreciate everything that has been given to me…”


20
1.0 Computer System
1.2 Number System & Representation

(e) Convert A3D16 to decimal number. Show your calculation.

20. A number system is a way of representing numbers in digital systems.


(a) Define number system.

__________________________________________________________________________________________________

__________________________________________________________________________________________________

(b) State the positional value of 1 in the binary number 1000002.


__________________________________________________________________________________________________

(c) Explain the reason of using hexadecimal number system in a computer.

__________________________________________________________________________________________________

__________________________________________________________________________________________________

21. The numbering system is used to represent any input from user to be stored in a
computer.
(a) Give the next two (2) hexadecimal integers in ascending order after 1916.

“It's really nice to wake up in the morning realizing that God has given me another day to live…”

21
1.0 Computer System
1.2 Number System & Representation

22. Differentiate binary, decimal and hexadecimal in terms of number system.

Binary Decimal Hexadecimal

23. State (3) benefits of using binary digits to represent data in computers.

_____________________________________________________________________________________________________

_____________________________________________________________________________________________________

_____________________________________________________________________________________________________

_____________________________________________________________________________________________________

_____________________________________________________________________________________________________

_____________________________________________________________________________________________________

_____________________________________________________________________________________________________

_____________________________________________________________________________________________________

“Never let the things you want make you forget the things you have…”
22
1.0 Computer System
1.2 Number System & Representation

24. Convert the following. Show your calculations.


(a) 3563110 to hexadecimal.

(b) 4ECA16 to binary.

(c) FIFA16 to decimal

“Let us learn to appreciate there will be times when the trees will be bare, and look forward to the
time when we may pick the fruit…”
23
1.0 Computer System
1.2 Number System & Representation

(d) 111 0111 0101 01012 to hexadecimal

25. Explain briefly how digital data is being represented in a computer.


_____________________________________________________________________________________________________
_____________________________________________________________________________________________________
_____________________________________________________________________________________________________
_____________________________________________________________________________________________________

“Appreciate your friendship and how much they mean to you and how blessed you feel to have
them in your life.…”
24

You might also like