50 multiple-choice questions with answers and detailed explanations. Untimed — choose an answer to check it instantly.
0/50 answered0 correct
Question 1 of 50
Which type of memory retains data only while it is receiving power?
Correct answer: B) Volatile memory
Explanation: Volatile memory, such as DRAM, loses its stored data once power is removed, making it suitable for temporary storage while a computer is running.
Question 2 of 50
What is the primary purpose of an operating system on a computer?
Correct answer: B) To manage resources for applications running on the computer
Explanation: The operating system oversees and allocates system resources (e.g., CPU, memory) to ensure efficient operation of running applications.
Question 3 of 50
Which type of processor is specifically designed for performing a fixed application within a device, such as a car's engine control module?
Correct answer: D) Embedded computer
Explanation: Embedded computers are integrated into other devices and are optimized to run specific applications, such as control systems in cars or appliances.
Question 4 of 50
What does the term "multicore microprocessor" refer to?
Correct answer: B) A microprocessor containing multiple processors within a single integrated circuit
Explanation: A multicore microprocessor contains multiple processing units (cores) that can handle tasks independently, improving performance for multitasking.
Question 5 of 50
In computer architecture, what does the acronym ALU stand for?
Correct answer: B) Arithmetic Logic Unit
Explanation: The ALU (Arithmetic Logic Unit) is responsible for performing arithmetic and logical operations, which are fundamental for processing instructions.
Question 6 of 50
Which type of computer is generally used for intensive calculations and can cost tens to hundreds of millions of dollars?
Correct answer: C) Supercomputer
Explanation: Supercomputers are high-performance systems optimized for calculations and data-intensive tasks, such as simulations, often with a high cost.
Question 7 of 50
Which part of the CPU manages and controls data transfers and processing within the processor?
Correct answer: D) Control
Explanation: The control unit within the CPU coordinates actions across the CPU, sending signals to direct data paths and manage interactions with memory.
Question 8 of 50
What is the smallest unit of information in a digital computer, represented as either 0 or 1?
Correct answer: D) Bit
Explanation: A bit, or binary digit, is the fundamental unit of data in computing, representing either a 0 or a 1 in binary systems.
Question 9 of 50
Which term describes software delivered over the internet as a service, typically accessed via a web browser?
Correct answer: B) Software as a Service (SaaS)
Explanation: SaaS is a model in which software is accessed online without requiring installation on local devices, typically through a web interface.
Question 10 of 50
Which display technology uses a thin layer of liquid polymers to transmit or block light based on an applied charge?
Correct answer: D) Liquid Crystal Display (LCD)
Explanation: LCD technology uses liquid crystals manipulated by electric charges to control light transmission, forming images on screens.
Question 11 of 50
Which component acts as a buffer between a processor’s main memory and cache memory, designed to speed up access times?
Correct answer: B) Cache memory
Explanation: Cache memory temporarily holds frequently accessed data, reducing time needed to access data from main memory.
Question 12 of 50
What is the primary purpose of a compiler in a computer system?
Correct answer: B) To translate high-level code into machine code
Explanation: A compiler translates code written in high-level languages into machine code that can be executed by a computer.
Question 13 of 50
Which memory type is often faster and more reliable than DRAM but also more expensive?
Correct answer: B) SRAM
Explanation: SRAM is faster and requires no refresh cycles, making it more suitable for cache memory, though it is costlier than DRAM.
Question 14 of 50
What term describes the smallest individual picture element on a screen?
Correct answer: B) Pixel
Explanation: A pixel is the smallest controllable element on a display screen, forming the basic unit of image display.
Question 15 of 50
In LEGv8 architecture, which register is used to store the address of the instruction currently being executed?
Correct answer: B) Program counter (PC)
Explanation: The program counter holds the address of the next instruction to execute, ensuring sequential processing in programs.
Question 16 of 50
Which type of circuit allows a block to be placed in any location within the cache?
Correct answer: C) Fully associative cache
Explanation: In a fully associative cache, data blocks can be stored in any cache location, improving flexibility in storage.
Question 17 of 50
What is the primary role of the Datapath component within a CPU?
Correct answer: B) To execute arithmetic operations
Explanation: The Datapath performs arithmetic and logical operations, essential for executing instructions within the CPU.
Question 18 of 50
Which type of cache memory writes data to both the cache and the main memory simultaneously?
Correct answer: B) Write-through cache
Explanation: Write-through cache ensures data consistency by updating both the cache and main memory upon each write operation.
Question 19 of 50
In floating-point representation, what term describes a situation where a positive exponent exceeds the maximum value representable in the exponent field?
Correct answer: A) Overflow
Explanation: Overflow occurs when the exponent field cannot represent a value due to its size, often resulting in errors in calculations.
Question 20 of 50
What does Amdahl's Law primarily address in terms of computer performance?
Correct answer: C) Limiting performance gains based on usage
Explanation: Amdahl's Law calculates potential speed improvements, demonstrating that overall gains are limited by the non-improved portions of a task.
Question 21 of 50
Which memory system term refers to storage that persists even without power, like flash memory?
Correct answer: C) Nonvolatile memory
Explanation: Nonvolatile memory, such as flash storage, retains data even when the power source is disconnected, useful for long-term storage.
Question 22 of 50
What is a Local Area Network (LAN) designed for?
Correct answer: C) Transmitting data within a confined area
Explanation: LANs are intended for connecting devices within limited geographic areas, enabling high-speed data exchange locally.
Question 23 of 50
Which instruction representation is closest to the machine's binary language?
Correct answer: B) Assembly language
Explanation: Assembly language provides a close-to-binary symbolic representation, allowing direct translation into machine code.
Question 24 of 50
In computing, what term describes the smallest amount of information read or written on a magnetic disk?
Correct answer: B) Sector
Explanation: A sector is the smallest data unit on a disk and represents a segment within a track, used in read/write operations on a magnetic disk.
Question 25 of 50
Which logical bit operation will result in a 1 only if both input bits are also 1?
Correct answer: C) AND
Explanation: The AND operation outputs 1 only when both input bits are 1; otherwise, it outputs 0, which is fundamental in binary logic operations.
Question 26 of 50
Which type of computer typically hosts applications for multiple users and is accessed through a network?
Correct answer: C) Server
Explanation: Servers are designed to support multiple users by running applications and providing resources over a network.
Question 27 of 50
In floating-point representation, what does the "mantissa" refer to?
Correct answer: C) The fraction field
Explanation: The mantissa, also known as the fraction, represents the significant digits of a floating-point number, a core part of its binary representation.
Question 28 of 50
What does the "Instruction Set Architecture" (ISA) provide for computer systems?
Correct answer: C) A set of machine-level commands and functions
Explanation: ISA defines the machine-level commands (instructions) and registers that enable software to control hardware directly.
Question 29 of 50
Which memory access term refers to the idea that data near recently accessed memory locations are likely to be accessed soon?
Correct answer: B) Spatial locality
Explanation: Spatial locality suggests that data in nearby addresses are likely to be accessed shortly after one another, aiding memory efficiency.
Question 30 of 50
What is the role of the Program Counter (PC) in computer architecture?
Correct answer: C) To hold the address of the current instruction
Explanation: The Program Counter keeps track of the address of the instruction currently being executed, ensuring sequential program execution.
Question 31 of 50
Which of the following describes a cache structure where each memory location maps to a single cache location?
Correct answer: C) Direct-mapped cache
Explanation: A direct-mapped cache assigns each memory location to a specific cache location, simplifying data retrieval but potentially causing more conflicts.
Question 32 of 50
In Java programming, which keyword restricts access to methods within the same package or subclasses?
Correct answer: C) Protected
Explanation: The protected keyword allows access to a method by other methods in the same package or subclasses, controlling visibility.
Question 33 of 50
What is the purpose of a linker in a computer system?
Correct answer: D) To combine independently compiled programs
Explanation: A linker combines compiled code modules and resolves any references, producing an executable file ready for loading.
Question 34 of 50
Which Java component is responsible for interpreting Java bytecode into executable instructions?
Correct answer: B) JVM (Java Virtual Machine)
Explanation: The JVM interprets Java bytecode, making Java platform-independent by translating it for the host machine at runtime.
Question 35 of 50
What type of cache memory requires the system to update data in both cache and main memory immediately upon a write operation?
Correct answer: B) Write-through cache
Explanation: Write-through caches ensure data consistency by writing updates to both cache and main memory simultaneously.
Question 36 of 50
Which arithmetic operation in floating-point calculations can cause an underflow?
Correct answer: C) Division that results in a very small exponent
Explanation: Underflow occurs when a floating-point number's exponent becomes too negative to represent within the format.
Question 37 of 50
What is a "truth table" used for in digital logic?
Correct answer: C) To show output values for all possible input combinations
Explanation: Truth tables systematically show the results of logical operations based on input combinations, fundamental to digital logic design.
Question 38 of 50
Which cache memory structure allows a block to be placed in any location within the cache?
Correct answer: C) Fully associative cache
Explanation: Fully associative caches allow a block to occupy any position, offering flexibility but requiring complex mapping.
Question 39 of 50
What term describes the time taken for a disk to rotate the desired sector under the read/write head?
Correct answer: C) Rotational latency
Explanation: Rotational latency is the time it takes for a disk to spin the correct sector into position for reading or writing.
Question 40 of 50
What memory hierarchy concept predicts that recently accessed items are likely to be accessed again soon?
Correct answer: C) Temporal locality
Explanation: Temporal locality implies that data accessed recently will likely be accessed again shortly, which benefits cache memory performance.
Question 41 of 50
In binary logic, what operation produces a 1 output only if both input values are different?
Correct answer: D) XOR
Explanation: XOR (exclusive OR) outputs a 1 only when its inputs differ, making it valuable in digital circuits for conditional toggling.
Question 42 of 50
What is the purpose of a page table in virtual memory systems?
Correct answer: B) To translate virtual addresses to physical addresses
Explanation: Page tables store mappings of virtual to physical addresses, supporting memory management in virtual memory systems.
Question 43 of 50
What is a "basic block" in computer programming?
Correct answer: C) A series of instructions with a single entry and exit point
Explanation: Basic blocks are sequences of instructions with no branches, useful in optimizing program flow and code analysis.
Question 44 of 50
Which component within a CPU performs addition, subtraction, and logical operations?
Correct answer: B) ALU (Arithmetic Logic Unit)
Explanation: The ALU handles arithmetic and logical functions, essential for processing operations within a CPU.
Question 45 of 50
Which Java concept allows a method to be invoked across different classes, regardless of their packages?
Correct answer: B) Public
Explanation: Methods declared as public can be accessed across different classes and packages, providing unrestricted visibility.
Question 46 of 50
In which type of cache does each memory location map to only one location in the cache?
Correct answer: A) Direct-mapped cache
Explanation: A direct-mapped cache restricts each memory location to one specific cache slot, reducing flexibility but simplifying design.
Question 47 of 50
What is the primary purpose of error detection code in a memory system?
Correct answer: C) To detect errors in data without correction
Explanation: Error detection codes identify but do not correct errors, useful for alerting the system to data inconsistencies in storage.
Question 48 of 50
What term refers to the CPU execution time spent specifically within an application?
Correct answer: B) User CPU time
Explanation: User CPU time reflects the processor’s time spent executing application-level code, as opposed to system-level functions.
Question 49 of 50
Which term describes a situation in virtual memory where multiple virtual addresses refer to the same physical page?
Correct answer: B) Aliasing
Explanation: Aliasing occurs when different virtual addresses map to the same physical address, a common issue in memory management.
Question 50 of 50
Which hardware mechanism allows a processor to transfer data directly to/from memory without involving the CPU?
Correct answer: A) Direct Memory Access (DMA)
Explanation: DMA enables direct data transfer between memory and peripherals, freeing the CPU for other tasks and enhancing performance.
Set 1 complete
You scored 0%
0 correct out of 0 answered (50 questions in this set).