4.6 - Computer Systems Flashcards

1
Q

Low Level Languages

A

Machine-dependent. Instructions reflect exactly how the code is carried out on a computer.

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

Machine Code

A

Instruction are formed in binary of an opcode and an operand. The first x bits of an instruction would represent the opcode and the latter the operand. No need for translation.

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

Assembly

A

Opcode represented as a pneumonic and the operand a decimal/hexadecimal a number or register. Each instruction has a 1:1 correlation with a machine code instruction. Must be assembled.

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

Imperative High Level Language

A

Each instruction specifies HOW a computer should execute a certain step of a program.

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

Compiler

A

Translates the program all at once.
Produces an executable file.
Faster than the other one.
More secure (harder to reverse engineer).

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

Interpreter

A

Translates line-by-line.
Helps when debugging to find syntax errors.

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

Intermediate Bytecode

A

Combines the benefits of interpretation and compilation.
Allows for platform independence as the bytecode is run by a VM on a device.

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

Advantages of HLLs over LLLs

A

+ Easier to learn.
+ Simpler and faster to write code in.
+ Easier to understand and debug.
+ Platform independence can be achieved.
+ Lots of built-in functions avaliable.

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

Hardware

A

The physical parts of a computer.

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

Software

A

Programs written for the computer.

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

Systems Software

A

Required for the computer to function.
e.g. OS, utility programs, translators.

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

Operating System

A

Manages all computer hardware. Some also create a GUI for a better user experience.

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

Utility Programs

A

Designed to carry out a specific function. e.g. disk defragmentation or compression.

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

Libraries

A

Ready-compiled programs that can be run when needed (think Python libraries).

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

Application Software

A

Programs that perform user-oriented tasks.

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

General-purpose Software

A

Able to perform many different tasks e.g. Word Processor

17
Q

Special-purpose Software

A

Perform a specifc set of tasks e.g. bookings system.

18
Q

Bespoke Software

A

Perform highly specific tasks e.g. a piece of software that was made for one company to do one thing.

19
Q

Functions of the Operating System

A

Memory management, processor scheduling, backing store management, peripheral management.

20
Q

Half-adder circuit

A

Both A and B go into an XOR and an AND gate. The XOR outputs the sum and the AND outputs the carry.