Font size
WorksheetsAssembly Language and MIPS Architecture Quiz
Total questions: 15
Worksheet time: 21mins
Which of the following is true about Computer Architecture?
It deals with the physical arrangement of hardware components
It focuses on the structure and behavior of a computer system
It only refers to the software components of a system
It has nothing to do with hardware performance
Which of the following is a characteristic of machine language?
Consists of binary code
Requires less understanding of hardware
Easier to read than assembly language
Portable across different systems
What is the primary function of an assembler?
Combines object files with link libraries
Converts assembly language programs into object files
Allows you to trace the execution of a program
Translates high-level programs to machine code
Which section of an assembly program contains executable instructions?
.DATA
.TEXT
.GLOBL
.BYTE
Which of the following is a feature of assembly language?
Object-oriented programming
Automatic memory management
High-level readability
Direct execution by hardware
What is the purpose of the linker in program development?
To define data and constants
To debug the program
To combine object files into a single executable
To convert assembly language to machine code
Which of the following statements about registers in MIPS32 architecture is true?
Registers are not used in assembly language
There are 16 general-purpose registers
Registers are 64-bit wide
Registers can be referred to by name or number
What is the purpose of the syscall instruction in MIPS?
To define data segments
To obtain services from the operating system
To combine object files
To convert assembly to machine code
Which of the following best describes the MIPS instruction set architecture?
High-Level Instruction Set
General Purpose Instruction Set
Reduced Instruction Set Computer
Complex Instruction Set Computer
What does a mnemonic represent in assembly language?
A memory address
A high-level programming instruction
A low-level machine instruction
A variable name
What is the purpose of .asciiz in MIPS assembly language?
Stores an integer value
Defines a null-terminated string
Allocates memory for floating-point numbers
Specifies an array of integers
What will this MIPS assembly code print?
Hello, MIPS!
"Hello, MIPS!"
Hello, MIPS!\n
Syntax Error
What will this program output? (3pts)
(a)
What does this MIWhat happens when this code runs?PS code print?
(a)
(a)
