Trusted Questions & Answers
1. In order for a program to run on a computer, it must be finally expressed in
_______.
a machine language
an assembly language
a high-level language
an object-oriented language
2. Describe how SIMD differs from SISD in terms of data processing.
SISD can handle multiple instructions simultaneously, while SIMD
cannot.
SIMD is used for sequential processing, while SISD is for parallel
processing.
SIMD processes multiple data points with a single instruction, while
SISD processes one data point at a time with one instruction.
SIMD and SISD both process data in the same way, but SISD is faster.
3. In which type of multiprocessor is latency to any word in main memory the
same regardless of which processor requests access?
Synchronization memory access
Uniform memory access
Locking memory access
Non-uniform memory access
,4. Describe the purpose of the 'while' loop in the provided C language
statements.
The 'while' loop executes only once regardless of the condition.
The 'while' loop continues to execute as long as the condition is
true, allowing repeated shifting of 'f' until the condition changes.
The 'while' loop terminates immediately if the condition is false.
The 'while' loop is used to initialize variables before execution.
5. Describe the importance of read and write access in the context of a register
file's functionality.
Read and write access is essential for a register file as it allows the
CPU to retrieve data from and store data into the registers.
No access is needed for a register file to perform its tasks.
Write access is the only requirement for a register file to operate.
Read access alone is sufficient for a register file to function correctly.
6. The value of b is stored in r1, c is stored in r2, and a is stored in r0. Which set
of ARM instructions will accomplish a = b & c?
EOR r0, r1, r2
ORR r0, r1, r2
OR r0, r1, r2
AND r0, r1, r2
7. Which of the following is a type of software that allows a piece of hardware
to host multiple operating systems?
thick client
, guest operating system
hypervisor
thin client
8. Describe the significance of SIMD registers in achieving subword parallelism
in computer architecture.
SIMD registers are primarily used for memory management.
SIMD registers allow multiple data elements to be processed
simultaneously, enhancing performance through subword
parallelism.
SIMD registers only handle single data elements at a time.
SIMD registers are used to store instructions for sequential execution.
9. If a computer system has limited physical memory, how would virtual memory
benefit a user running multiple applications simultaneously?
It allows the user to run applications that require more memory than
is physically available.
It speeds up the execution of applications by using faster storage.
It reduces the overall memory usage of the applications.
It prevents applications from crashing due to memory overload.
10. An advantage of virtual memory is that
a program can be much larger than the size of physical memory
the programmers can concentrate programming the problem instead
of worrying about the amount of physical memory available
it provides a way to execute a program that is only partially loaded in
memory
, all of the above
11. Which of the following is an advantage of using virtual machines?
Anti-virus software has to be installed only once
Helps secure the hardware from unauthorized access
Reduces the need to install OS software updates
Allows an OS to run in its own separate, secure area on a system
12. What is the primary function of 128-bit wide registers in SSE2 streaming SIMD
extensions?
Increase memory bandwidth
Support multithreading
Enable parallel arithmetic computations
Enhance single-thread performance
13. Describe how the hypervisor interacts with virtual memory in a virtualized
environment.
The hypervisor allocates and manages virtual memory for each
virtual machine, ensuring isolation and efficient use of resources.
The hypervisor prohibits the use of virtual memory in guest operating
systems.
The hypervisor only monitors the virtual memory usage without
managing it.
The hypervisor allows guest operating systems to manage their own
virtual memory without interference.