part 3, Hardware and software concepts Flashcards

1
Q

this is a fixed length of bits

A

what is a word

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

give an overview of what happens during decode

A
  1. the control unit finds out what instruction is being held in the operator part of the instruction register and then sets up the necessary circuits and values for the instruction to take place
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

in detail what happens during the fetch

A
  1. The control unit sends a control signal on the control bus to the program counter telling it to put the address that it holds onto the address bus so that that location in memory can be read
  2. A memory read control signal is then sent to memory. This causes the data held in in the location being accessed to be put onto the data bus
  3. The control unit then ensures that the data is routed to the instruction register
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

how many bytes in a tebibyte (TiB)

A

this contains

240 bytes

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

what is the sample rate

A

this is how many samples are being taken per a second

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

what is a word

A

this is a fixed length of bits

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

what are the 2 jobs of the accumulator

A
  1. this has the job of storing numbers that are about to be used in an arithmetic operation.
  2. it also has the job of storing the output value of the operation just performed which can then be held for the next operation or sent back to main memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. The control unit then sends an execute control signal to any component involved in the instruction so that that unit can carry out its work and load any values to there appropriate register such as the accumulator
  2. A control signal is then sent to the program counter to increase the counter by 1
  3. The cycle then repeats
A

what happens during execute

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

the bits that are held by this might tell you that the outcome of the last operation

  1. the integer was negative/positive
  2. was to large or too small to hold in the accumulator
A

what type of information might the bits held in the status reister tell you

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

explain what Just in time (JIT) compilation is

A

with this if a block of code is used frequently then it is compiled to machine code by the virtual machine and stored in cache. This eliminates the need for any further interpretation on the given block of code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  1. this follows a fetch-decode-execute cycle.
  2. is in charge of sending out control signals so that data may find its way from main memory to the cache and registers and then to the appropriate unit
  3. holds an instruction set and compares instructions when decoding them
A

what are 3 features of the control unit

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

this stands for

Complex instruction set computing (CISC)

A

what does CISC stand for

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

where can the status register be found and what is its role

A
  1. this can be found within the processor
  2. its role is to hold a report on the outcome of the last executed instruction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

how many bits does one hexadecimal digit hold

A

this holds 4 bits (nibble)

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

this does not produce object code or an object program instead it only translates instructions as and when they are needed

A

how does an interpreter work

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

is usually expressed in bits per second (bps) or kHz

A

how is the bit rate usually expressed

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

this holds the memory address of the next instruction and then when told by the control unit it will increment this address by one (this happens after execution but before fetching). if the control unit is told to jump to an address then the value will be held here

A

what is the role of the program counter

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

this part holds the instruction that the control unit will decode

A

explain the operator part of the instruction register

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

multi core processors give of less heat. why is this

A

the reason these give of less heat is because more heat is generated when a processor has to constantly switch between tasks. when a processsor can focus on one task it in turn will dissipate lesss heat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q
  1. The control unit sends a control signal on the control bus to the program counter telling it to put the address that it holds onto the address bus so that that location in memory can be read
  2. A memory read control signal is then sent to memory. This causes the data held in in the location being accessed to be put onto the data bus
  3. The control unit then ensures that the data is routed to the instruction register
A

in detail what happens during the fetch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q
  1. When a program is written knowledge of the processor is not needed and does not need to be coded into the program
  2. When a program is written knowledge of peripherals is not needed. This is handled by the operating system who holds device drivers that tell it how to operate different peripherals
  3. The operating system can handle memory management and ensure that two programs do not disturb/overwrite each other
  4. The operating system can orchestrate multiple programs running simultaneously
A

name 4 benefits that an operating system gives

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

what is an instruction set

A

this is a set of instructions that the processor understands and can execute

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

this holds 4 bits (nibble)

A

how many bits does one hexadecimal digit hold

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

this makes itslef more effiecient by

  1. predicting what instructions will need to be processed next
  2. using instructions that directly make this more efficient
  3. having a good management system for this
  4. loading large sequence of instructions into itself where possible
A

what 4 ways is cache made more efficient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
this holds the **memory address of the next instruction** to be fetched
what value does the **program counter** hold
26
what are the 3 main types of instructions
1. Arithmetic and logic operations - this includes operations that the ALU and FPU can both handle such as arithmetic, equality, comparisons. This also includes logic such as AND, NOT, OR 2. Flow control - this is the flow of execution. This usually happens in sequential order of memory address but the flow can be altered using jumps or conditional jumps 3. Data handling and memory operations - this is setting registers to a value or copying data from a main memory location to a register and vice versa
27
it distinguishes between these because of the way everything is organised the OS will store instructions in a sequential fashion and then set the program counter to the first address of the instructions this way instructions and data can be kept seperated
how does the **processor distinguish between instructions and data** since both are written in binary
28
what handles the transfer of data from **secondary memory**
the transfer of data from this is handled by the **operating system**
29
1. More human readable instructions with the use of (mnemonic names) such as MOV for move 2. Memory addresses can be given symbolic names 3. Can use decimal numbers and characters instead of just binary 4. Comments may be added which are later ignored by the assembler 5. Assemblers can do simple error checking before the program is ran
what are 5 **advantages of assembly language over machine language**
30
what happens during **execute**
1. The control unit then sends an execute control signal to any component involved in the instruction so that that unit can carry out its work and load any values to there appropriate register such as the accumulator 2. A control signal is then sent to the program counter to increase the counter by 1 3. The cycle then repeats
31
this contains 220 = 1,048,576 bytes
how many bytes in a mebibyte (MiB)
32
the transfer of data from this is handled by the **operating system**
what handles the transfer of data from **secondary memory**
33
what are 3 features of the **control unit**
1. this follows a fetch-decode-execute cycle. 2. is in charge of sending out control signals so that data may find its way from main memory to the cache and registers and then to the appropriate unit 3. holds an instruction set and compares instructions when decoding them
34
what 3 parts is an **instruction** made up of
1. The instruction 2. The register holding a value for the operation or a memory location that needs to be accessed 3. An immediate value or constant that will be used with the instruction
35
once an **instruction has been executed and output data produced** what are the 3 steps the data then takes
the output data is carried back on the same journey in revese order 1. registers 2. cache 3. main memory
36
explain what **Reduced instruction set computing (RISC)** is
this is a type of instruction set that is made up of fundamental instructions and then relys on software for more complex operations. Each instruction is fundamental enough to be carried out in one clock cycle. The number of bits per instruction can be fixed aswell as only one memory loaction will ever be used
37
this is a place where the current instruction is held so that it can be read by the control unit
what is the **instruction register** for
38
where is **data and instructions** stored
these are stored in RAM
39
this stands for **Floating-point unit**
what does **FPU** stand for and where can it be found
40
these are stored in RAM
where is **data and instructions** stored
41
in detail what happens during **decode** if the instruction was to add
1. The control unit compares the instruction held in the operator part of the instruction register by using instruction comparison circuits 2. As an example after the comparison it finds that it was an add instruction 3. A control signal is then sent to the ALU 4. The control unit also knows that the add instruction has two operands where the first will be already held in the accumulator from the previous cycle and the new value will be held as an address in the operand part of the instruction register 5. The value held in the accumulator is copied to a register in the ALU using the data bus 6. The memory address held in the operand part of the instruction register is read and its contents copied to a second register in the ALU
42
this stands for **Arithmetic logic unit**
what does **ALU** stand for and where can it be found
43
what is **pipelining** and which instruction set can utilize this technique best
allows processes to be carried out in parallel (that is at the same time) This allows a processor to finish tasks quicker and with more efficiency. Risc has the advantage here as each instruction predictably takes one clock cycle where as with cisc some processes take one clock cycle while others take more the downside of this is that waiting occurs on the process that takes longest
44
what is **assembly language**
is a programming language that is more readable to humans than machine language. this language is able to access all features and instructions available on the processor
45
1. Once the object code (bytecode) has been compiled it can be ran on any machine 2. Programs ran in the virtual machine can be considered safer since the virtual machine can be programmed to do things such as only using trusted files
what are two advantages of **bytecode**
46
1. L1 - the fastest level but can hold a very small amount of bits 2. L2 - slower than L1 but can hold more bits 3. L3 slower than L2 but can hold more bits 4. L4 slower than L3 but can hold more bits
name four layers of **cache** and there features
47
this is a set of instructions that the processor understands and can execute
what is an **instruction set**
48
The number of pulses per second is usually measured in GHz.
what is the number of pulses the **processor clock** gives out usually measured in
49
convert **F1** to binary
convert **1111 0001** to hexadecimal
50
how is the **bit rate** usually expressed
is usually expressed in bits per second (bps) or kHz
51
how does an **interpreter** work
this does not produce object code or an object program instead it only translates instructions as and when they are needed
52
what is the **control bus** for
this carries control signals between the components of the processor and main memory
53
when a program is written in **assembly language** what is the name of the transalation program that translates it to machine language
this uses a translation program called an **assembler**
54
what is the **instruction register** for
this is a place where the current instruction is held so that it can be read by the control unit
55
is a programming language that is more readable to humans than machine language. this language is able to access all features and instructions available on the processor
what is **assembly language**
56
1. The control unit compares the instruction held in the operator part of the instruction register by using instruction comparison circuits 2. As an example after the comparison it finds that it was an add instruction 3. A control signal is then sent to the ALU 4. The control unit also knows that the add instruction has two operands where the first will be already held in the accumulator from the previous cycle and the new value will be held as an address in the operand part of the instruction register 5. The value held in the accumulator is copied to a register in the ALU using the data bus 6. The memory address held in the operand part of the instruction register is read and its contents copied to a second register in the ALU
in detail what happens during **decode** if the instruction was to add
57
This is how many bits are being used per a sample and is also linked to how many quantisation levels there are 2 bits per sample would give 22 = 4 quantisation levels
what is the **bit depth**
58
1. The instruction 2. The register holding a value for the operation or a memory location that needs to be accessed 3. An immediate value or constant that will be used with the instruction
what 3 parts is an **instruction** made up of
59
this is base 16 and uses values from 0 to F
what base is **hexadecimal** and what values does it use
60
this is the time between two clock pulses
what is 1 **clock cycle**
61
explain the **operand** part of the **instruction register**
this part holds any data that must be used with the instruction such data could include 1. a constant value 2. a memory address holding a value
62
1. Arithmetic and logic operations - this includes operations that the ALU and FPU can both handle such as arithmetic, equality, comparisons. This also includes logic such as AND, NOT, OR 2. Flow control - this is the flow of execution. This usually happens in sequential order of memory address but the flow can be altered using jumps or conditional jumps 3. Data handling and memory operations - this is setting registers to a value or copying data from a main memory location to a register and vice versa
what are the 3 main types of instructions
63
what is the **data register** used for
this is temporary storage space and holds data that are on their way to the ALU or FPU or on their way back to main memory
64
what is the **address bus** for
this carries the address of the memory locations to be accessed (when an address is put on this bus that address becomes accessible for read and writes)
65
from here the instruction or data will be stored in **cache**
when an instruction is retrieved from **ram** where is it stored
66
what is a **bus**
this is wiring that connects all components inside the processor as well as components outside the processor such as main memory and other components on the motherboard
67
name 4 benefits that an **operating system** gives
1. When a program is written knowledge of the processor is not needed and does not need to be coded into the program 2. When a program is written knowledge of peripherals is not needed. This is handled by the operating system who holds device drivers that tell it how to operate different peripherals 3. The operating system can handle memory management and ensure that two programs do not disturb/overwrite each other 4. The operating system can orchestrate multiple programs running simultaneously
68
this sends out a number of pulses per second. The pulse is used to keep all components in sync and working together.
what is the **processor clock** used for
69
why is **cache** needed
this is intermediate memory that lies in between main memory and the registers. its importance lies in the fact that the processor and registers transfer data at much higher speeds than main memory can handle and so this is needed to act as pool where instructions and data can be stored
70
explain the **operator** part of the **instruction register**
this part holds the instruction that the control unit will decode
71
1. this will hold two or more processors on a single chip. 2. each processor can run its own fetch-decode-execute cycle 3. each processor will most likely have its own L1 cache 4. in many cases L2 cache and higher will be shared
give 4 features of a **multi core processor**
72
this is the act of splitting a task up and distributing it between the cores.
explain what **threading** is
73
takes a program written in assembly language and converts it into an equivalent program in machine language. The program can then be loaded into memory and executed
what is an **assembler**
74
in general is a program written in a language where each instruction may be translated to one or more instructions in machine language
what is a **high level programming language**
75
what is the formula to find the **bit rate (BPS)**
76
Both machine language and assembly languages are examples of a low level language this is because for each instruction written in the program one instruction is carried out by the processor
what is a **low level language** and what are two examples
77
give an overview of what happens during the **fetch**
1. the memory address of the next instruction held in the program counter is read and the instruction is then loaded into the instruction register
78
explain what **threading** is
this is the act of splitting a task up and distributing it between the cores.
79
this performs binary arithmetic on integers. it can also check for equality of two integers and also check if one integer is larger or smaller than another
what does the **Arithmetic logic unit (ALU)** do
80
what does the **Arithmetic logic unit (ALU)** do
this performs binary arithmetic on integers. it can also check for equality of two integers and also check if one integer is larger or smaller than another
81
what is the job of a **compiler**
This involves taking the source code (a high level language) as input and running it through a translator program to output machine language
82
how would you convert B02F to decimal
83
is a place in secondary memory that is used to store the least used data/chunks (called pages) in main memory this makes for better use of main memory especially when main memory is getting full
what is the **page file/swap file**
84
how many bytes does each **memory address** hold
each address holds 1 byte
85
this is the idea of being able to load a larger program from a smaller one
what is **bootsrapping**
86
this is how many bits are being processed per a second
what is the **bit rate**
87
this cycle takes just 1 clock cycle
how many clock cycles does the **fetch-decode-execute cycle** take
88
what is the role of the **program counter**
this holds the memory address of the next instruction and then when told by the control unit it will increment this address by one (this happens after execution but before fetching). if the control unit is told to jump to an address then the value will be held here
89
modern computers use 32-bit or 64-bit sizes of these
what **word** size do modern computers use for there instructions
90
91
This involves taking the source code (a high level language) as input and running it through a translator program to output machine language
what is the job of a **compiler**
92
what 2 components is the **instruction register** made up of
this is made up of the 1. operator 2. operand
93
1. this can be found within the processor 2. its role is to hold a report on the outcome of the last executed instruction
where can the **status register** be found and what is its role
94
1. the control unit finds out what instruction is being held in the operator part of the instruction register and then sets up the necessary circuits and values for the instruction to take place
give an overview of what happens during **decode**
95
this is measured in bytes using powers of 2
what is **cache and main memory** measured in
96
what happens with every **clock cycle**
within this time frame one instruction will be executed
97
from **registers** where does the data or instruction go
from here the data or instruction is sent to the **appropriate unit** such as the ALU or FPU to be processed
98
what is a **low level language** and what are two examples
Both machine language and assembly languages are examples of a low level language this is because for each instruction written in the program one instruction is carried out by the processor
99
The disadvantage of this is that any changes made in the source code must be re compiled this means detecting and updating bugs and adding new features can be a time consuming process
what are some dissadvantges of compiling
100
this machine code is referred to as object code or object program
when a complier has translated (high level language) source code to machine code what is the machine code referred to as
101
name from the prefix kilo to tera and give there symbol for Bytes and power
102
how many bytes in a mebibyte (MiB)
this contains 220 = 1,048,576 bytes
103
when referring to **secondary memory** or **data transfer speeds** what base must be used
when referring to these two we use the standard SI units that is base 10
104
this is intermediate memory that lies in between main memory and the registers. its importance lies in the fact that the processor and registers transfer data at much higher speeds than main memory can handle and so this is needed to act as pool where instructions and data can be stored
why is **cache** needed
105
give 4 features of a **multi core processor**
1. this will hold two or more processors on a single chip. 2. each processor can run its own fetch-decode-execute cycle 3. each processor will most likely have its own L1 cache 4. in many cases L2 cache and higher will be shared
106
what does **ALU** stand for and where can it be found
this stands for **Arithmetic logic unit**
107
this is temporary storage space and holds data that are on their way to the ALU or FPU or on their way back to main memory
what is the **data register** used for
108
what base is **hexadecimal** and what values does it use
this is base 16 and uses values from 0 to F
109
what is the **bit depth**
This is how many bits are being used per a sample and is also linked to how many quantisation levels there are 2 bits per sample would give 22 = 4 quantisation levels
110
1. A prefix is 0X so ## Footnote 0XB02F 2. A subscript is B02F16 3. appended would be B02F h
what 3 ways might you see hexadecimal written as to convey that it is a hexadecimal value
111
what is **bytecode** and what is its benefit
this is an intermediate languge that some high level programming languages use its benefit is that it can be ported to any platform as long as they have the languages virtual machine installed which understands this language
112
1. control 2. address 3. data
name 3 **buses**
113
within this time frame one instruction will be executed
what happens with every **clock cycle**
114
when referring to the **size of cache or main memory** what base should be used
when refering to the size of these the base 2 sytsem should be used so 1 Kib = 210 bytes = 1024 bytes = (1024 \* 8) bits = 8192 bits
115
what is the **data bus** for
this bus is used to carry the data
116
name from the prefix kilo to tera and give there symbol for Bytes and power
117
1. the memory address of the next instruction held in the program counter is read and the instruction is then loaded into the instruction register
give an overview of what happens during the **fetch**
118
what is the formula to find the **bit rate (BPS)**
119
this is how many samples are being taken per a second
what is the **sample rate**
120
what is 1 **clock cycle**
this is the time between two clock pulses
121
from here the data will be stored inside its relevant **register**
when an instruction or data is retrieved from **cache** where is it stored
122
from here the data or instruction is sent to the **appropriate unit** such as the ALU or FPU to be processed
from **registers** where does the data or instruction go
123
what is the **bit rate**
this is how many bits are being processed per a second
124
this can be found inside the **ALU** and also inside the **FPU**
what 2 places can the **accumulator** be found
125
when referring to these two we use the standard SI units that is base 10
when referring to **secondary memory** or **data transfer speeds** what base must be used
126
if this did not exist there would be a **bottleneck** between the main memory and the registers basically the processor would be constantly waiting on main memory when transferring and recieving data
what problem would occur if there were no **cache**
127
this is an intermediate languge that some high level programming languages use its benefit is that it can be ported to any platform as long as they have the languages virtual machine installed which understands this language
what is **bytecode** and what is its benefit
128
what does **secondary memory** refer to
this refers to persistent storage such as HDDs or SSDs
129
what type of information might the bits held in the **status reister** tell you
the bits that are held by this might tell you that the outcome of the last operation 1. the integer was negative/positive 2. was to large or too small to hold in the accumulator
130
what does **RISC** stand for
this stands for **Reduced instruction set computing (RISC)**
131
with this if a block of code is used frequently then it is compiled to machine code by the virtual machine and stored in cache. This eliminates the need for any further interpretation on the given block of code
explain what **Just in time (JIT) compilation** is
132
allows processes to be carried out in parallel (that is at the same time) This allows a processor to finish tasks quicker and with more efficiency. Risc has the advantage here as each instruction predictably takes one clock cycle where as with cisc some processes take one clock cycle while others take more the downside of this is that waiting occurs on the process that takes longest
what is **pipelining** and which instruction set can utilize this technique best
133
this in general is used to hold software that can do simple hardware checks when the computer is switched on and also hold a bootstrap program
what is **read only memory (ROM)** generally used for
134
this is a type of instruction set where more complex operations are hardwired in. These instructions are usually variable in size as multiple locations in memory may be needed to carry out the instruction. These instructions generally take longer than one clock cycle aswell because of the nature of the complex operation
explain what **Complex instruction set computing (CISC)** is
135
the reason these give of less heat is because more heat is generated when a processor has to constantly switch between tasks. when a processsor can focus on one task it in turn will dissipate lesss heat
**multi core processors** give of less heat. why is this
136
what is the number of pulses the **processor clock** gives out usually measured in
The number of pulses per second is usually measured in GHz.
137
what are two advantages of **bytecode**
1. Once the object code (bytecode) has been compiled it can be ran on any machine 2. Programs ran in the virtual machine can be considered safer since the virtual machine can be programmed to do things such as only using trusted files
138
this bus is used to carry the data
what is the **data bus** for
139
what is **bootsrapping**
this is the idea of being able to load a larger program from a smaller one
140
this is made up of the 1. operator 2. operand
what 2 components is the **instruction register** made up of
141
this uses a translation program called an **assembler**
when a program is written in **assembly language** what is the name of the transalation program that translates it to machine language
142
what is the **processor clock** used for
this sends out a number of pulses per second. The pulse is used to keep all components in sync and working together.
143
what is a **high level programming language**
in general is a program written in a language where each instruction may be translated to one or more instructions in machine language
144
this refers to persistent storage such as HDDs or SSDs
what does **secondary memory** refer to
145
how would you convert B02F to decimal
146
convert **1111 0001** to hexadecimal
convert **F1** to binary
147
when refering to the size of these the base 2 sytsem should be used so 1 Kib = 210 bytes = 1024 bytes = (1024 \* 8) bits = 8192 bits
when referring to the **size of cache or main memory** what base should be used
148
what 4 ways is **cache** made more efficient
this makes itslef more effiecient by 1. predicting what instructions will need to be processed next 2. using instructions that directly make this more efficient 3. having a good management system for this 4. loading large sequence of instructions into itself where possible
149
1. this has the job of storing numbers that are about to be used in an arithmetic operation. 2. it also has the job of storing the output value of the operation just performed which can then be held for the next operation or sent back to main memory
what are the 2 jobs of the **accumulator**
150
name 3 **buses**
1. control 2. address 3. data
151
what problem would occur if there were no **cache**
if this did not exist there would be a **bottleneck** between the main memory and the registers basically the processor would be constantly waiting on main memory when transferring and recieving data
152
this carries control signals between the components of the processor and main memory
what is the **control bus** for
153
what does **CISC** stand for
this stands for ## Footnote **Complex instruction set computing (CISC)**
154
when a complier has translated (high level language) source code to machine code what is the machine code referred to as
this machine code is referred to as object code or object program
155
what are 3 dissadvantages of **bytecode**
1. Each platform(OS/processor) will use a different virtual machine to interpret the bytecode 2. Programs running in the virtual machine will be executed more slowly 3. Since the bytcode is generic it is not optimized for any specific platform
156
what is **cache and main memory** measured in
this is measured in bytes using powers of 2
157
what is the base unit for the **sample rate**
The base unit for the sample rate is Hz 1Hz = 1 sample per second (remeber Hz is the frequency per a second)
158
this is a type of instruction set that is made up of fundamental instructions and then relys on software for more complex operations. Each instruction is fundamental enough to be carried out in one clock cycle. The number of bits per instruction can be fixed aswell as only one memory loaction will ever be used
explain what **Reduced instruction set computing (RISC)** is
159
what **word** size do modern computers use for there instructions
modern computers use 32-bit or 64-bit sizes of these
160
what is **read only memory (ROM)** generally used for
this in general is used to hold software that can do simple hardware checks when the computer is switched on and also hold a bootstrap program
161
explain what **Complex instruction set computing (CISC)** is
this is a type of instruction set where more complex operations are hardwired in. These instructions are usually variable in size as multiple locations in memory may be needed to carry out the instruction. These instructions generally take longer than one clock cycle aswell because of the nature of the complex operation
162
what are 5 **advantages of assembly language over machine language**
1. More human readable instructions with the use of (mnemonic names) such as MOV for move 2. Memory addresses can be given symbolic names 3. Can use decimal numbers and characters instead of just binary 4. Comments may be added which are later ignored by the assembler 5. Assemblers can do simple error checking before the program is ran
163
what 3 ways might you see hexadecimal written as to convey that it is a hexadecimal value
1. A prefix is 0X so ## Footnote 0XB02F 2. A subscript is B02F16 3. appended would be B02F h
164
what value does the **program counter** hold
this holds the **memory address of the next instruction** to be fetched
165
what does **FPU** stand for and where can it be found
this stands for **Floating-point unit**
166
1. Each platform(OS/processor) will use a different virtual machine to interpret the bytecode 2. Programs running in the virtual machine will be executed more slowly 3. Since the bytcode is generic it is not optimized for any specific platform
what are 3 dissadvantages of **bytecode**
167
the output data is carried back on the same journey in revese order 1. registers 2. cache 3. main memory
once an **instruction has been executed and output data produced** what are the 3 steps the data then takes
168
each address holds 1 byte
how many bytes does each **memory address** hold
169
this handles binary arithmetic on floating point numbers. it can also check the equality of two floating point numbers and check if one is larger or smaller than another
what does the **Floating-point unit (FPU)** do
170
what does the **Floating-point unit (FPU)** do
this handles binary arithmetic on floating point numbers. it can also check the equality of two floating point numbers and check if one is larger or smaller than another
171
172
how does the **processor distinguish between instructions and data** since both are written in binary
it distinguishes between these because of the way everything is organised the OS will store instructions in a sequential fashion and then set the program counter to the first address of the instructions this way instructions and data can be kept seperated
173
what is an **assembler**
takes a program written in assembly language and converts it into an equivalent program in machine language. The program can then be loaded into memory and executed
174
how many clock cycles does the **fetch-decode-execute cycle** take
this cycle takes just 1 clock cycle
175
name four layers of **cache** and there features
1. L1 - the fastest level but can hold a very small amount of bits 2. L2 - slower than L1 but can hold more bits 3. L3 slower than L2 but can hold more bits 4. L4 slower than L3 but can hold more bits
176
this contains 230 bytes
how many bytes in a gibibyte (GiB)
177
this contains 240 bytes
how many bytes in a tebibyte (TiB)
178
what 2 places can the **accumulator** be found
this can be found inside the **ALU** and also inside the **FPU**
179
this stands for **Reduced instruction set computing (RISC)**
what does **RISC** stand for
180
how many bytes in 1 kibibyte (Kib)
this contains 210 = 1024 bytes
181
what is the **page file/swap file**
is a place in secondary memory that is used to store the least used data/chunks (called pages) in main memory this makes for better use of main memory especially when main memory is getting full
182
when an instruction is retrieved from **ram** where is it stored
from here the instruction or data will be stored in **cache**
183
what are some dissadvantges of compiling
The disadvantage of this is that any changes made in the source code must be re compiled this means detecting and updating bugs and adding new features can be a time consuming process
184
this is wiring that connects all components inside the processor as well as components outside the processor such as main memory and other components on the motherboard
what is a **bus**
185
when an instruction or data is retrieved from **cache** where is it stored
from here the data will be stored inside its relevant **register**
186
this carries the address of the memory locations to be accessed (when an address is put on this bus that address becomes accessible for read and writes)
what is the **address bus** for
187
how many bytes in a gibibyte (GiB)
this contains 230 bytes
188
this part holds any data that must be used with the instruction such data could include 1. a constant value 2. a memory address holding a value
explain the **operand** part of the **instruction register**
189
The base unit for the sample rate is Hz 1Hz = 1 sample per second (remeber Hz is the frequency per a second)
what is the base unit for the **sample rate**
190
this contains 210 = 1024 bytes
how many bytes in 1 kibibyte (Kib)