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

Binary5

The document covers various topics related to binary data representation, including binary values, one’s complement, hexadecimal conversion, and binary addition. It also discusses file sizes, character sets, and the concept of overflow in binary addition. Additionally, it includes questions and answers related to these topics for assessment purposes.

Uploaded by

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

Binary5

The document covers various topics related to binary data representation, including binary values, one’s complement, hexadecimal conversion, and binary addition. It also discusses file sizes, character sets, and the concept of overflow in binary addition. Additionally, it includes questions and answers related to these topics for assessment purposes.

Uploaded by

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

Binary

Data in a computer is stored in binary form.


(a) State the number of unique binary values that can be represented in 16 bits.
............................................................................................................................................. [1]
(b) Give the 8-bit one’s complement representation of the denary number −120.
Show your working.
Working .....................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

Answer ......................................................................................................................................[2]

(c) Convert the hexadecimal number A04 into denary.


Show your working.

Working .....................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

Answer ......................................................................................................................................[2]

(d) Show the result of a 2-place left logical shift on the binary number:
01001111
.......................................................................................................................................s2312
7 Complete the binary addition. Show your working.

10011110
01100001

+ 0 0 0 1 1 0 0 1.

[3]

7 A computer stores binary data.


(a) Tick (3) one answer only to identify the largest file size.
3300 kibibytes
0.3 megabytes

3 mebibytes
3300 kilobytes[1]
(b) Subtract the denary number 10 from the denary number 100 using binary subtraction.
Show your working.
Working .....................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

Answer ....................................[3]
(c) Convert the hexadecimal number C0F into denary.
Show your working.
Working .....................................................................................................................................
...................................................................................................................................................

...................................................................................................................................................

Answer ....................................s2412

(a) Complete the following description.

A kibibyte has a ................................................ prefix. Three kibibytes is the same


as ................................................ bytes.

A megabyte has a ................................................ prefix. Two terabytes is the same

as ................................................ gigabytes.[4]
(b) Convert the denary number 241 to hexadecimal.

...................................................................................................................................................

............................................................................................................................................. [1]
(c) State what is meant by an overflow in binary addition.

...................................................................................................................................................

............................................................................................................................................. [1]
(d) Computers use character sets when representing characters in binary.
(i) Complete the table by identifying the number of bits each of the character sets allocates
to each character.

Character set. Number of bits

ASCII. ................

extended ASCII. .....................


Unicode. ..................[1]
(ii) Explain how the word ‘Clock’ is represented by a character set.

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

......................................................................................................................... [2]s2413

mark for each correct answer:


binary
3072
denary/decimal
2000
A kibibyte has a binary prefix. Three kibibytes is the same as 3072 bytes.
A megabyte has a decimal/denary prefix. Two terabytes is the same as 2000
gigabytes.

1(b) 1 mark for correct answer:


F1
1

1(c) 1 mark for a correct answer:


The answer is too long to be represented in the same number of bits as the
binary numbers being added
1
1(d)(i) 1 mark for all 3 answers correct: 1

ASCII 7
Extended ASCII 8

Unicode 32
1(d)(ii) 1 mark each:
 Each character has a unique binary code

The binary code for each character is stored in sequence

You might also like