CS1.2

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/95

encourage image

There are no tags or description

Looks like no tags are added yet.

96 Terms

1
New cards

What is compression?

Reducing the number of bits in a file.

2
New cards

What are the benefits of compression?

Storage capacity of file lower, data transfer of file quicker, more data can be stored on a storage device.

3
New cards

What are the characteristics of lossy compression?

Some data is lost and cannot be recovered, greatly reduces file size, reduces quality of image/sound, suitable for images, sound and audio, and cannot be used on text and executable files.

4
New cards

What are the characteristics of lossless compression?

No data lost, encoded differently, can be turned back to original format, can be used on all types of data, less effective at reducing file size, and most suitable for documents and executable files.

5
New cards

What is bit depth in sound files?

Number of bits stored per sample.

6
New cards

What is sample rate in sound files?

Number of samples stored per second.

7
New cards

How does bit depth and sample rate affect file size?

Larger the bit depth and sample rate, larger the file size.

8
New cards

How is sound recorded?

Measuring the amplitude of analogue sound wave at set intervals and converting them to binary and storing them.

9
New cards

What are the two forms images can be stored in?

Bitmaps and vectors

10
New cards

What is a bitmap?

Image files constructed from coloured pixels.

11
New cards

What is a vector image?

Image file storing the mathematics to draw coloured shapes.

12
New cards

How many colours can 1 bit store?

2

13
New cards

How many colours can 2 bit store?

4

14
New cards

How can the number of colours be calculated using colour depth depth?

2colour depth

15
New cards

What is pixel depth in images?

Number of bits per pixel.

16
New cards

What is metadata?

Additional data stored within image, e.g. width, height, colour depth and colour palette.

17
New cards

How does colour depth and resolution impact file size?

Larger the colour depth and resolution, larger the file size.

18
New cards

What colour depth are most photographs stored in?

24-bit

19
New cards

What is a character set?

A defined list of characters recognised by computer hardware and software with each character represented with a single number.

20
New cards

What is each character represented as in a character set?

A unique binary number.

21
New cards

What are some well known character sets?

ASCII, extended ASCII, UNICODE.

22
New cards

What is ASCII?

7-bit character set with 27 characters (128)

23
New cards

What is extended ASCII?

8-bit character set with 28 characters (256)

24
New cards

What is UNICODE?

24-bit character set with 224 characters (>16 million)

25
New cards

What is the effect of a binary left shift of 1?

X2

26
New cards

How do you perform a binary left shift of 1?

Shift every bit left by one place.

27
New cards

How do you perform a binary right of 1?

Shift every bit right by one place.

28
New cards

What is the effect of a binary right shift of 1?

/2

29
New cards

What is MSB?

Most significant bit, left most bit.

30
New cards

What is LSB?

Least significant bit, right most bit.

31
New cards

How do you convert denary to hexadecimal.

Convert to binary then to hex.

32
New cards

What is hex for denary 10?

A

33
New cards

What is hex for denary 11?

B

34
New cards

What is hex for denary 12?

C

35
New cards

What is hex for denary 13?

D

36
New cards

What is hex for denary 14?

E

37
New cards

What is hex for denary 15?

F

38
New cards

What are the rules of binary addition?

0 + 0 = 0

0 + 1 = 1

1 + 1 = 0 carry 1 (10)

1+1+1 = 1 carry 1 (11)

39
New cards

bLaNk

bLaNk

40
New cards

bbllaannkk

bbllaannkk

41
New cards

BlAnK

BlAnK

42
New cards

How do you convert from denary to binary using the divide by 2 method?

Divide by two and record remainders until you get to 0, the binary is the remainders from bottom to top.

43
New cards

What are the two methods for converting denary to binary?

Dividing by two and number line method.

44
New cards

How you convert from denary to binary using the number line method?

Go down 8-bit binary list (128, 64, 31…), record whether number fits into each number there, if it does, take it away from number, binary is records left to right.

45
New cards

How do you convert from binary to denary?

Multiply each digit by binary list (128, 64, 32…) and add together.

46
New cards

How do you calculate the size of a text file?

bits per character * number of character

47
New cards

How do you calculate the size of sound files?

sample rate * duration (s) * bit depth

48
New cards

How do calculate the size of image files?

colour depth * image height (px) * image width (px)

49
New cards

How can you calculate the number of files that can fit on a storage device?

number of files = storage capacity / file size

50
New cards

What are the advantages of using binary in computers?

Easier to manufacture, cheaper, and more reliable.

51
New cards

What are some examples of using binary to store data?

RAM (on/off), hard disk (north/south), optical disk (reflection/no reflection), flash memory (trapped electron/no trapped electron).

52
New cards

What is analogue?

infinite states, gradual changes.

53
New cards

What is digital?

Only two states, instant changes.

54
New cards

What is one bit?

0 or 1

55
New cards

What is a nibble?

4 bits

56
New cards

What is a byte?

8 bits

57
New cards

What is a kilobyte?

1024 bytes

58
New cards

What is a megabyte?

1024² bytes

59
New cards

What is a gigabyte?

1024³ bytes

60
New cards

What is a terabyte?

10244 bytes

61
New cards

What is a petabyte?

10245 bytes

62
New cards

What is the symbol for a bit?

b

63
New cards

What is the symbol for a byte?

B

64
New cards

What is the symbol for a kilobyte?

KB

65
New cards

What is the symbol for a megabyte?

MB

66
New cards

What is the symbol for a gigabyte?

GB

67
New cards

What is the symbol for a terabyte?

TB

68
New cards

What is the symbol for a petabyte?

PB

69
New cards

What factors affect what storage device to use?

Capacity, speed, portability, durability, reliability and cost.

70
New cards

What are optical storage devices suitable for?

Read only data distributing on a large scale, and small capacity solutions.

71
New cards

What are magnetic storage devices suitable for?

Very high data capacity needed, fast access to data, low cost solutions and cloud storage on data farms.

72
New cards

What are solid-state storage devices suitable for?

Low power, small embedded systems, rugged applications, portable devices, small-medium data capacity requirements, very fast access to data, and situations where devices need to be small and lightweight.

73
New cards

Why is secondary storage needed?

ROM is read only and RAM is volatile.

74
New cards

What is secondary storage needed for?

Storage of programs and data when the power is turned off, semi-permanent storage of data that can change, backup of files, and archive of data files.

75
New cards

BLANK

BLANK

76
New cards

THIS IS BLANK

THIS IS BLANK

77
New cards

What are the three main types of storage?

Optical, magnetic and solid-state.

78
New cards

What are some examples of optical storage?

CD-R, CD-RW, DVD-R, DVD-RW, and Blu-Ray.

79
New cards

What are the characteristics of optical storage?

Slow access to data, low capacity compared to other types of storage, thin, lightweight and portable.

80
New cards

What are some examples of magnetic storage?

Hard disk drives and tape.

81
New cards

What are the characteristics of magnetic storage?

Quick access to data, moving parts, will eventually fain, perform better if defragmented.

82
New cards

What are the characteristics of solid-state storage?

Medium storage capacity, very quick access to data, no moving parts, very reliable, no noise, low power, no need to defragment, limited number of read/write cycles, and expensive compared to other types of storage.

83
New cards

When is virtual memory needed?

When there is not enough room in RAM to store running programs.

84
New cards

What is virtual memory?

Area on hard disk where programs are transferred to when they are not currently being executed.

85
New cards

Where is virtual memory stored?

Hard disk

86
New cards

What happens to virtual memory when it is needed again?

It is transferred back to RAM.

87
New cards

What is the purpose of ROM?

Holds first instructions for when the computer is turned on, known as bootstrap or firmware. May also store programs in embedded systems.

88
New cards

What are the characteristics of ROM?

Non-volatile, read-only, smaller in comparison to RAM.

89
New cards

What is ROM?

Small piece of read-only memory located on the motherboard.

90
New cards

What is the purpose of RAM?

Holds information being executed by processor, temporary storage of instructions and data.

91
New cards

What are the characteristics of RAM?

Volatile, much faster than hard disk, read and write, large in comparison to ROM.

92
New cards

What are some examples of primary storage?

RAM, ROM, registers and cache.

93
New cards

What are the characteristics of primary storage?

With the exception of ROM they are volatile, ROM is read only, relatively small capacity compared to secondary storage, and very fast access speed compared to secondary storage.

94
New cards

What are the characteristics of secondary storage?

They are all non-volatile, much larger storage capacity compared to primary storage, and very slow access compared to primary storage.

95
New cards

What is primary storage used for?

Holds data and instructions currently in use by the CPU while the computer is running.

96
New cards

Why is primary storage needed?

CPU can much more quickly access data from primary storage than from secondary storage.