Computer Architecture¶
1. In which century did the concept of parallel processing originate?
- A. 17th century
- B. 18th century
- C. 19th century
- D. 20th century
Click to reveal the answer
Answer: C. 19th century2. True or False: The Von Neumann architecture is known for efficient I/O access to memory without any bottlenecks.
Click to reveal the answer
Answer: False3. What is the primary drawback of the Von Neumann architecture?
- A. Limited memory capacity
- B. High power consumption
- C. Von Neumann bottleneck
- D. Lack of multi-threading support
Click to reveal the answer
Answer: C. Von Neumann bottleneck4. Which of the following benchmarks measures floating-point performance of computers?
- A. SPEC
- B. LINPACK
- C. Geekbench
- D. Cinebench
Click to reveal the answer
Answer: B. LINPACK5. True or False: Parallelization within a single processor is typically achieved through multiprocessing.
Click to reveal the answer
Answer: FalseMulticore CPU¶
1. According to Flynn's taxonomy, which classification is ideal for multicore CPUs that support thread-level parallelism?
- A. SISD
- B. SIMD
- C. MISD
- D. MIMD
Click to reveal the answer
Answer: D. MIMD2. True or False: In multicore CPUs, each core generally has its own L2 cache and shares an L3 cache with other cores.
Click to reveal the answer
Answer: True3. Which architecture under Flynn's taxonomy achieves data-level parallelism by applying the same instruction to multiple data?
- A. SISD
- B. SIMD
- C. MISD
- D. MIMD
Click to reveal the answer
Answer: B. SIMD4. What is the primary purpose of the memory hierarchy in CPUs?
- A. To increase the number of cores
- B. To decrease the number of instructions
- C. To optimize access times to frequently used data
- D. To enable multiprocessing
Click to reveal the answer
Answer: C. To optimize access times to frequently used data5. True or False: MISD (Multiple Instruction Single Data) architecture is commonly used in general-purpose computing.
Click to reveal the answer
Answer: FalseShared Memory Architectures¶
1. Which shared memory architecture has uniform memory access times across all processors?
- A. Distributed Shared Memory
- B. Non-Uniform Memory Access (NUMA)
- C. Uniform Memory Access (UMA)
- D. None of the above
Click to reveal the answer
Answer: C. Uniform Memory Access (UMA)2. True or False: In Non-Uniform Memory Access (NUMA), each processor has faster access to its local memory segment compared to remote segments.
Click to reveal the answer
Answer: True3. Distributed Shared Memory combines elements of which two architectures?
- A. UMA and NUMA
- B. SIMD and MIMD
- C. SISD and MISD
- D. None of the above
Click to reveal the answer
Answer: A. UMA and NUMA4. Which of the following is also known as Symmetric Multi-Processing?
- A. NUMA
- B. UMA
- C. Distributed Memory
- D. SIMD
Click to reveal the answer
Answer: B. UMA5. True or False: Shared-memory architectures are best suited for applications that require distributed data processing across multiple locations. Answer: False
Distributed Memory Architectures¶
1. In distributed memory architecture, how do nodes typically communicate with each other?
- A. Through shared memory space
- B. By message-passing protocols
- C. Using SIMD instructions
- D. Directly through each CPU core
Click to reveal the answer
Answer: B. By message-passing protocols2. True or False: The Fat-Tree topology is popular in distributed memory architectures because of its versatility and high bandwidth.
Click to reveal the answer
Answer: True3. Which of the following is a widely used network topology in distributed memory supercomputers?
- A. Full Mesh
- B. Star
- C. Fat-Tree
- D. Ring
Click to reveal the answer
Answer: C. Fat-Tree4. Which programming model is commonly used to develop applications for distributed memory systems?
- A. CUDA
- B. MPI
- C. OpenMP
- D. POSIX
Click to reveal the answer
Answer: B. MPI5. True or False: Distributed memory architectures rely on a single global memory that all processors can access directly.