




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1: What is the primary focus of computer engineering as a discipline? A. Developing business strategies B. Designing electronic hardware and integrating it with software C. Writing user manuals D. Managing corporate finances Correct: B Explanation: Computer engineering combines electrical engineering and computer science principles to design hardware systems and integrate them with software components. Question 2: Which of the following best differentiates computer engineering from computer science? A. Computer engineering focuses on algorithms, while computer science focuses on circuit design. B. Computer engineering focuses on hardware and system integration,
whereas computer science emphasizes software and theory. C. Computer engineering is concerned with network administration, and computer science is concerned with databases. D. Computer engineering deals only with embedded systems, while computer science deals only with AI. Correct: B Explanation: Computer engineering bridges hardware and software, focusing on physical systems, while computer science emphasizes algorithms, data structures, and theoretical foundations. Question 3: What role do registers play in a CPU’s operation? A. They store large datasets for long-term use. B. They provide temporary storage for instructions and data being processed. C. They manage network packet routing. D. They handle user inputs and outputs.
Question 5: In RISC versus CISC architectures, which is a characteristic of RISC? A. Complex instruction set with multiple cycles per instruction B. Large microcode ROM C. Simple instructions that execute in a single cycle D. Variable-length instruction formats Correct: C Explanation: Reduced Instruction Set Computing (RISC) uses a small set of simple instructions designed to execute quickly, often in a single clock cycle. Question 6: What is the main advantage of pipelining in CPU design? A. Reduces the size of the instruction set B. Allows multiple instructions to overlap in execution, increasing throughput
C. Eliminates the need for cache memory D. Simplifies the control unit design Correct: B Explanation: Pipelining breaks instruction execution into stages, enabling several instructions to be processed simultaneously at different stages, boosting overall instruction throughput. Question 7: Which component is responsible for arithmetic and logical operations within the CPU? A. Control Unit B. Memory Management Unit C. Arithmetic Logic Unit (ALU) D. Input/Output Controller Correct: C Explanation: The ALU performs all arithmetic and logical operations, such as addition, subtraction, comparisons, and bitwise operations.
C. Front-Side Bus (FSB) D. USB Bus Correct: C Explanation: The Front-Side Bus directly connects the CPU to the main memory controller and operates at high speeds, making it critical and costly. Question 10: Virtual memory primarily allows a system to: A. Increase CPU clock speed B. Use disk storage to extend apparent RAM capacity C. Share files over a network D. Execute Java applications Correct: B Explanation: Virtual memory uses disk space as an extension of RAM, allowing larger applications to run by paging data in and out of physical memory.
Question 11: What is the main purpose of an instruction set architecture (ISA)? A. To define how software communicates with hardware at the instruction level B. To standardize network protocols C. To design high-level programming languages D. To manage thermal output in CPUs Correct: A Explanation: ISA specifies the set of operations, data types, registers, and addressing modes that software uses to control hardware. Question 12: Which storage medium uses flash memory and has no moving parts? A. Hard Disk Drive (HDD) B. Solid State Drive (SSD)
Question 14: Which of the following is a characteristic of CISC architectures? A. Fixed-length instructions only B. Simple addressing modes C. Complex instructions that may take multiple cycles D. Lack of microcode Correct: C Explanation: Complex Instruction Set Computing (CISC) architectures offer many complex instructions, often implemented via microcode, which may require multiple cycles to complete. Question 15: What does the term “embedded system” refer to? A. A general-purpose desktop computer B. A specialized computing system integrated into larger devices for specific control functions
C. A cloud-based virtual machine D. A high-performance gaming console Correct: B Explanation: Embedded systems are dedicated computing units within devices (e.g., automotive controllers, medical equipment) designed to perform defined tasks reliably. Question 16: Which logic gate outputs a LOW signal only when both inputs are HIGH? A. AND B. OR C. NAND D. NOR Correct: C Explanation: A NAND gate outputs the opposite of an AND gate, producing LOW only if both inputs are HIGH.
A. Arithmetic Logic Unit B. Memory Management Unit (MMU) C. Input/Output Controller D. System Clock Correct: B Explanation: The MMU handles address translation and access control, enabling virtual memory and memory protection mechanisms. Question 19: What kind of memory is non-volatile and typically used to store firmware? A. SRAM B. DRAM C. ROM D. Cache
Correct: C Explanation: Read-Only Memory (ROM) retains data without power and is used for storing firmware instructions that initialize hardware. Question 20: Which multiplexing technique combines multiple signals over a single communication channel by allocating separate time slots? A. Frequency Division Multiplexing (FDM) B. Code Division Multiple Access (CDMA) C. Time Division Multiplexing (TDM) D. Wavelength Division Multiplexing (WDM) Correct: C Explanation: TDM assigns distinct time slices to multiple signals on one channel, allowing sequential transmission without interference. Question 21: What is the function of a decoder in digital circuits?
Correct: D Explanation: The Fetch stage retrieves the next instruction from memory into the instruction register for processing. Question 23: What does DMA stand for, and why is it used? A. Dynamic Memory Allocation; to allocate RAM at runtime B. Direct Memory Access; to allow peripherals to read/write memory without CPU intervention C. Data Management Architecture; to structure database storage D. Distributed Memory Array; in multi-core systems Correct: B Explanation: DMA controllers grant I/O devices direct access to system memory, offloading data transfer tasks from the CPU and improving performance.
Question 24: In RISC architectures, what is a typical characteristic of instruction length? A. Variable-length instructions B. Fixed-length instructions C. Length depends on data type D. Stored in microcode Correct: B Explanation: RISC systems generally use uniform fixed-length instructions, simplifying instruction decoding and pipelining. Question 25: Which storage technology uses rotating platters coated with magnetic material? A. Solid State Drive (SSD) B. Hard Disk Drive (HDD) C. NAND Flash D. Optical Disc
Question 27: Which register holds the address of the next instruction to execute? A. Instruction Register (IR) B. Program Counter (PC) C. Stack Pointer (SP) D. Status Register (SR) Correct: B Explanation: The PC tracks the memory address of the upcoming instruction, updating after each fetch. Question 28: In digital design, what is metastability? A. When a flip-flop enters an undefined state due to asynchronous inputs B. When two signals are perfectly synchronized C. A stable output at steady state D. A condition caused by low voltage
Correct: A Explanation: Metastability occurs when a flip-flop’s input changes near the clock edge, causing indeterminate output and timing issues. Question 29: Which type of cache mapping uses a single cache line to map to any main memory block? A. Direct-mapped cache B. Fully associative cache C. Set-associative cache D. None of the above Correct: B Explanation: Fully associative caches allow any memory block to reside in any cache line, offering flexibility at the cost of complex lookup. Question 30: What is the primary benefit of a set-associative cache over a direct-mapped cache?