1 Exampromax - Stuvia US 2025/2026
CPSC 355 Questions and Answers (100%
Correct Answers) Already Graded A+
A basic computer system consists of:
Ans: Central Processing Unit (CPU)
System Clock
Primary Memory
Secondary Memory
Peripheral devices
Bus
What is the the purpose of the CPU?
Ans: Executes instructions
© 2025 Assignment Expert
Controls the transfer of data across the BUS
Exampromax - Stuvia US
What are the 3 main parts of the CPU?
Ans: Control Unit (CU)
Arithmetic Logic Unit (ALU)
Registers
What is the Job of the CU?
Ans: - Directs the execution of instructions
What is the Job of the ALU?
Ans: Preforms arithmetic and logical operations on data stored in registers
What are Registers?
Ans: Are binary storage units within the CPU
What are general-purpose registers?
Ans: Used to temporarily hold data and addresses
The Program Counter(PC)?
Ans: Contains the address in memory of the currently executing instruction
The Status Register?
, 2 Exampromax - Stuvia US 2025/2026
Ans: Contains information(flags) about the results of a previous instruction
What is the System Clock?
Ans: Generates a clock signal to synchronize the CPU and other clocked devices
iMac(2016) - 3.2 GHz
Raspberry Pi - 700 MHz
What is Primary Memory?
Ans: Is Random Access Memory that is volatile and is used to store program
instructions and program data
What is a Bus?
Ans: Is a set of parallel data/signal lines used to transfer information between
© 2025 Assignment Expert
computer components
Exampromax - Stuvia US
3 types of Bus?
Ans: Address Bus - Specifies memory location in RAM
Data Bus - Used for bidirectional data transfer
Control Bus - Used to control or monitor devices connected to the bus
What is Secondary Memory?
Ans: Is used to hold a computer's file system
Is non-volatile read/write memory
Usually embodied on a hard disk drive (HDD)
What are peripheral I/O Devices?
Ans: Allow communication between the computer and the external environment
Examples of input Devices
Ans: Keyboard
Pointing devices
Microphone
Scanner
Examples of output devices
, 3 Exampromax - Stuvia US 2025/2026
Ans: Monitior
Printer
Speakers
Examples of I/O devices
Ans: HDD
Modem
Connection to networks
Where do operands for an instruction come from?
Ans: The accumulator register (ACC) and from a single location in RAM
What is the typical program sequence?
© 2025 Assignment Expert
Ans: -Load registers from memory
-Execute an instruction using two source registers, putting the result into a
Exampromax - Stuvia US
destination register
-Store the result back into memory
What is a RISC architecture
Ans: Reduced Instruction Set Computer
- Uses only simple instruction that can be executed in one machine cycle
- Machine instructions are always the same size
What is a CISC architecture?
Ans: Complex Instruction Set Computer
- May have instructions that take many cycles to execute
- Machine instructions vary in length, and may be followed by "immediate" data
- add: 1 cycle
- mul: 5 cycles
- div: 40 cycles
What is an Instruction Cycle?
, 4 Exampromax - Stuvia US 2025/2026
Ans: Also called the fetch-execute or fetch-decode-execute cycle
1. Fetch the next instruction from memory into the IR
2. Increments PC to point to the next instruction
3. Decode the instruction
4. If the instruction uses an operand in RAM, calculate its address
5. Fetch the operand
(4 and 5, repeat if necessary)
6. Execute the instruction
7. If the instruction produces a result that is stored in RAM, calculate its address
(6 and 7, repeat necessary)
8. Store the result
What is the basis of Assembly Language Programs?
Ans: -Consists of a series of statements, each corresponding to a machine
instruction
© 2025 Assignment Expert
- Each statement consists of an opcode and a variable number of operands
Exampromax - Stuvia US
What are assemblers?
Ans: Translate assembly source code into machine code
What are macro processors
Ans: Assemblers that can support macros where you can define a piece of text
with a macro name
What type of Computer is the ARMv8-A architecture?
Ans: - Is a RISC
- Is a Load/Store machine
The ARMv8-A architecture has two execution states
Ans: - AArch64
- AArch32
The ARMv8-A has 4 exception levels
CPSC 355 Questions and Answers (100%
Correct Answers) Already Graded A+
A basic computer system consists of:
Ans: Central Processing Unit (CPU)
System Clock
Primary Memory
Secondary Memory
Peripheral devices
Bus
What is the the purpose of the CPU?
Ans: Executes instructions
© 2025 Assignment Expert
Controls the transfer of data across the BUS
Exampromax - Stuvia US
What are the 3 main parts of the CPU?
Ans: Control Unit (CU)
Arithmetic Logic Unit (ALU)
Registers
What is the Job of the CU?
Ans: - Directs the execution of instructions
What is the Job of the ALU?
Ans: Preforms arithmetic and logical operations on data stored in registers
What are Registers?
Ans: Are binary storage units within the CPU
What are general-purpose registers?
Ans: Used to temporarily hold data and addresses
The Program Counter(PC)?
Ans: Contains the address in memory of the currently executing instruction
The Status Register?
, 2 Exampromax - Stuvia US 2025/2026
Ans: Contains information(flags) about the results of a previous instruction
What is the System Clock?
Ans: Generates a clock signal to synchronize the CPU and other clocked devices
iMac(2016) - 3.2 GHz
Raspberry Pi - 700 MHz
What is Primary Memory?
Ans: Is Random Access Memory that is volatile and is used to store program
instructions and program data
What is a Bus?
Ans: Is a set of parallel data/signal lines used to transfer information between
© 2025 Assignment Expert
computer components
Exampromax - Stuvia US
3 types of Bus?
Ans: Address Bus - Specifies memory location in RAM
Data Bus - Used for bidirectional data transfer
Control Bus - Used to control or monitor devices connected to the bus
What is Secondary Memory?
Ans: Is used to hold a computer's file system
Is non-volatile read/write memory
Usually embodied on a hard disk drive (HDD)
What are peripheral I/O Devices?
Ans: Allow communication between the computer and the external environment
Examples of input Devices
Ans: Keyboard
Pointing devices
Microphone
Scanner
Examples of output devices
, 3 Exampromax - Stuvia US 2025/2026
Ans: Monitior
Printer
Speakers
Examples of I/O devices
Ans: HDD
Modem
Connection to networks
Where do operands for an instruction come from?
Ans: The accumulator register (ACC) and from a single location in RAM
What is the typical program sequence?
© 2025 Assignment Expert
Ans: -Load registers from memory
-Execute an instruction using two source registers, putting the result into a
Exampromax - Stuvia US
destination register
-Store the result back into memory
What is a RISC architecture
Ans: Reduced Instruction Set Computer
- Uses only simple instruction that can be executed in one machine cycle
- Machine instructions are always the same size
What is a CISC architecture?
Ans: Complex Instruction Set Computer
- May have instructions that take many cycles to execute
- Machine instructions vary in length, and may be followed by "immediate" data
- add: 1 cycle
- mul: 5 cycles
- div: 40 cycles
What is an Instruction Cycle?
, 4 Exampromax - Stuvia US 2025/2026
Ans: Also called the fetch-execute or fetch-decode-execute cycle
1. Fetch the next instruction from memory into the IR
2. Increments PC to point to the next instruction
3. Decode the instruction
4. If the instruction uses an operand in RAM, calculate its address
5. Fetch the operand
(4 and 5, repeat if necessary)
6. Execute the instruction
7. If the instruction produces a result that is stored in RAM, calculate its address
(6 and 7, repeat necessary)
8. Store the result
What is the basis of Assembly Language Programs?
Ans: -Consists of a series of statements, each corresponding to a machine
instruction
© 2025 Assignment Expert
- Each statement consists of an opcode and a variable number of operands
Exampromax - Stuvia US
What are assemblers?
Ans: Translate assembly source code into machine code
What are macro processors
Ans: Assemblers that can support macros where you can define a piece of text
with a macro name
What type of Computer is the ARMv8-A architecture?
Ans: - Is a RISC
- Is a Load/Store machine
The ARMv8-A architecture has two execution states
Ans: - AArch64
- AArch32
The ARMv8-A has 4 exception levels