‘O’ level sake Flashcards

1
Q

Random-access memory (RAM)

Read-only memory (ROM)

A

RAM
Where data and instructions are stored temporarily so that they can be quickly accessed by the processor when needed
ROM
Where data and instructions that rarely need to change or would be needed for a computer to start up are stored

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

Bi-directional

Uni-directional

A

Bi
2, to and fro
Uni
1

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

Secondary storage (definition, factors)

A

Way of storing large amounts of data that will not be lost when power supply is interrupted

Capacity 
Speed
Portability 
Durability 
Cost
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Magnetic storage media

A

Advantages
1. Large storage capacity of up to terabytes of data
2. Relatively cheaper than optical and solid-state storage media
Disadvantages
1. Easily damaged and will eventually break over time
2. Much slower than solid-state storage media

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

Optical storage media

A

Advantage
Large capacity storage of up to gigabytes of data
Disadvantage
Vulnerable to scratches and fingerprints

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

Solid-state storage media

A

Advantage
Much faster than magnetic or optical storage media
Disadvantage
Much more expensive than magnetic or optical storage media

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

Data bus, address bus

A

DATA BUS
Bi-directional because data can be sent in both directions between the processor and memory
ADDRESS BUS
Uni-directional because address information is always sent in one direction between the processor and memory

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

Stages of developing a program

A
Gather requirements
Plan solutions 
Write code
Test and refine code
Implement code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Compiler

A

Code translator program that translates source code into machine code completely before running the compiled program

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

Interpreter

A

Code translator program that translates source code into machine code while the interpreter program is running

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

Compiler advantage and disadvantage

A

ADVANTAGE
Syntax errors are detected even before the program runs
DISADVANTAGE
Compilers usually do not offer an interactive mode

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

Interpreter advantage and disadvantage

A

ADVANTAGE
Interpreters usually have an interpreter mode, which facilitates learning and experimentation
DISADVANTAGE
Syntax errors may interrupt the running of a program

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