COSC65 | Midterms Flashcards

1
Q

it refers to those attributes of the system that are visible to the software programmer and have a direct impact on the logical execution of a program

A

computer architecture

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

what are the 3 main categories that are considered while considering the design of architecture

A

system design
instruction set architecture
micro architecture

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

it contains hardware components that are used for building the system

A

system design

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

it includes all the instructions provided to the computer system

A

instruction set architecture

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

it gives minute detail about storage element

A

micro architecture

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

it refers to the way the various components of a computer system are interconnected and work together to perform tasks and execute programs

A

computer organization

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

it encompasses the design and arrangement of hardware components, including the central processing unit (CPU), memory, input/output devices, and control units, to ensure efficient and effective operation of the computer

A

computer organization

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

it is made up of various elements which help in its effective functioning and processing

A

computer device

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

what are five basic components of the computer which help in making this processing of data easier and convenient

A

input unit
output unit
memory unit
control unit
arithmetical and logical unit

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

they are the primary elements which make the functioning of an electronic device smooth and faster

A

components of a computer system

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

a computer will only respond when a command is given to the device

A

input unit

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

when we command a computer to perform a task, it reverts for the action performed and gives us a result called

A

output (output unit)

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

when we enter the data into the computer using an input device, the entered information immediately gets saved in the memory unit of the Central Processing Unit (CPU)

A

memory unit

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

it transmits the data further to the other parts of the CPU

A

memory unit

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

this is the core unit which manages the entire functioning of the computer device

A

control unit

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

it is one of the most essential components of the computer system

A

control unit

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

all the mathematical calculations or arithmetic operations are performed in the Arithmetic and Logical Unit of the CPU

A

arithmetical and logical unit

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

it can also perform actions like a comparison of data and decision-making actions

A

arithmetical and logical unit

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

it comprises circuits using which addition, subtraction, multiplication, division and other numerical based calculations can be performed

A

arithmetical and logical unit

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

it is part of the abstract model of a computer that defines how the CPU is controlled by the software

A

instruction set architecture

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

it acts as an interface between the hardware and the software, specifying both what the processor is capable of doing as well as how it gets done

A

instruction set architecture

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

it encompasses all the information necessary for programmers to write a machine language program that will run correctly, including instruction, register, memory access, I/O devices, etc.

A

instruction set architecture

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

it allows computer designer to talk about the functions independently from the hardware that perform them

A

instruction set architecture

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

what is the meaning of ISA

A

instruction set architecture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
what is the meaning of RISC Processor
reduced instruction set computer processor
26
it is a microprocessor architecture with a simple collection and highly customized set of instructions
reduced instruction set computer processor
27
it is built to minimize the instruction execution time by optimizing and limiting the number of instructions.
reduced instruction set computer processor
28
it means each instruction cycle requires only one clock cycle, and each cycle contains three parameters: fetch, decode and execute
reduced instruction set computer processor
29
it is also used to perform various complex instructions by combining them into simpler ones
reduced instruction set computer processor
30
it require several transistors, making it cheaper to design and reduce the execution time for instruction
reduced instruction set computer chips
31
what are the three parameters in RISC Processor
fetch, decode, and execute
32
what does CISC processor means
complex instruction set computer
33
who developed the CISC Processor?
the Intel
34
it has a large collection of complex instructions that range from simple to very complex and specialized in the assembly language level, which takes a long time to execute the instructions
complex instruction set computer
35
it approaches reducing the number of instruction on each program and ignoring the number of cycles per instruction
complex instruction set computer
36
it emphasizes to build complex instructions directly in the hardware because the hardware is always faster than software
complex instruction set computer
37
they are relatively slower as compared to RISC chips but use little instruction than RISC
complex instruction set computer
38
what are the external memory/secondary memory?
Solid State Drive (SSD) Hard Disk Drive (HDD) USB Flash Drive External Hard Drive Memory Card
39
what are the internal memory/primary memory?
Non-volatile Memory (ROM) Cache Memory Random Access Memory (RAM) Registers Memory Controllers
40
type of registers
Program Counter (PC) Instruction Register (IR) Memory Address Register (MAR) Memory Data Register (MDR) Accumulator (ACC)
41
they are tiny, lightning-fast memory units inside the CPU
registers
42
they store data temporarily during processing, making instructions run smoothly and managing data efficiently within the CPU
registers
43
it keeps track of the memory address of the next instruction to be fetched and executed
program counter (PC)
44
it holds the currently fetched instruction being executed by the CPU
instruction register (IR)
45
it stores the memory address that is to be accessed for reading or writing data
memory address register (MAR)
46
it holds the data retrieved from memory or the data to be written to memory
memory data register (MDR)
47
it stores the result of arithmetic and logic operations performed by the CPU
accumulator (ACC)
48
two types of memory hierarchy
internal memory/primary memory external memory/secondary memory
49
it is a super-fast memory that stores frequently used data from main memory
cache memory
50
it is located close to the CPU and helps reduce the time it takes to access data from main memory
cache memory
51
it makes your computer run faster by keeping important data close at hand
cache memory
52
it maps each block of main memory into only one possible cache line
direct mapping
53
it is used to store the content and addresses of the memory word
associative memory (associative mappin)
54
this form of mapping is an enhanced form of direct mapping where the drawbacks of direct mapping are removed
set-associative mapping
55
types of cache mapping
direct mapping associative mapping set-associative mapping
56
it is a crucial part of modern computers that stores programs and information for the processor to use
RAM
57
it is fast and works closely with the CPU and I/O devices, allowing for quick data transfer
main memory
58
it is volatile and loses data during power interruptions
main memory
59
types of main memory
static RAM dynamic RAM
60
it is a small but extremely fast type of memory that stores frequently accessed data
static ram
61
it is also used in microcontrollers, where low power consumption and high speed are critical.
static ram
62
it is used as the main memory in most computers and mobile devices because of its high density and lower cost per bit
dynamic ram
63
secondary storage includes
hard disk drives (HDD) and solid state drives (SSD)
64
it is a type of non-volatile memory that has a much larger storage capacity than main memory
secondary storage
65
this type of memory is used to store data and instructions that are not currently being used by the CPU
secondary storage
66
compared to other types of memory in the memory hierarchy, it has the slowest access time, meaning it takes longer for the CPU to retrieve data from it
secondary storage
67
it is typically less expensive than other types of memory
secondary storage
68
it is a way of organizing computer memory in a hierarchical manner, with different levels of memory having varying levels of speed, capacity, and cost
memory hierarchy
69
it is a technique that allows a processor to execute multiple instructions at the same time, by breaking them down into smaller steps
pipelining
70
it increases the throughput, or the number of instructions completed per unit of time, of the processor
pipelining
71
different parts of the instruction in pipelining
fetching, decoding, executing, and writing back
72
the stages of pipelining are connected by these, which store the intermediate results of each instruction
registers
73
at this stage, the CPU reads instructions from the memory address whose value is present in the program counter
instruction fetch (stage 1)
74
at this stage, the instruction is decoded, and the register file is accessed to get the values from the registers used in the instruction.
instruction decode (stage 2)
75
at this stage, ALU operations are performed
instruction execute (stage 3)
76
in this stage, memory operands are read from and written to the memory present in the instruction.
memory access (stage 4)
77
in this stage, the computed or fetched value is written back to the register present in the instructions.
write back (stage 5)
78
it represents the stages in which an instruction is moved through the various segments of the processor, starting from fetching and then buffering, decoding, and executing
instruction pipeline
79
it represents the parts of an arithmetic operation that can be broken down and overlapped as they are performed
arithmetic pipeline
80
it occurs when an instruction depends on the result of a previous instruction that has not yet completed
dependency problem
81
it can cause a stall or a delay in the pipeline, which reduces the efficiency
dependency problem
82
it occurs when the processor has to make a decision based on a condition, such as an if statement
branch problem
83
it can cause a mispredictions or guesses of the next instruction, which can lead to a stall or a waste of resources
branch problem
84
advantages of RISC
- simple and limited number of the instruction set - requires several transistors - use free space on a microprocessor - simple and quick design | one clock cycle
85
disadvantages of RISC
- performance may vary according to the code executed - programmers and compilers often use complex instructions - RISC processors require very fast memory to save various instructions
86
advantages of CISC
- perform complex instruction - require fewer instruction to execute - greater hardware support for complex instruction
87
disadvantages of CISC
- slower processing time - increased costs