Intro and Chapter 1 Data representation Flashcards

1
Q

What are the major components of a personal computer (PC)?

A

Computer case, computer case fan, motherboard, central processing unit (CPU), CPU cooling fan, power supply unit (PSU), random access memory (RAM), graphics card, hard drive (or SSD), optical drive (often without)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the purpose of a computer case?

A

Stores all other components, prevents too much dust getting into them

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the purpose of a computer case fan?

A

Spins to keep components within case cool

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the purpose of a motherboard?

A

Allows components to be connected and communicate, allows them to receive power from PSU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the purpose of a central processing unit (CPU)?

A

Responsible for operation of each fetch-decode-execute cycle carried out

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the purpose of a CPU cooling fan?

A

Cools CPU and prevents it from getting too hot, keeping it at best temperature to operate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the purpose of a power supply unit (PSU)?

A

Powers motherboard to allow it to pass power to other components

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the purpose of random access memory (RAM)?

A

Temporarily stores data waiting to be processed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the purpose of a graphics card?

A

Responsible for producing images seen on computer screen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the purpose of a hard drive?

A

Permanently stores all files and software used

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What do most computers have to store files and software permanently? (choice)

A

A hard disk drive (HDD) or a solid state drive (SSD)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the purpose of an optical drive?

A

Device in which optical media, like CDs, is inserted into, to be read by the computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is hexadecimal, what does it use and why is it used?

A

A base-16 number system using values 0-9 and characters A-F, used to represent values for programmers, takes up less space on screen or paper, easier for programmers to read, write, understand, easier to debug and locate errors in data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is binary and what does it use?

A

A base-2 number system using the values 0 and 1, where the units increase by the power of 2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is analogue data?

A

A continuous stream of data processed by humans

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a logic gate and what data can they process?

A

A very small component in a computer system controlling electricity flow that can only process digital data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is digital data and what does it use?

A

Discrete data that only has values 1 and 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is a register?

A

A small component in a computer system used to temporarily store data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is denary and what does it use?

A

A base-10 number system using values 0 - 9

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What values does a computer system use?

A

Binary number system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

How is a binary number referred to in relation to the number of bits it has, and what are these?

A

4-bit binary number has 4 values either 1 or 0, 8-bit binary number has 8 values either 1 or 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

How do you convert a denary number to binary?

A

Compare the denary number to the first (leftmost) binary unit, if the denary is greater subtract the binary unit from it, write a 1 in that position, and move to the next binary unit. If the denary is smaller, write a 0 and move on with no subtraction. Repeat until the end of the binary units is reached

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

How do you convert a binary number to denary?

A

Add together all units in the binary number represented by the value 1

24
Q

How are denary numbers converted to hexadecimal generally?

A

Denary numbers less than 16 can be directly converted to hexadecimal, greater than 16 numbers generally converted to binary first, then to hexadecimal, using 4-bit binary numbers

25
How is hexadecimal converted to denary?
Hexadecimal numbers less than 16 can be converted to denary directly, greater than 16 generally converted to binary first, then to denary, using 4-bit binary numbers
26
What is a media access control (MAC) address?
Unique address given to a computer at the manufacturing stage, used to identify the computer
27
How does binary addition work?
Uses four rules: 0+0=0; 1+0=1; 1+1=10 (2 is 10 in binary); 1+1+1 = 11 (3 is 11 in binary)
28
What is an overflow error?
A type of error which occurs when a number larger than what a register can store is generated
29
What is a logical binary shift and what do they do?
Logical binary shift moves binary values in number to left or right; leftward shift doubles number, rightward shift halves number; some binary values removed and empty spaces created with each shift
30
What is a potential problematic effect of a logical binary shift?
Vital bits can be removed from the register, therefore data can be lost. Consequently, leftward and rightward shifts don't always double and halve the number
31
How is a negative number represented in binary?
Method of two's complement used; take positive number in binary, invert all values in binary (1s and 0s swapped); 1 added to result; outcome is binary representation of negative number using two's complement method
32
How is text converted to binary?
Character set used like ASCII or Unicode, each character has binary value assigned to it
33
What is a character set?
Contains all characters in the character set and binary value assigned to each character
34
What are the two main types of character set and how do they work?
ASCII represents characters using 8-bit binary, can represent up to 256 characters; Unicode character set uses 16-bit binary, can represent approximately 65,000 characters
35
How are images converted to binary?
Image made up of tiny dots called pixels, with colour. Each pixel has colour made using RGB colour system, with metadata like image dimensions allows computer to create image if given data for each pixel
36
What is a pixel?
A very small dot of colour displayed with many others to create an image
37
What is resolution?
The dimensions of an image
38
What is metadata?
Additional data stored with image like dimensions of image, time and date image was taken
39
What is colour depth?
The number of bits used to create each colour in an image
40
How does resolution or colour depth affect the size of an image file?
If resolution or colour depth is increased, more data will be needed so file size is larger for the image
41
How is sound converted to binary?
Sound sampling used to record little pieces of sound at regular time intervals, each sound value converted to binary, values then used to playback sounds, works due to sound being made up of sound waves
42
What is sound sampling?
Little piece of sound recorded at regular time intervals
43
What is sample rate?
The number of samples recorded each second
44
What is sample resolution?
Number of bits used to record each sound sample
45
How is recorded sound quality and file size affected by sample rate and sample resolution?
The higher sample rate and sample resolution, the greater the recorded sound quality is, but the greater the file size is as well due to more data being needed
46
What is a common sample rate and sample resolution?
Sample rate - 44.1kHz, sample resolution - 16-bit
47
What are the units of data measure?
Bit - smallest data measurement; nibble - 4 bits in nibble; byte - 8 bits in byte; kibibyte (KiB) - 1024 bytes; mebibyte (MiB) - 1024 kibibytes; gibibyte (GiB) - 1024 mebibytes; tebibyte (TiB) - 1024 gibibytes; pebibyte (PiB) - 1024 tebibytes; exbibyte (EiB) - 1024 pebibytes
48
What is compression?
Method which uses an algorithm to reduce the size of a file
49
What are the benefits of compression?
Not as much storage space needed for file; takes less time to transmit; quicker to upload and download; less bandwidth needed to transmit file over internet
50
What are the 2 types of compression and how do they work?
Lossy - compression method which permanently removes data; lossless - compression method which temporarily alters data
51
What does lossy compression do, where is it applied generally?
Permanently removes unnecessary data in file, mainly used on image or sound file
52
What might lossy compression do on an image file?
Removes colours indistinguishable to human eye, reduces image resolution and colour depth
53
What might lossy compression do on a sound file?
Removes sound unhearable by human ear, or sounds not heard due to other sounds, reduces sample rate and sample resolution
54
What is perceptual music shaping?
Process used in lossy compression which finds and removes sounds not normally heard by human ear
55
How does lossless compression work, and what can it be used on?
Common method used is finding repeating data and grouping it together, can be used on text file or on image file
56
What is run length encoding (RLE)?
A lossless compression algorithm which groups together repeating patterns and indexes them, applied to image files