Computer Architecture,Languages and operating systems Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Step 1 to the fetch-execute cycle:

A

the CPU fetches the necessary data and instructions and store them in its own internal memory locations. To fetch the instruction the CPU uses the address bar. The data is then moved to a special register that will decode the instruction

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

Step 2 to the fetch-execute cycle:

A

The CPU decodes the instruction using an instruction set.

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

Step 3 to the fetch-execute cycle:

A

Once the CPU has decoded the instruction it executes the instruction. If calculations are needed, this will be carried out by the ALU.

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

Draw the fetch-execute cycle:

A

Fetch instruction-Decode instruction-Execute instruction

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

cache memory:

A

A portion of memory location within the CPU used for high-speed storage.

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

Register:

A

An internal memory location within the CPU that temporarily holds data and instructions during processing.

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

Accumulator:

A

The register is used for arithmetic and logic calculations.

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

Control unit:

A

this is an internal part of the CPU and it controls the flow of data through the CPU. It also controls the interactions between the different parts of the CPU.

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

IAS (immediate access store):

A

This is the memory who found inside a CPU and is used to hold not only data but also the instructions needed to process data. It is also more commonly known as the CPU memory

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

arithmetic logic unit:

A

this is an internal part of the CPU that carries out calculations on the data arithmetic part uses the usual operations as such as multiply divide add and subtract. values need to be placed in the accumulator for calculations to be carried out.

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

Buses:

A

a bus is a series of conductors or pathways which can be considered a sort of Highway for information.

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

The 3 separate buses which are used:

A

1-The data bus carries the data.
2-The address bus carries the memory address.
3-The control bus carries the instructions.

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

The Von Neumann architecture:

A

It consists of a single, shared memory for programs and data, a single bus for memory access, an arithmetic unit, and a program control unit. The Von Neumann processor operates fetching and execution cycles.

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

The purpose of a CPU:

A

The CPU is responsible for executing a sequence of stored instructions called a program.

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

The purpose of ROM:

A

ROM is a special kind of memory that stores the instructions which the computer uses when it ‘boots up’. ROM is a type of memory that retains its data even without power.

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

The purpose of RAM:

A

to provide quick read and write access to a storage device. Your computer uses RAM to load data because it’s much quicker than running that same data directly off of a hard drive

17
Q

High-level language:

A

A programming language that looks like the language humans generally use.

18
Q

Low-level language:

A

A programming language that is closer to the native language of computers.

19
Q

Syntax:

A

The structure of language on a computer.

20
Q

High-level language 2:

A

1- java and python
2-much easier for humans to understand
3-Needs to be translated by a compiler
4-One line of code can do several things.

21
Q

Low-level language 2:

A

1-Machine code and assembly language
2-Hard for humans to understand but can easily be executed by a computer.
3-Needs an assembler to be processed
4-One line of code does one thing only.

22
Q

The difference between a compiler and an interpreter:

A

A compiler video is a computer program that takes code written in a high-level language and translated into machine code all in one go. An interpreter translates code line by line.