Question 1 of 50
Which component is responsible for executing instructions and performing calculations in a computer system?
Correct answer:
B) CPU
Explanation: The CPU (Central Processing Unit) executes instructions and performs calculations, acting as the “brain” of the computer.
Question 2 of 50
What term describes a collection of servers that dynamically provide online services, often rented as a utility?
Correct answer:
C) Cloud computing
Explanation: Cloud computing involves scalable collections of servers providing resources over the internet, rented dynamically to adjust for demand.
Question 3 of 50
In data hierarchy, what does a "terabyte" typically represent today?
Correct answer:
B) 1,000,000,000,000 bytes
Explanation: While historically used to represent 240 bytes, a terabyte today is commonly defined as 1 trillion (1012) bytes in storage systems.
Question 4 of 50
What term describes a memory that can be accessed randomly and is often built as an integrated circuit?
Correct answer:
C) Dynamic Random Access Memory (DRAM)
Explanation: DRAM provides random access to data and is commonly used as main memory in computers.
Question 5 of 50
In virtual memory, which event occurs when data is not available in the main memory?
Correct answer:
B) Page fault
Explanation: A page fault happens when the requested data is not present in main memory, requiring a fetch from secondary storage.
Question 6 of 50
Which technique reduces the likelihood of data hazards by predicting branches at runtime?
Correct answer:
C) Branch prediction
Explanation: Branch prediction assumes an outcome for a conditional branch and allows the pipeline to proceed, reducing delays due to branch hazards.
Question 7 of 50
What is the function of a "compiler" in computer systems?
Correct answer:
C) To convert high-level code to machine code
Explanation: A compiler translates code from high-level languages (like C++ or Java) into machine code for execution by the CPU.
Question 8 of 50
Which operation will return a 0 when both input bits are the same?
Correct answer:
C) XOR
Explanation: XOR outputs a 1 when the inputs differ and a 0 when they are the same, making it useful for condition checks.
Question 9 of 50
Which component in a CPU is responsible for handling logical operations and arithmetic calculations?
Correct answer:
C) ALU
Explanation: The Arithmetic Logic Unit (ALU) performs arithmetic and logical operations, such as addition, subtraction, and logical comparisons.
Question 10 of 50
Which type of memory is built as an integrated circuit and retains data only when powered?
Correct answer:
A) DRAM
Explanation: DRAM (Dynamic Random Access Memory) is volatile, meaning it requires power to retain data, often used as primary memory.
Question 11 of 50
Which addressing mode in assembly programming allows an address to be calculated relative to the Program Counter (PC)?
Correct answer:
C) PC-relative addressing
Explanation: PC-relative addressing calculates an address by adding a constant offset to the current value in the Program Counter.
Question 12 of 50
In floating-point representation, what term describes an exponent that is too small to be represented?
Correct answer:
B) Underflow
Explanation: Underflow occurs when a floating-point value has an exponent too small for the system to represent within its format.
Question 13 of 50
Which Java keyword is used to make a method accessible only within the same package?
Correct answer:
D) Protected
Explanation: The protected keyword restricts a method's accessibility to classes within the same package or subclasses.
Question 14 of 50
Which term refers to the minimum unit of information that can either be in a cache or not in a memory hierarchy?
Correct answer:
A) Block
Explanation: In cache hierarchies, a block (or line) is the smallest unit of data that can be present or absent from the cache.
Question 15 of 50
What technique allows multiple instructions to be executed in an assembly-line fashion in a CPU?
Correct answer:
B) Pipelining
Explanation: Pipelining breaks down instruction execution into stages, allowing multiple instructions to be processed simultaneously.
Question 16 of 50
Which device performs I/O operations by periodically checking the device’s status?
Correct answer:
A) Polling
Explanation: Polling repeatedly checks the device status to determine if it needs attention, an alternative to interrupt-driven I/O.
Question 17 of 50
What is "multithreading" designed to improve in a processor?
Correct answer:
C) Processor utilization
Explanation: Multithreading allows switching between threads when one is stalled, increasing overall processor utilization.
Question 18 of 50
What type of cache allows multiple cache locations per block of main memory, reducing cache conflicts?
Correct answer:
B) Set-associative cache
Explanation: Set-associative caches allow a block of main memory to map to multiple cache locations, lowering conflict rates.
Question 19 of 50
Which memory concept allows for consistent access speeds across all processors in a system?
Correct answer:
D) Uniform Memory Access (UMA)
Explanation: UMA provides the same access latency across processors, enabling balanced memory access in multi-processor systems.
Question 20 of 50
What purpose does a "valid bit" serve in cache memory?
Correct answer:
B) Indicates whether data in a block is valid
Explanation: The valid bit indicates whether the data in a cache block is up-to-date and valid for use, essential for cache management.
Question 21 of 50
What is the primary role of an Arithmetic Logic Unit (ALU) in a processor?
Correct answer:
C) Performs arithmetic and logic functions
Explanation: The ALU handles arithmetic and logical operations, which are crucial tasks for the CPU in processing data.
Question 22 of 50
Which storage method is typically used for long-term data retention and does not require constant power?
Correct answer:
C) Flash memory
Explanation: Flash memory is nonvolatile and retains data even without power, making it ideal for long-term storage.
Question 23 of 50
In LEGv8, which register is commonly used to manage the most recent allocated address in a stack?
Correct answer:
D) Stack pointer
Explanation: The stack pointer maintains the most recent allocated address, crucial for stack management in programs.
Question 24 of 50
What is the role of a "loader" in a computer system?
Correct answer:
B) Loads executable code into main memory
Explanation: The loader transfers executable programs into memory, preparing them for execution by the CPU.
Question 25 of 50
In binary logic, which operation flips each bit in a binary sequence?
Correct answer:
C) NOT
Explanation: The NOT operation inverts each bit, changing 1 to 0 and 0 to 1, commonly used in bitwise operations.
Question 26 of 50
Which component within a memory hierarchy temporarily stores data that will soon be needed by the processor?
Correct answer:
C) Cache memory
Explanation: Cache memory acts as a buffer, storing data likely to be accessed soon, reducing retrieval times from main memory.
Question 27 of 50
What function does the "Instruction Set Architecture" (ISA) serve in computer design?
Correct answer:
C) Defines commands the CPU can execute
Explanation: The ISA specifies the instructions the processor can interpret, forming a crucial interface between software and hardware.
Question 28 of 50
Which term describes the ratio of floating-point operations to memory accesses in a program?
Correct answer:
C) Arithmetic intensity
Explanation: Arithmetic intensity measures computational density, providing insights into workload performance on a system.
Question 29 of 50
Which network type allows all nodes to be interconnected with direct communication links?
Correct answer:
A) Fully connected network
Explanation: In a fully connected network, each node has a direct link to every other node, maximizing data transfer options.
Question 30 of 50
In virtual memory systems, what structure stores mappings from virtual to physical addresses?
Correct answer:
B) Page table
Explanation: Page tables manage address translations, mapping virtual addresses to physical memory addresses in virtual memory systems.
Question 31 of 50
What is the purpose of a "translation-lookaside buffer" (TLB)?
Correct answer:
B) Provides quick access to page table entries
Explanation: The TLB caches recent address translations, reducing the need to access the page table frequently.
Question 32 of 50
Which memory type uses memory-mapped I/O to interpret read/write operations as commands to I/O devices?
Correct answer:
D) Memory-mapped I/O
Explanation: Memory-mapped I/O assigns addresses to I/O devices, enabling CPU commands through standard memory operations.
Question 33 of 50
What process involves retrieving data into cache before it is requested?
Correct answer:
C) Prefetching
Explanation: Prefetching improves efficiency by loading data into cache in advance, anticipating future access patterns.
Question 34 of 50
What does a "reservation station" hold in dynamic scheduling?
Correct answer:
B) Operands and operation to be performed
Explanation: Reservation stations buffer instructions, storing operands and operations to be executed within functional units.
Question 35 of 50
What does a "program counter" (PC) typically store?
Correct answer:
B) Current instruction's address
Explanation: The program counter (PC) keeps the address of the instruction being executed, advancing to ensure program flow.
Question 36 of 50
Which component resolves address conflicts in cache memory?
Correct answer:
B) Set-associative mapping
Explanation: Set-associative mapping reduces conflicts by allowing blocks to be placed in multiple cache locations.
Question 37 of 50
Which Java bytecode interpreter runs on multiple platforms?
Correct answer:
C) JVM (Java Virtual Machine)
Explanation: The JVM translates Java bytecode for execution, enabling Java's platform independence.
Question 38 of 50
What does "DMA" enable in memory operations?
Correct answer:
B) Direct data transfers without CPU involvement
Explanation: Direct Memory Access (DMA) moves data between memory and I/O devices, freeing the CPU to handle other tasks.
Question 39 of 50
What is "two's complement" primarily used for in computer systems?
Correct answer:
C) Signed integer representation
Explanation: Two's complement simplifies binary arithmetic, representing positive and negative integers effectively in computers.
Question 40 of 50
In what format are machine instructions represented in assembly language?
Correct answer:
D) Symbolic
Explanation: Assembly language uses symbolic representations for machine instructions, simplifying programming close to the hardware level.
Question 41 of 50
What is the "miss penalty" in memory hierarchies?
Correct answer:
C) Time needed to fetch data into cache from main memory
Explanation: Miss penalty is the time taken to retrieve data from a lower memory level when not found in cache, impacting performance.
Question 42 of 50
What is "NOP" in assembly language?
Correct answer:
C) No operation instruction
Explanation: NOP (No Operation) is an assembly instruction that does not perform any task, often used for timing adjustments.
Question 43 of 50
Which I/O scheme notifies the CPU when a device needs attention?
Correct answer:
C) Interrupt-driven I/O
Explanation: Interrupt-driven I/O signals the CPU for immediate attention, improving efficiency by reducing waiting times.
Question 44 of 50
Which cache design allows instructions and data to be stored separately for faster access?
Correct answer:
C) Split cache
Explanation: A split cache design divides cache for instructions and data, reducing access conflicts and improving processing speed.
Question 45 of 50
What term describes combining data into logically sequential blocks to speed up access times?
Correct answer:
C) Striping
Explanation: Striping distributes data across multiple disks or memory blocks, improving access speed by enabling parallel data processing.
Question 46 of 50
Which synchronization device allows only one processor access to data at a time?
Correct answer:
B) Lock
Explanation: Locks restrict access, ensuring that only one processor can access a particular data set at any given time.
Question 47 of 50
Which memory system is organized in levels with faster, smaller memories near the CPU?
Correct answer:
A) Memory hierarchy
Explanation: Memory hierarchies utilize faster, smaller memories close to the CPU, reducing access time for frequently used data.
Question 48 of 50
What purpose does a "hot-swapping" capability serve in a system?
Correct answer:
B) Enables hardware replacement while the system is running
Explanation: Hot-swapping allows hardware to be replaced without shutting down, minimizing system interruptions.
Question 49 of 50
Which type of bandwidth measures the worst-case split of network data across multiprocessor nodes?
Correct answer:
A) Bisection bandwidth
Explanation: Bisection bandwidth measures data capacity across the worst-case division in a network, ensuring balanced load handling.
Question 50 of 50
Which memory technique keeps frequently used address mappings in a special cache?
Correct answer:
C) Translation Lookaside Buffer (TLB)
Explanation: The TLB caches recent address translations, reducing access time by avoiding frequent page table lookups.
Set 2 completeYou scored 0%
0 correct out of 0 answered (50 questions in this set).