Computing Flashcards

1
Q

1 byte in bits

A

8 bits

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

Kilo mega giga tera in bytes

A

1000^1 ^2 ^3 ^4

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

Kibi mebi Gibi tebi in bytes

A

1024 ^1 ^2 ^3 ^4

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

What does processor do

A

Receives data and follow instructions through ALU and control unit
Also known as CPU
Follow instructions and decide where data should be stored

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

What does the memory do

A

Stores data, instructions and results for immediate use

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

Random excess memory

A

Data and instructions are stored temporarily so that they can be used by processor

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

Read only memory

A

Non volatile data
Needed to start up computer

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

Secondary storage

A

Large amounts of data stored
Hard disk or hard drive

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

Data bus

A

Bidirectional
Transports data processed in the CPU

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

Input and output

A

Input is instructions computer receives
Output is final results produced

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

Advantages and disadvantages of magnetic

A

Can store large amounts of data and cheap
But easily damaged when dropped and slower than solid state

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

Advantages and disadvantages of optical

A

Can store large amounts of data
But vulnerable to scratches, data on,y can be rewritten once and less storage than magnetic

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

Advantages and disadvantages of solid state

A

Fastest, not as vulnerable to scratches and drops, smaller and lighter and quieter

But much more expe

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

Types of algorithms

A

Decomposition and generalisation

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

Decomposition

A

Break down a complex problem into more manageable parts
Sub problem with helps find solutions to bigger problems

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

Generalisation

A

Replace 2 or more similar items into 1

17
Q

2 approaches to decompose a problem

A

Incremental approach
Modular approach

18
Q

Data validation techniques

A

Length check - Check if input is not too long or not too short
Range check - Check if code is in required range
Presence check - Check if required input is provided
Format check - Ensure input matches arrangement

19
Q

Error types

A

Syntax - does not follow rules
Run time - When program hangs or crashes
Incorrect use of command
Logic error - give an unexpected output when incorrect algorithm is written