Data representation

0.0(0)
studied byStudied by 16 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/145

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

146 Terms

1
New cards

what is data representation

method of encoding information in a format the computer can process

2
New cards

what are the basic building block in computers

binary number system with 1s and 0s

3
New cards

what is another name for binary number system

base 2

4
New cards

what is the representation of switches

on and off positions of 1s and 0s

5
New cards

what are logic gates in computers used for

to store and process data efficiently in computers

6
New cards

what is the other name for denary

base 10

7
New cards

what is the other name for hexadecimal

base 16

8
New cards

numbers in binary

0, 1

9
New cards

numbers in denary

0, 1, 2, 3, 4, 5, 6, 7, 8, 9,

10
New cards

what are the numbers in hexadecimal

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F

11
New cards

convert 00110011 to denary

51

12
New cards

convert 01111111 to denary

127

13
New cards

convert 56 into binary

00111000

14
New cards

convert 10011001 into hexadecimal

99

15
New cards

convert 10110011 into hexadecimal

B3

16
New cards

convert F2 into denary

242

17
New cards

convert 6F into binary

01101111

18
New cards

why do computer scientists find hexadecimal ore convenient to use than binary

one hex digit represents four binary digits

19
New cards

what is 1101 0010 1010 1111

D2AF

20
New cards

what are four uses of hexadecimal

error codes, MAC address, IP address, HTML

21
New cards

what do error codes refer to

memory location of the error

22
New cards

who needs to know how to interpret error codes

the programmer

23
New cards

What is a MAC address

a number that uniquely identifies a device on a network

24
New cards

what is a MAC address made up of

48 bits shows as 6 groups of two hexadecimal digits

25
New cards

what do the two halves of a MAC address represent

first half is manufacturer’s identity number and second half is serial number of the device

26
New cards

difference between IPv4 and IPv6

IPv4 is 32-bit in denary or hexadecimal, IPv6 is 128-bit in hexadecimal

27
New cards

what is HTML used for

writing and developing web pages

28
New cards

how are colours represented in HTML

six hexadecimal digits preceded by # symbol

29
New cards

how many possible colours can be represented in HTML

over 16 million

30
New cards

write the format of MAC addresses

NN-NN-NN DD-DD-DD

31
New cards

which IP address uses colon

IPv6

32
New cards

benefits of HTML

takes less space, easier to read, 1 HTML digit is 4 binary digits

33
New cards

format of IPv6

broken down into 16-bit chunks with a colon separator

34
New cards

add 0101 and 1110

00010011

35
New cards

What is a logical binary shift?

It is moving a binary number to the left or right.

36
New cards

what does a shift left in binary mean

equivalent to multiplying the binary number by 2

37
New cards

what does a shift right in binary mean

equivalent to dividing the binary number by 2

38
New cards

What happens to empty positions in a binary number during a logical shift?

They are replaced with a zero.

39
New cards

shift 01110000 five places to the left

00000000

40
New cards

What is two’s complement used for in binary numbers?

It is used to represent negative integers.

41
New cards

How is the left-most bit interpreted in two’s complement

1 indicates negative, 0 indicates positive

42
New cards

range of numbers in two’s complement

−128 to +127

10000000 to 01111111

43
New cards

00110011 in two’s complement

51

44
New cards

11001111 in two’s complement

-49

45
New cards

what does ASCII stand for

American Standard Code for Information Interchange

46
New cards

when was ASCII set up

1963

47
New cards

How many bits are in the standard ASCII code character set?

7 bits

48
New cards

range of standard ASCII in denary and hexadecimal

0 to 127 in denary

00 to 7F in hexadecimal

49
New cards

how many control codes in ASCII

32

50
New cards

what is the range of the ASCII control codes in denary and hexadecimal

0 to 31 in denary

00 to 19 in hexadecimal

51
New cards

what are the limitations of logical binary shifts

limit to the number of shifts before all zeros in an 8-bit register

52
New cards

what is the main disadvantage of ASCII

does not represent non-western languages

53
New cards

what coding system developed ASCII limitations

unicode

54
New cards

how many characters can Unicode support compared to ASCII

several thousands over 128 characters

55
New cards

How many bytes per character does Unicode use compared to ASCII?

Unicode is four per character

ASCII is 1 per character

56
New cards

When was the Unicode consortium set up

1991

57
New cards

Unicode’s five goals

covering all languages, uniform encoding, more efficient, unambiguous encoding, reserve part of code

58
New cards

What are sound waves

Sound waves are vibrations in the air

59
New cards

how are sound waves interpreted by the human ear?

ear senses these vibrations in ear drum

60
New cards

Why do sound waves need to be sampled to be stored in a computer?

sound waves are analogue and computers cannot work with analogue data

61
New cards

What is sampling in the context of sound waves?

measuring the amplitude of the sound wave at regular time intervals

62
New cards

What tool is used to convert analogue sound waves to digital?

analogue to digital converter (ADC)

63
New cards

What is sampling resolution (bit depth)

number of bits used to represent each sampled amplitude value

64
New cards

How is sampling rate measured

measured in hertz (Hz)

65
New cards

what does the measurement of sampling rate signify

number of sound samples taken per second.

66
New cards

What happens when you use a higher sampling rate or larger resolution in sound sampling?

increases file size and produces more faithful representation

67
New cards

what are the benefits of large sample rate

better quality, less distortion, larger dynamic range

68
New cards
<p>what does this represent </p>

what does this represent

error codes

69
New cards
<p>what does this represent </p>

what does this represent

IPv6

70
New cards
<p>what does this represent</p>

what does this represent

HTML

71
New cards
<p>what does this represent </p>

what does this represent

HTML hex colour code

72
New cards
<p>what does this represent</p>

what does this represent

ACSII code

73
New cards
<p>what is this </p>

what is this

sound wave

74
New cards
<p>what do these represent </p>

what do these represent

different pixel shapes

75
New cards
<p>what does this represent </p>

what does this represent

different image resolution

76
New cards
<p>which image has the highest resolution </p>

which image has the highest resolution

image a

77
New cards

what do we call an image with a low resolution

pixilated

78
New cards

What is the sampling resolution of CD’s

16-bit

79
New cards

what is the sample rate of CD’s

44.1 kHz

80
New cards

How many samples per second does a CD take

44,100 every second

81
New cards

What is a bitmap image composed of?

pixels arranged in a two-dimensional matrix

82
New cards

How is each pixel in a bitmap image represented?

Pixels represented as a binary number.

83
New cards

How many bits per pixel are required for a black and white image?

1 bit per pixel.

84
New cards

How many colours can be represented with 2 bits per pixel?

Four colours

85
New cards

how are the four colours represented in 2 bits per pixel

00, 01, 10, 11

86
New cards

How many colours can be represented with 3 bits per pixel?

Eight colours

87
New cards

how are eight colours represented with 3 bit pixels

000, 001, 010, 011, 100, 101, 110, 111

88
New cards

What is colour depth

number of bits used to represent each colour in a pixel

89
New cards

How many colours can an 8-bit colour depth represent?

256 or 2^8

90
New cards

How many colours can a 24-bit colour depth represent

Over 16 million

91
New cards

What is image resolution?

number of pixels that make up an image.

92
New cards

How does increasing the colour depth affect file size?

increases colour depth, increases file size

93
New cards

What is the main drawback of using high-resolution images?

increase file size

94
New cards

How does the resolution of an image affect storage and transfer?

takes up more space on storage and longer to transmit

95
New cards

What happens to image quality when resolution is reduced?

loss of quality slowly becomes noticeable

96
New cards

What is the basic unit of all computing memory storage terms?

a bit

97
New cards

what does a bit consist of

either 1 or 0

98
New cards

What does the term "byte" refer to?

The smallest unit of memory in a computer

99
New cards

how much is a byte

8 bits

100
New cards

What is a 4-bit number called

a nibble