Preskoči na glavni sadržaj
Prijava
Sign up for FREE
arrow_back
Biblioteka

G10 - CS - End of Unit 1 test

star
star
star
star
star
Posljednje ažuriranje about 1 year ago
7

Answer all the questions.

3
Pitanje 1
1.

8
6
4
6
4
6

A software developer is using a microphone to collect various sounds for his new game. He is also using a sound editing app.

When collecting sounds, the software developer can decide on the sampling resolution he wishes to use.

a) i What is meant by sampling resolution? [1]

ii Describe how sampling resolution will affect how accurate the stored digitised sound will

be. [2]

Pitanje 2
2.

The software developer will include images in his new game.

b) i) Explain the term image resolution. [1]

ii) The software developer is using 16-colour bitmap images. How many bits would be used

to encode data for one pixel of his image? [1]

iii) One of his images is 16 384 pixels wide and 512 pixels high.

He decides to save it as a 256-colour bitmap image.

Calculate the size of the image file in gibibytes. [3]

iv) Describe any file compression techniques the developer may use. [3]

Pitanje 3
3.

A stopwatch uses six digits to store hours, minutes and seconds.

The stopwatch stopped at:

An 8-bit register is used to store each pair of digits.

Pitanje 4
4.

Carry out the following additions in binary:

i 123 + 55 ii 123 + 180 [4]

Pitanje 5
5.

a) i) Write down the two’s complement value of: 0 1 1 1 0 1 0 0 [2]

ii) Write down the binary value of −112 using two’s complement notation. [1]

iii) Write down the denary value of the following binary number, which is using two’s complement notation: [1]

1 0 1 1 1 0 0 1

b) i) Convert the following denary number into an 8-bit binary number: 104. [1]

ii) Use two’s complement notation to find the 8-bit binary value of −104. [1]

Pitanje 6
6.

Match each statement with its correct value:

Stavka koja se može prevućiarrow_right_altOdgovarajuća stavka

Find the hexadecimal value of the following denary number: 40

arrow_right_alt

63

Give the hexadecimal equivalent of the following denary number: 66

arrow_right_alt

28

Give the denary equivalent of the following hexadecimal number: 3F

arrow_right_alt

27

Give the hexadecimal equivalent of the following binary number: 00100111

arrow_right_alt

42

Pitanje 7
7.

An 8-bit binary register contains the value:

a) Write down the denary value of this register. [1]

b) The contents of this register undergo a logical shift one place to the right.

i) Show the result of this right shift. [1]

ii) Write down the denary value following this right shift. [1]

c) The contents of this register, at the start of the question, now undergo a logical shift two places to the left.

i) Show the contents of the register after this left shift operation. [1]

ii) State, with reasons, the effect of this shift on the denary value in part a. [2]