EXAM_SOLUTIONS GUARANTEED SUCCESS 2024/2025 ACADEMIC YEAR
©SOPHIABENNETT 9/7/24 2024/2025
, ©SOPHIABENNETT EXAM SOLUTIONS Saturday, September 7, 2024 6:58 PM
MIPS Test Questions and Answers |
100% Pass
What is the architecture of a processor? - Answer✔️✔️-D. a description of the basic
components of a processor chip and of its basic operations
What language allows the programmer to program the processor at the architectural
level? - Answer✔️✔️-A. assembly language
What is the machine cycle? - Answer✔️✔️-C. A machine cycle is the process through
which one machine instruction is executed.
What are the three steps in the machine cycle? - Answer✔️✔️-A. fetch, increment,
execute
What is a machine instruction? - Answer✔️✔️-C. a pattern of bits that asks for one
fundamental operation of the processor.
What part of the processor indicates which machine instruction is next in line for
execution? - Answer✔️✔️-C. The program counter.
What is a register? - Answer✔️✔️-D. a part of the processor that holds a bit pattern.
Do all processor chips use the same machine language? - Answer✔️✔️-A. No. Machine
language is an engineering decision that is unique to each processor family.
Assemblers and compilers usually translate a source program into machine instructions
contained in what type of file? - Answer✔️✔️-C. object module
Page | 1
, ©SOPHIABENNETT EXAM SOLUTIONS Saturday, September 7, 2024 6:58 PM
What type of program uses software to imitate the hardware operation of a particular
type of processor? - Answer✔️✔️-D. emulator
What is a source file?
A. a text file that contains statements of programming language.
B. a subdirectory that contains programs.
C. a file that contains data for a program.
D. a document that contains the requirements for a project - Answer✔️✔️-A. a text file
that contains statements of programming language.
What is a register?
A. a part of the computer system that keeps track of system parameters.
B. a part of the processor that holds a bit pattern.
C. a part of the processor that contains its unique serial number.
D. the part of the system bus that contains data. - Answer✔️✔️-B. a part of the processor
that holds a bit pattern.
What character, in SPIM assembly language, starts a comment?
A. #
B. $
C. //
D. * - Answer✔️✔️-A. #
How many bits are there in each MIPS machine instruction?
Page | 2
, ©SOPHIABENNETT EXAM SOLUTIONS Saturday, September 7, 2024 6:58 PM
A. 8
B. 16
C. 32
D. Different instructions are diferent lengths. - Answer✔️✔️-C. 32
When you open a source file from the File menu of SPIM, what two things happen?
A. The file is loaded into memory and execution starts.
B. SPIM is booted and the file is opened in the editor.
C. The file is assembled into machine instructions, and the machine instructions are
loaded into SPIM's memory.
D. The program is run and the results are saved to disk. - Answer✔️✔️-C. The file is
assembled into machine instructions, and the machine instructions are loaded into
SPIM's memory.
What is the program counter?
A. a register that keeps counts the number of errors during execution of a program.
B. a part of the processor that contains the address of the first word of data.
C. a variable in the assembler that numbers the lines of the source file.
D. a part of the processor that contains the address of the next machine instruction to
be fetched. - Answer✔️✔️-D. a part of the processor that contains the address of the next
machine instruction to be fetched.
Page | 3