Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 70 pages
Exam (elaborations)

MIPS Test Questions and Answers | 100% Pass

Document preview thumbnail
Preview 4 out of 70 pages

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 ©SOPHIABENNETT EXAM SOLUTIONS Saturday, September 7, 2024 6:58 PM Page | 2 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? ©SOPHIABENNETT EXAM SOLUTIONS Saturday, September 7, 2024 6:58 PM Page | 3 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. ©SOPHIABENNETT EXAM SOLUTIONS Saturday, September 7, 2024 6:58 PM Page | 4 Say that you push F10 to execute one instruction. What amount is added to the program counter? A. 1 B. 2 C. 4 D. 8 - Answer️️ -C. 4 What is a directive, such as the directive .text? A. an assembly language statement that results in one machine language instruction. B. one of the menu choices in the SPIM menu system. C. a machine language instruction that causes an operation on data. D. a statement that tells the assembler something about what the programmer wants, but does not itself directly correspond to a machine instruction. - Answer️️ -D. a statement that tells the assembler something about what the programmer wants, but does not itself directly correspond to a machine instruction. What is a symbolic address? A. a location in memory containing symbolic data. B. a byte in memory that holds the address of data. C. the symbol given as the argument for a directive. ©SOPHIABENNETT EXAM SOLUTIONS Saturday, September 7, 2024 6:58 PM Page | 5 D. a name used in assembly language source code for a location in memory. - Answer️️ -D. a name used in assembly language source code for a location in memory. At what address does the SPIM simulator put the first machine instruction when it is running with the Bare Machine option turned ON? A. 0x B. 0x C. 0x D. 0xFFFFFFFF - Answer️️ -B. 0x When a register is loaded what happens? A. The bits of the register are set to all ones. B. The bit pattern in the register is copied to a locatio

Content preview

©SOPHIABENNETT
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

Document information

Uploaded on
September 13, 2024
Number of pages
70
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$12.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
SophiaBennett
3.6
(29)
Sold
156
Followers
5
Items
9091
Last sold
2 weeks ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions