What is the main purpose of a multi‐core processor?
A Increase clock speed
B Execute multiple tasks simultaneously
C Increase memory capacity
D Decrease power consumption
Multi‐core processors have more than one core, allowing them to process multiple tasks at the same time. This enhances multitasking and overall performance by distributing workload across several cores.
How does virtual memory improve a computer system’s performance?
A By increasing the CPU’s clock speed
B By storing data in registers
C By using disk space as additional memory
D By decreasing memory usage
Virtual memory allows the operating system to use hard drive space as if it were RAM, enabling programs to run even when the physical RAM is insufficient. This extends available memory for programs.
What does paging in memory management allow a system to do?
A Divide memory into equal‐sized blocks
B Increase data transfer rate
C Speed up CPU processing
D Store data permanently
Paging divides memory into fixed‐size blocks, or pages, which helps in efficient memory use by allowing non‐contiguous memory locations to be mapped, reducing fragmentation and improving memory management.
Which of the following is a key advantage of using multi‐core processors?
A Increased memory speed
B Higher power usage
C Decreased computation speed
D Improved multitasking
Multi‐core processors allow multiple instructions to be executed at the same time, enhancing multitasking. This improves system performance by allowing parallel processing, which is ideal for complex tasks and multitasking.
In a system using paging, what is a page table used for?
A Manage cache memory
B Handle input/output devices
C Translate virtual addresses to physical addresses
D Store program instructions
A page table maps virtual memory addresses to physical addresses. It ensures that when a program accesses memory, the system can find the corresponding physical location in RAM, despite using virtual memory.
What does segmentation in memory management allow?
A Divide memory into logical sections
B Break memory into fixed‐size chunks
C Increase CPU speed
D Store data in non‐contiguous blocks
Segmentation divides memory into variable‐sized blocks based on logical divisions, such as functions or data structures. It allows more flexible memory usage compared to paging and simplifies data management for complex programs.
Which of the following is NOT typically associated with virtual memory?
A Disk‐based memory
B Direct CPU access
C Page tables
D Swapping
Virtual memory uses techniques like paging and swapping to allow the CPU to use disk space as extended memory. However, the CPU does not directly access disk‐based memory; instead, it accesses mapped virtual addresses.
What is the role of the Memory Management Unit (MMU)?
A Control program execution
B Manage I/O devices
C Translate virtual addresses to physical addresses
D Execute arithmetic operations
The Memory Management Unit (MMU) is responsible for translating virtual memory addresses to physical addresses. It manages paging and segmentation to facilitate memory access in systems using virtual memory.
Which of the following is a disadvantage of using multi‐core processors?
A Slower processing speed
B Increased energy consumption
C Reduced performance with parallel tasks
D Increased complexity in software development
While multi‐core processors improve performance by enabling parallel processing, they also introduce complexity in software development. Programs need to be designed to efficiently utilize multiple cores, which can be challenging.
How does a computer system handle a page fault?
A It terminates the program
B It reduces memory usage
C It uses virtual memory to load the page from disk
D It uses registers to store the data
When a page fault occurs, the operating system uses virtual memory to load the required page from disk into RAM. The system then resumes the program’s execution, handling memory efficiently through paging.
What is the key difference between segmentation and paging in memory management?
A Segmentation divides memory logically, while paging divides memory into fixed‐sized blocks
B Paging divides memory based on logical segments, while segmentation divides it into physical blocks
C Segmentation uses fixed‐size blocks, while paging uses variable‐size blocks
D Paging uses larger memory blocks than segmentation
Segmentation divides memory based on logical divisions such as code or data, while paging divides memory into fixed‐sized blocks (pages). Paging provides more efficient memory management, reducing fragmentation.
Which type of memory is typically used for caching in multi‐core processors?
A Hard Drive
B Cache memory
C Virtual memory
D RAM
Cache memory is used in multi‐core processors to store frequently accessed data. It speeds up data retrieval by providing faster access to information needed by the CPU, reducing the need to access slower main memory.
What is the role of the L1 cache in multi‐core processors?
A Manage virtual memory
B Handle program execution
C Store frequently accessed instructions and data close to the core
D Store data from peripheral devices
The L1 cache is the first level of cache in multi‐core processors. It stores frequently accessed instructions and data close to the CPU core, improving access speed and reducing latency when the core needs to access memory.
What is a key feature of a system using virtual memory?
A Faster CPU performance
B Limited to available physical memory
C Direct access to physical memory
D Use of hard drive space as memory
Virtual memory allows systems to use hard drive space as if it were RAM. This enables programs to exceed the available physical memory, improving flexibility but potentially slowing performance due to disk access.
Which of the following is typically used to manage memory in systems with virtual memory?
A Page tables
B Cache
C ALU
D Registers
Page tables are used in systems with virtual memory to map virtual addresses to physical memory addresses. They enable efficient memory management by organizing and tracking which pages are in memory or need to be swapped in.