wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

N5 Computing Science: Data Representation

Total questions: 94

Worksheet time: 48mins

Name
Class
Date
1.

What is the number base used by computers to store all data?

a)

Decimal

b)

Hexadecimal

c)

Binary

d)

Octal

2.

What are whole numbers called in computing terminology?

a)

Real numbers

b)

Integers

c)

Fractions

d)

Pixels

3.

How are real numbers stored in a computer system?

a)

Integer representation

b)

Binary representation

c)

Floating point representation

d)

ASCII representation

4.

What type of graphics is made up of a grid of pixels?

a)

Vector graphics

b)

Bitmap graphics

c)

3D graphics

d)

SVG graphics

5.

Which of the following is a way to represent characters in computing?

a)

Extended ASCII

b)

Binary

c)

Denary

d)

Floating point

6.

What are the two main ways images can be stored in a computer?

a)

Vector and Scalar images

b)

Bitmap and JPEG images

c)

Vector and Bitmap images

d)

Bitmap and GIF images

7.

Computers store all data using:

a)

Binary digits

b)

Denary digits

c)

Information

d)

Pseudocode

8.

The correct mathematical term for a whole number is:

a)

A real number

b)

A rational number

c)

An integer

d)

A natural number

9.

What is meant by the word pixel?

a)

A single dot of an digital image or graphic

b)

A type of computer processor

c)

A binary digit

d)

A unit of measurement for data storage

10.

What is the term used to describe the data stored and processed by digital systems such as computers?

a)

Analog data

b)

Binary data

c)

Quantum data

d)

Digital code

11.

What is transmitted as a series of on or off electrical pulses between the different components in a computer?

a)

Binary data

b)

Electrical signals

c)

Voltage variations

d)

Transistor switches

12.

What are computer chips made up of?

a)

Binary codes

b)

Electrical wires

c)

Transistors

d)

Voltage regulators

13.

By combining large numbers of these we can manipulate the binary pulses and carry out operations on them.

a)

Capacitors

b)

Transistors

c)

Resistors

d)

Inductors

14.

Why do computers use binary code for data representation?

a)

Because binary code can represent a wide range of characters and symbols.

b)

Because binary code is more efficient for storage than other number systems.

c)

Because binary code is resistant to signal degradation.

d)

Because binary code allows for more complex operations than other number systems.

15.

What is the primary reason transistors in computers use binary?

a)

Transistors can operate at very high speeds.

b)

Transistors can store multiple states at once.

c)

Transistors are made from silicon, which can only be turned on or off.

d)

Transistors can amplify signals without any loss.

16.

What is the place value of each subsequent digit in the denary number system?

a)

5 times bigger than the previous one.

b)

10 times bigger than the previous one.

c)

2 times bigger than the previous one.

d)

20 times bigger than the previous one.

17.

Which of the following is NOT a reason why data can be stored using binary code?

a)

Binary code can represent magnetic north/south charges on a magnetic disk.

b)

Binary code can represent different colors in an image file.

c)

Binary code can represent holes punched in cards for on-off patterns.

d)

Binary code can represent the resistance of circuits in a DVD-ROM.

18.

What is the base value of the denary number system?

a)

2

b)

8

c)

10

d)

16

19.

How is the number 382 represented in the denary number system?

a)

3 x 2^2 + 8 x 2^1 + 2 x 2^0

b)

3 x 10 + 8 x 100 + 2 x 10

c)

3 x 10^2 + 8 x 10^1 + 2 x 10^0

d)

3 x 10^3 + 8 x 10^2 + 2 x 10^1

20.

What is the base value of the binary number system?

a)

2

b)

8

c)

10

d)

16

21.

Which of the following is a correct representation of the number 32 in the binary number system?

a)

2^5

b)

2^6

c)

2^4

d)

2^3

22.

How can any integer number be represented in the binary number system?

a)

By converting it to a base 2 number

b)

By converting it to a base 8 number

c)

By converting it to a base 10 number

d)

By converting it to a base 16 number

23.

What is the decimal equivalent of the binary number 1101?

a)

12

b)

13

c)

14

d)

15

24.

What is the decimal equivalent of the binary number 10101010?

a)

168

b)

170

c)

172

d)

174

25.

What number conversion must you be able to do in N5 Computing Science??

a)

To convert between binary and octal numbers

b)

To convert between binary and denary numbers

c)

To convert between denary and hexadecimal numbers

d)

To convert between fixed point and floating point numbers

26.

What is the result of converting the binary number 1001 to denary?

a)

8

b)

9

c)

10

d)

11

27.

What is the denary equivalent of the binary number 10110101?

a)

181

b)

173

c)

165

d)

189

28.

Convert the binary number 1011 to denary.

a)

11

b)

13

c)

10

d)

9

29.

Convert the binary number 1110 to denary.

a)

14

b)

13

c)

15

d)

12

30.

Convert the binary number 10101000 to denary.

a)

168

b)

170

c)

160

d)

180

31.

Convert the binary number 11010001 to denary.

a)

209

b)

211

c)

213

d)

208

32.

Convert the binary number 10000111 to denary.

a)

135

b)

131

c)

133

d)

130

33.

Convert the binary number 11101111 to denary.

a)

239

b)

235

c)

237

d)

240

34.

Convert the denary number 13 to an 8-bit binary number.

a)

00001101

b)

00011010

c)

00010101

d)

00010011

35.

Convert the denary number 17 to an 8-bit binary number.

a)

00010001

b)

00010100

c)

00011001

d)

00011100

36.

Convert the denary number 92 to an 8-bit binary number.

a)

01011100

b)

10111000

c)

01101100

d)

11010100

37.

Convert the denary number 100 to an 8-bit binary number.

a)

01100100

b)

11001000

c)

10011000

d)

10100000

38.

Convert the denary number 139 to an 8-bit binary number.

a)

10001011

b)

10110011

c)

10001101

d)

11010011

39.

Convert the denary number 248 to an 8-bit binary number.

a)

11111000

b)

11110000

c)

11101000

d)

11100100

40.

Convert the denary number 5 to binary.

a)

101

b)

110

c)

100

d)

101

41.

Convert the binary number 01010101 to denary.

a)

85

b)

170

c)

65

d)

95

42.

Convert the binary number 00111000 to denary.

a)

56

b)

58

c)

60

d)

48

43.

Convert the denary number 24 to binary.

a)

11000

b)

10110

c)

11100

d)

11010

44.

Convert the binary number 10001110 to denary.

a)

142

b)

134

c)

156

d)

178

45.

Convert the denary number 222 to binary.

a)

11011110

b)

11101110

c)

10111110

d)

11111010

46.

What does the mantissa represent in a floating point number?

a)

The power that defines how many times to multiply by

b)

The number we are multiplying by

c)

The digits that make up the number

d)

The number of places to move the digits

47.

What is the base used in a denary number system when expressing floating point numbers?

a)

2

b)

10

c)

8

d)

16

48.

In the binary representation of a floating point number, what is assumed about the binary point to save space?

a)

It is always to the right of the number

b)

It is always to the left of the number

c)

It can be anywhere in the number

d)

It is not included in the representation

49.

Why don't we need to store the base when representing floating point numbers in a computer?

a)

Because the base is always 10

b)

Because the base is variable

c)

Because the base is always 2

d)

Because the base is irrelevant

50.

What does the exponent represent in a floating point number?

a)

The digits that make up the number

b)

The number we are multiplying by

c)

The power that defines how many times to multiply by

d)

The number of places to move the digits

51.

What does ASCII stand for?

a)

American Standard Code for Information Interchange

b)

Automated Standard Coding for Information Integration

c)

American System Code for Information Interchange

d)

Advanced Standard Code for Information Interchange

52.

How many bits were originally used to define a character in ASCII?

a)

6 bits

b)

7 bits

c)

8 bits

d)

9 bits

53.

What is the term used to describe the modified version of ASCII that uses 8 bits to represent a character?

a)

ASCII Plus

b)

Extended ASCII

c)

ASCII Extended

d)

Wide ASCII

54.

What was the purpose of modifying the original ASCII to use 8 bits?

a)

To include lowercase letters

b)

To add more punctuation marks

c)

To allow some extra symbols and accented characters to be stored

d)

To increase the speed of data processing

55.

What is the ASCII code for the character 'A'?

a)

64

b)

65

c)

66

d)

67

56.

Which of the following ASCII codes represents the first printable character?

a)

9

b)

10

c)

13

d)

32

57.

What is the ASCII character for the code 35?

a)

#

b)

$

c)

%

d)

&

58.

Which of the following is a non-printable ASCII character?

a)

Space (32)

b)

A (65)

c)

New line (10)

d)

1 (49)

59.

Decode the ASCII message from the given values: 67, 111, 109, 112, 117, 116, 101, 114, 32, 83, 99, 105, 101, 110, 99, 101

a)

Computer Science

b)

Computing Success

c)

Control Sequence

d)

Connection Secure

60.

What are the two different ways computers use to store graphical images?

a)

Vector and scalar graphics

b)

Bitmap and vector graphics

c)

Pixel and array graphics

d)

Raster and scalar graphics

61.

What is the type of image representation called where graphics are stored as a series of properties describing shapes and lines?

a)

Bitmap graphics

b)

Scalar graphics

c)

Vector graphics

d)

Raster graphics

62.

In vector graphics, what is used to define an image by the shapes that exist within it?

a)

Pixels

b)

Objects

c)

Arrays

d)

Bitmaps

63.

Which of the following is NOT an example of an object you are expected to be familiar with in vector graphics at National 5 level?

a)

Rectangles

b)

Ellipses

c)

3D models

d)

Lines

64.

Which are some of the attributes that define how a vector graphic object is displayed?

a)

posZ, width, depth, texture, pattern

b)

posA, posB, diameter, gradient, shadow

c)

posX, posY, length, height, fillColour, lineColour, lineThickness

d)

posX, posY, size, fillPattern, borderStyle

65.

Which one of these attributes would not be used with the line object?

a)

Coordinates

b)

Line colour

c)

Fill colour

66.

At National 5 level, which of the following attributes are you NOT expected to be familiar with?

a)

X coordinate

b)

Radius

c)

Line colour

67.

What type of image file uses the file extension .svg

a)

Scalable Vector Graphic

b)

Standard Video Graphic

c)

Super Very Good

d)

Simple Value Grid

68.

Which is a correct style attribute for the background color of an SVG canvas?

a)

style="background-colour:blue"

b)

style="background:red"

c)

style="background-color:aqua"

d)

style=backgroundcolor:none

69.

What does the 'rect' tag in SVG represent?

a)

The radius of a circle

b)

The coordinates of an ellipse

c)

The name of the object to draw a rectangle

d)

The style property of an ellipse

70.

In SVG, what do the attributes 'width="100"' and 'height="80"' define for a 'rect' object?

a)

The radius of an ellipse

b)

The coordinates of the top-left corner

c)

The width and height of the rectangle

d)

The fill and line color of the rectangle

71.

What do the attributes 'fill:blue;stroke-width:3;stroke:red' in the 'style' property of 'rect' control?

a)

The coordinates of the rectangle

b)

The width and height of the rectangle

c)

The fill color and line color of the rectangle

d)

The radius from the center point of an ellipse

72.

What are 'cx="250"' and 'cy="170"' in the 'ellipse' tag?

a)

The width and height of the ellipse

b)

The radius from the center point along the x and y axis

c)

The coordinates of the top-left corner of the rectangle

d)

The coordinates of the center of the ellipse

73.

If the 'rx' and 'ry' attributes are set to the same value in an 'ellipse' tag, what shape will be created?

a)

A rectangle

b)

An ellipse

c)

A circle

d)

A line

74.

What do the attributes x1="200" y1="20" specify in the line element of an SVG?

a)

The color of the line

b)

The width of the line

c)

The end of the line

d)

The start of the line

75.

What is the result of adding the specified polygon element to an SVG file?

a)

A red ellipse

b)

A blue rectangle

c)

A yellow polygon with a black stroke

d)

A black line

76.

What does the "points" attribute in an SVG object define?

a)

The color of the SVG object

b)

The coordinates of the corners of the shape in x,y pairs

c)

The size of the SVG object

d)

The opacity level of the SVG object

77.

Match the SVG code to the appropriate shape ...

a)

1.

red rectangle

b)

2.

green hexagon

c)

3.

yellow ellipse

d)

4.

black line

e)

5.

yellow circle

78.

What is a bitmap in the context of computer graphics?

a)

A type of vector graphic

b)

A method of storing images by dividing them into a grid of pixels and storing a binary value for each pixel

c)

A way to compress digital photographs

d)

A standard for digital image processing

79.

What does the term "resolution" refer to when discussing bitmap graphics?

a)

A) The size of the file in megabytes

b)

B) The number of colors in the image

c)

C) The amount of pixels that are stored to represent the image

d)

D) The physical size of the image when printed

80.

Which of the following is an example of a resolution specified as horizontal and vertical dimensions?

a)

A) 300 dpi

b)

B) 20 megapixels

c)

C) 1920 x 1080

d)

D) 1 million pixels

81.

What is an advantage of bitmap graphics over vector graphics?

a)

Bitmap graphics can compress images more effectively

b)

Bitmap graphics can represent more detailed images

c)

Bitmap graphics are easier to edit

d)

Bitmap graphics have a smaller file size

82.

How do digital cameras and scanners create images?

a)

By capturing a continuous tone of colors

b)

By using vector graphics to draw the image

c)

By producing a grid of pixels when they capture the image

d)

By scanning the image as a single layer

83.

How many bits per pixel are needed to represent a monochrome (black and white) image?

a)

2 bits

b)

8 bits

c)

1 bit

d)

24 bits

84.

What is the term used to describe the number of bits used per pixel in an image?

a)

Pixel depth

b)

Bit depth

c)

Colour depth

d)

Resolution

85.

If an image uses 2 bits per pixel, how many different colours can be represented?

a)

2 colours

b)

4 colours

c)

256 colours

d)

16.7 million colours

86.

What is the term used to describe a colour image that uses 24 bits per pixel?

a)

High colour

b)

True colour

c)

Deep colour

d)

Extended colour

87.

How much larger would a true colour image be compared to the same image stored as a monochrome (black and white) image?

a)

24 times bigger

b)

192 times bigger

c)

256 times bigger

d)

16.7 million times bigger

88.

Which resolution would have the highest image definition?

a)

12 megapixels

b)

5000 x 4000 pixels

c)

10 megapixels

d)

1920 x 1080

89.

Which of the following statements about bitmap images is true?

a)

Bitmap images can capture unlimited detail.

b)

The higher the resolution the better the detail.

c)

The higher the resolution the worse the detail.

d)

Bitmaps use less storage space than vector images

90.

What image bit depth would be needed in order to store 16 colours?

a)

2 bits

b)

4 bits

c)

8 bits

d)

16 bits

91.

Which of the following is an advantage of bitmap graphics?

a)

Large file size

b)

Can represent high-definition images such as photos

c)

Cannot change object attributes once drawn

d)

Resizing will result in pixelation

92.

Which is a disadvantage of vector graphics?

a)

Small file size

b)

Can edit images at pixel level

c)

Cannot represent photographic data with high definition

d)

Objects can be linked or connected to each other

93.

Which type of image is more suitable for creating a perspective drawing of an object?

a)

Bitmap

b)

Vector

c)

Compressed

d)

Scalar

94.

Which of the following is NOT a valid data type in most programming languages?

a)

Integer

b)

String

c)

Boolean

d)

Rational