Font size
WorksheetsN5 Computing Science: Data Representation
Total questions: 94
Worksheet time: 48mins
What is the number base used by computers to store all data?
Decimal
Hexadecimal
Binary
Octal
What are whole numbers called in computing terminology?
Real numbers
Integers
Fractions
Pixels
How are real numbers stored in a computer system?
Integer representation
Binary representation
Floating point representation
ASCII representation
What type of graphics is made up of a grid of pixels?
Vector graphics
Bitmap graphics
3D graphics
SVG graphics
Which of the following is a way to represent characters in computing?
Extended ASCII
Binary
Denary
Floating point
What are the two main ways images can be stored in a computer?
Vector and Scalar images
Bitmap and JPEG images
Vector and Bitmap images
Bitmap and GIF images
Computers store all data using:
Binary digits
Denary digits
Information
Pseudocode
The correct mathematical term for a whole number is:
A real number
A rational number
An integer
A natural number
What is meant by the word pixel?
A single dot of an digital image or graphic
A type of computer processor
A binary digit
A unit of measurement for data storage
What is the term used to describe the data stored and processed by digital systems such as computers?
Analog data
Binary data
Quantum data
Digital code
What is transmitted as a series of on or off electrical pulses between the different components in a computer?
Binary data
Electrical signals
Voltage variations
Transistor switches
What are computer chips made up of?
Binary codes
Electrical wires
Transistors
Voltage regulators
By combining large numbers of these we can manipulate the binary pulses and carry out operations on them.
Capacitors
Transistors
Resistors
Inductors
Why do computers use binary code for data representation?
Because binary code can represent a wide range of characters and symbols.
Because binary code is more efficient for storage than other number systems.
Because binary code is resistant to signal degradation.
Because binary code allows for more complex operations than other number systems.
What is the primary reason transistors in computers use binary?
Transistors can operate at very high speeds.
Transistors can store multiple states at once.
Transistors are made from silicon, which can only be turned on or off.
Transistors can amplify signals without any loss.
What is the place value of each subsequent digit in the denary number system?
5 times bigger than the previous one.
10 times bigger than the previous one.
2 times bigger than the previous one.
20 times bigger than the previous one.
Which of the following is NOT a reason why data can be stored using binary code?
Binary code can represent magnetic north/south charges on a magnetic disk.
Binary code can represent different colors in an image file.
Binary code can represent holes punched in cards for on-off patterns.
Binary code can represent the resistance of circuits in a DVD-ROM.
What is the base value of the denary number system?
2
8
10
16
How is the number 382 represented in the denary number system?
3 x 2^2 + 8 x 2^1 + 2 x 2^0
3 x 10 + 8 x 100 + 2 x 10
3 x 10^2 + 8 x 10^1 + 2 x 10^0
3 x 10^3 + 8 x 10^2 + 2 x 10^1
What is the base value of the binary number system?
2
8
10
16
Which of the following is a correct representation of the number 32 in the binary number system?
2^5
2^6
2^4
2^3
How can any integer number be represented in the binary number system?
By converting it to a base 2 number
By converting it to a base 8 number
By converting it to a base 10 number
By converting it to a base 16 number
What is the decimal equivalent of the binary number 1101?
12
13
14
15
What is the decimal equivalent of the binary number 10101010?
168
170
172
174
What number conversion must you be able to do in N5 Computing Science??
To convert between binary and octal numbers
To convert between binary and denary numbers
To convert between denary and hexadecimal numbers
To convert between fixed point and floating point numbers
What is the result of converting the binary number 1001 to denary?
8
9
10
11
What is the denary equivalent of the binary number 10110101?
181
173
165
189
Convert the binary number 1011 to denary.
11
13
10
9
Convert the binary number 1110 to denary.
14
13
15
12
Convert the binary number 10101000 to denary.
168
170
160
180
Convert the binary number 11010001 to denary.
209
211
213
208
Convert the binary number 10000111 to denary.
135
131
133
130
Convert the binary number 11101111 to denary.
239
235
237
240
Convert the denary number 13 to an 8-bit binary number.
00001101
00011010
00010101
00010011
Convert the denary number 17 to an 8-bit binary number.
00010001
00010100
00011001
00011100
Convert the denary number 92 to an 8-bit binary number.
01011100
10111000
01101100
11010100
Convert the denary number 100 to an 8-bit binary number.
01100100
11001000
10011000
10100000
Convert the denary number 139 to an 8-bit binary number.
10001011
10110011
10001101
11010011
Convert the denary number 248 to an 8-bit binary number.
11111000
11110000
11101000
11100100
Convert the denary number 5 to binary.
101
110
100
101
Convert the binary number 01010101 to denary.
85
170
65
95
Convert the binary number 00111000 to denary.
56
58
60
48
Convert the denary number 24 to binary.
11000
10110
11100
11010
Convert the binary number 10001110 to denary.
142
134
156
178
Convert the denary number 222 to binary.
11011110
11101110
10111110
11111010
What does the mantissa represent in a floating point number?
The power that defines how many times to multiply by
The number we are multiplying by
The digits that make up the number
The number of places to move the digits
What is the base used in a denary number system when expressing floating point numbers?
2
10
8
16
In the binary representation of a floating point number, what is assumed about the binary point to save space?
It is always to the right of the number
It is always to the left of the number
It can be anywhere in the number
It is not included in the representation
Why don't we need to store the base when representing floating point numbers in a computer?
Because the base is always 10
Because the base is variable
Because the base is always 2
Because the base is irrelevant
What does the exponent represent in a floating point number?
The digits that make up the number
The number we are multiplying by
The power that defines how many times to multiply by
The number of places to move the digits
What does ASCII stand for?
American Standard Code for Information Interchange
Automated Standard Coding for Information Integration
American System Code for Information Interchange
Advanced Standard Code for Information Interchange
How many bits were originally used to define a character in ASCII?
6 bits
7 bits
8 bits
9 bits
What is the term used to describe the modified version of ASCII that uses 8 bits to represent a character?
ASCII Plus
Extended ASCII
ASCII Extended
Wide ASCII
What was the purpose of modifying the original ASCII to use 8 bits?
To include lowercase letters
To add more punctuation marks
To allow some extra symbols and accented characters to be stored
To increase the speed of data processing
What is the ASCII code for the character 'A'?
64
65
66
67
Which of the following ASCII codes represents the first printable character?
9
10
13
32
What is the ASCII character for the code 35?
#
$
%
&
Which of the following is a non-printable ASCII character?
Space (32)
A (65)
New line (10)
1 (49)
Decode the ASCII message from the given values: 67, 111, 109, 112, 117, 116, 101, 114, 32, 83, 99, 105, 101, 110, 99, 101
Computer Science
Computing Success
Control Sequence
Connection Secure
What are the two different ways computers use to store graphical images?
Vector and scalar graphics
Bitmap and vector graphics
Pixel and array graphics
Raster and scalar graphics
What is the type of image representation called where graphics are stored as a series of properties describing shapes and lines?
Bitmap graphics
Scalar graphics
Vector graphics
Raster graphics
In vector graphics, what is used to define an image by the shapes that exist within it?
Pixels
Objects
Arrays
Bitmaps
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?
Rectangles
Ellipses
3D models
Lines
Which are some of the attributes that define how a vector graphic object is displayed?
posZ, width, depth, texture, pattern
posA, posB, diameter, gradient, shadow
posX, posY, length, height, fillColour, lineColour, lineThickness
posX, posY, size, fillPattern, borderStyle
Which one of these attributes would not be used with the line object?
Coordinates
Line colour
Fill colour
At National 5 level, which of the following attributes are you NOT expected to be familiar with?
X coordinate
Radius
Line colour
What type of image file uses the file extension .svg
Scalable Vector Graphic
Standard Video Graphic
Super Very Good
Simple Value Grid
Which is a correct style attribute for the background color of an SVG canvas?
style="background-colour:blue"
style="background:red"
style="background-color:aqua"
style=backgroundcolor:none
What does the 'rect' tag in SVG represent?
The radius of a circle
The coordinates of an ellipse
The name of the object to draw a rectangle
The style property of an ellipse
In SVG, what do the attributes 'width="100"' and 'height="80"' define for a 'rect' object?
The radius of an ellipse
The coordinates of the top-left corner
The width and height of the rectangle
The fill and line color of the rectangle
What do the attributes 'fill:blue;stroke-width:3;stroke:red' in the 'style' property of 'rect' control?
The coordinates of the rectangle
The width and height of the rectangle
The fill color and line color of the rectangle
The radius from the center point of an ellipse
What are 'cx="250"' and 'cy="170"' in the 'ellipse' tag?
The width and height of the ellipse
The radius from the center point along the x and y axis
The coordinates of the top-left corner of the rectangle
The coordinates of the center of the ellipse
If the 'rx' and 'ry' attributes are set to the same value in an 'ellipse' tag, what shape will be created?
A rectangle
An ellipse
A circle
A line
What do the attributes x1="200" y1="20" specify in the line element of an SVG?
The color of the line
The width of the line
The end of the line
The start of the line
What is the result of adding the specified polygon element to an SVG file?
A red ellipse
A blue rectangle
A yellow polygon with a black stroke
A black line
What does the "points" attribute in an SVG object define?
The color of the SVG object
The coordinates of the corners of the shape in x,y pairs
The size of the SVG object
The opacity level of the SVG object
Match the SVG code to the appropriate shape ...
red rectangle
green hexagon
yellow ellipse
black line
yellow circle
What is a bitmap in the context of computer graphics?
A type of vector graphic
A method of storing images by dividing them into a grid of pixels and storing a binary value for each pixel
A way to compress digital photographs
A standard for digital image processing
What does the term "resolution" refer to when discussing bitmap graphics?
A) The size of the file in megabytes
B) The number of colors in the image
C) The amount of pixels that are stored to represent the image
D) The physical size of the image when printed
Which of the following is an example of a resolution specified as horizontal and vertical dimensions?
A) 300 dpi
B) 20 megapixels
C) 1920 x 1080
D) 1 million pixels
What is an advantage of bitmap graphics over vector graphics?
Bitmap graphics can compress images more effectively
Bitmap graphics can represent more detailed images
Bitmap graphics are easier to edit
Bitmap graphics have a smaller file size
How do digital cameras and scanners create images?
By capturing a continuous tone of colors
By using vector graphics to draw the image
By producing a grid of pixels when they capture the image
By scanning the image as a single layer
How many bits per pixel are needed to represent a monochrome (black and white) image?
2 bits
8 bits
1 bit
24 bits
What is the term used to describe the number of bits used per pixel in an image?
Pixel depth
Bit depth
Colour depth
Resolution
If an image uses 2 bits per pixel, how many different colours can be represented?
2 colours
4 colours
256 colours
16.7 million colours
What is the term used to describe a colour image that uses 24 bits per pixel?
High colour
True colour
Deep colour
Extended colour
How much larger would a true colour image be compared to the same image stored as a monochrome (black and white) image?
24 times bigger
192 times bigger
256 times bigger
16.7 million times bigger
Which resolution would have the highest image definition?
12 megapixels
5000 x 4000 pixels
10 megapixels
1920 x 1080
Which of the following statements about bitmap images is true?
Bitmap images can capture unlimited detail.
The higher the resolution the better the detail.
The higher the resolution the worse the detail.
Bitmaps use less storage space than vector images
What image bit depth would be needed in order to store 16 colours?
2 bits
4 bits
8 bits
16 bits
Which of the following is an advantage of bitmap graphics?
Large file size
Can represent high-definition images such as photos
Cannot change object attributes once drawn
Resizing will result in pixelation
Which is a disadvantage of vector graphics?
Small file size
Can edit images at pixel level
Cannot represent photographic data with high definition
Objects can be linked or connected to each other
Which type of image is more suitable for creating a perspective drawing of an object?
Bitmap
Vector
Compressed
Scalar
Which of the following is NOT a valid data type in most programming languages?
Integer
String
Boolean
Rational
