# 07 - Practice Test

1. Binary is a language that is made up of just two digits, namely 1 and 0. It is the language that computers utilize for the representation of data.

False

True

2. Why do computers require Binary?

Because they are made up of billions of tiny switches that can be either on or off

Because they are made up of little chips that each have Binary cards in them

Because they can't think correctly

Because they are made up of two numbers which correspond to on and off

3. What is the decimal value of this binary number? 0123593999999991

10101111010

This is not a binary number - they must have only 1s and 0s

1 million

1234435633

4. What would your response to line 1 in the code below be?
```print("001 in Binary is....2 in Decimal")
print("Do you agree with the above statement?")

No - 001 in Binary is actually 10 in Decimal

I have no idea

Incorrect. 001 is 1 in Decimal

Correct!

5. 3 in Binary is 00000011
```Explanation below:

The reason for this is simply because the two 1s are added up under
their respective place values:

128   64   32   16   8   4   2    1
0     0    0     0   0   0   1    1   = 2 + 1 = 3```

False

True

6. What is the following binary number in Decimal? 00000111
```Here are the place values to help you convert from Binary to Decimal.

128   64   32   16  8   4   2   1
0     0    0    0   0   1   1   1

```

6

7

111

0

7. Look at the question in the image below. Select the right answer from the following options: 16

001

34

19

8. Look at the question in the image below and select the right answer from the given options. 43

129

100

188

9. Look at the question below and select the correct answer (a binary number) from the given options. 00010110

10101010

00000000

11111111

10. The following image shows all the rules of Binary addition. For instance in Binary 0 + 0 = 0. And 1 + 1 = 0 carry 1. Look carefully at all the rules shown in the image and state whether it is True (correct) or False (incorrect) False

True

11. The first binary addition example has been done for you. Complete the second and select the correct answer from the options below. 12. Watch the following video that demonstrates binary addition. Where does the student go wrong in his calculation?

1 + 0 should be 0, so the student should have written 0 each time there was a 1+0

1 and 1 always gives 0 carry 1, but the student wrote 1 (instead of 0 in the third column from the right)

1 + 1 should give 2, and so the student should have written 2, instead of 1.

The student has not made any mistakes

13. What is the result of the following Binary addition? 11111001

00000001

10101010

00101110

14. What is the outcome of this Binary addition? Select one of the options below. 00011100

11100011

11100001

01001001

15. Look at the binary code given that has been used to create the image sequence. Which line has not been represented correctly? The last line

All lines are represented correctly

The first line

All lines are represented incorrectly

16. Graphics on a screen are made up of tiny blocks called ............

pixels

blots

mixels

dots

17. Fill in the blanks: The more pixels on the screen, the higher the resolution and the _______________________ of the picture will be. The higher the image resolution, the more memory is needed to store the graphic.

better the quality

dimmer the colours

brighter the colours

worse the quality

18. Read the below statement about Bitmap images and fill in the blanks.
```Bitmap images are widely used on digital cameras, smartphones and online.
Common bitmap image file types include JPEG, GIF and PNG.
Bitmaps are also known as pixelmaps or raster graphics.
Bitmap images are organised as a grid of coloured squares called pixels
(short for 'picture elements').

When zooming in or enlarging a
bitmap image, the pixels are stretched and made into larger blocks.

This is why bitmap images appear as __________________
when enlarged too much.```

of poor quality

black as coal

white as snow

of good quality

19. Each colour of an image is displayed as a ___________ number.

binary

decimal

high

low

20. In the black-and-white image below, each pixel is either black or white. You need a binary value for each different colour. As each pixel is either black or white, this image can be encoded with a value of ................ 0 for white and 1 for black

0 for white and black

1 for white and 0 for black

1 for white and 1 for black

21. The colour depth of an image is measured in bits. The number of bits indicates how many colours are available for each pixel. In the black and white image, only ___ colours are needed. This means it has a colour depth of 1 bit. (1 bit can be either 0 or 1

four

three

two

five

22. A 2-bit colour depth would allow ______ different values: 00, 01, 10, 11. This would allow for a range of colours such as shown in the image below. 8

4

6

2

23. Most computer systems and digital cameras use ______-bit images. _____ in binary is 1111 1111 1111 1111 1111 1111. This means there are over 16 million possible colours per pixel.

24

8

64

23

24. So what about the human eye? Some experts estimate that we can distinguish perhaps as many as 10 million colors. Others estimate about 1 million, but 10 million is the top estimate. True or False?

True

False

25. Look carefully at the table below. It shows the colour depth and the available colours relating to the colour depth.The greater the colour depth (bits per pixel), the _____ colours are available. more

less

dimmer

brighter

26. How many colours can be represented by an 8 bit colour depth? (you may want to refer to the colour depth table)

18

16

8

256

27. The two different types of images you can have are: Vectors and Bitmaps

True

False

28. R_____________ is a measure of pixel density, usually measured in dots per inch (dpi). Images on websites usually have a resolution of 72 dpi.

Resolution

Reprotuning

Rexonoing

Rotobinary

29. High quality printed images in books and magazines have a _______ resolution than computer screens. Magazines often use either 300 dpi or even 600 dpi.

dimmer

higher

lower

brighter

30. It is useful to know that image files usually also contain _____________. ___________ means 'data about data' and provides information about the image. The information could include any or all of the following:
```filename
file format - eg JPEG, GIF or PNG
dimensions
resolution
colour depth
time and date the image was last changed
camera settings when the photo was taken
GPS```

megamindeddata

memodata

31. What is 11 in Decimal and how many bits have been used?

It is 3 in Decimal and two bits have been used

It is 2 in Decimal and three bits have been used

It is 4 in Decimal and four bits have been used

None of the above

32. What is the highest positive number you can store using two bits?

2

1

4

3

33. What is the highest positive number you can store using three bits?

7

5

4

6

34. The Decimal number system is the only number system used by humans through the ages.

FALSE

TRUE