Computer Org Notları
Computer Org Notları
Computer Org Notları
EXTRA BİLGİLER:
AŞAĞIDA
CHAPTER 2:
2.1 Designing for Performance
Performance Optimization: Discusses the importance of designing computer systems for optimal performance.
Factors Influencing Performance: Covers various factors that impact performance, including hardware design,
software algorithms, and system architecture.
Trade-offs: Highlights the need to balance competing design objectives such as speed, cost, and power consumption.
2.2 Multicore, MICs, and GPGPUs
Parallel Computing Paradigms: Introduces multicore processors, Many Integrated Cores (MICs), and General-Purpose
Graphics Processing Units (GPGPUs) as architectures designed to exploit parallelism.
Advantages: Discusses the advantages of parallel computing architectures in terms of performance scalability and
efficiency.
Challenges: Addresses challenges such as parallel programming complexity and synchronization overhead.
2.3 Two Laws that Provide Insight: Ahmdahl’s Law and Little’s Law
Ahmdahl’s Law: Explains Ahmdahl’s Law, which quantifies the potential speedup of a program due to parallelization,
given a fraction of the program that can be parallelized.
Little’s Law: Introduces Little’s Law, which relates the average number of items in a system to the average time spent
by an item in the system.
2.4 Basic Measures of Computer Performance
Response Time and Throughput: Defines response time (execution time) as the time taken to complete a task and
throughput as the number of tasks completed per unit of time.
Speedup: Describes speedup as the ratio of the performance of a system with multiple processors to the performance
of a system with a single processor executing the same task.
2.5 Calculating the Mean
Mean Calculation: Explains how to calculate the mean (average) of a set of data points using the formula sum of all
data points divided by the number of data points.
Significance: Discusses the significance of the mean as a measure of central tendency in performance analysis and
benchmarking.
2.6 Benchmarks and SPEC
Benchmarking: Discusses the use of benchmarks to evaluate and compare the performance of computer systems.
SPEC (Standard Performance Evaluation Corporation): Introduces SPEC as an organization that develops
standardized benchmarks for evaluating the performance of computer systems, including CPU, graphics, and power
benchmarks.
CHAPTER 3:
Chapter 4:
Chapter 1:
1. Which of the following best describes the difference between computer organization and computer architecture?
A) Computer organization refers to the physical arrangement of hardware components, while computer architecture
refers to the conceptual structure and functional behavior.
B) Computer organization focuses on software algorithms, while computer architecture focuses on hardware design.
C) Computer organization and computer architecture are interchangeable terms.
D) Computer organization refers to the functional behavior of a computer, while computer architecture refers to its
physical components.
(answer : a)
2. Which of the following is NOT one of the key functional units of a computer system?
A) Input unit
B) Output unit
C) Memory unit
D) Processing unit
(answer : d)
3. What is the primary function of the control unit in a computer system?
A) To perform arithmetic and logic operations
B) To store data and instructions temporarily
C) To manage the flow of data and instructions between different parts of the computer
D) To present processed data to the user
(answer : c)
4. What does the fetch-decode-execute cycle in a computer system involve?
A) Fetching data from the memory, decoding it into instructions, and executing the instructions
B) Fetching instructions from the memory, decoding them into data, and executing the data
C) Fetching data from the input devices, decoding it into instructions, and executing the instructions
D) Fetching instructions from the output devices, decoding them into data, and executing the data
(answer : a)
5. Which of the following is NOT a performance metric used to evaluate computer systems?
A) Response time
B) Throughput
C) Efficiency
D) Voltage
(answer : d)
6. What historical milestone is associated with the development of the von Neumann architecture?
A) The invention of the first electronic computer
B) The introduction of magnetic core memory
C) The creation of the first stored-program computer
D) The development of the first integrated circuit
(answer : c)
7. Which of the following encoding schemes is used for representing characters in computer systems?
A) ASCII
B) Binary
C) Octal
D) Decimal
(answer : a)
8. What is Moore's Law?
A) The observation that the number of transistors on a chip doubles approximately every two years.
B) The principle that describes the speedup achieved by parallel processing.
C) The concept of organizing data in a hierarchical structure.
D) The method used to detect and correct errors in memory.
(answer : a)
Chapter 2:
1. Which of the following best describes the purpose of designing computer systems for performance?
A) To maximize speed at any cost
B) To minimize cost without considering speed
C) To balance various design objectives such as speed, cost, and power consumption
D) To prioritize power consumption over speed
(answer : c)
2. Which of the following computing architectures exploits parallelism by incorporating multiple processing units on a
single chip?
A) Multicore processors
B) Single-core processors
C) Sequential processors
D) Hyperthreaded processors
(answer : a)
3. Ahmdahl's Law quantifies the potential speedup of a program due to parallelization based on which factor?
A) The fraction of the program that can be parallelized
B) The total number of instructions in the program
C) The clock speed of the processor
D) The size of the cache memory
(answer : a)
4. Little's Law relates the average number of items in a system to which of the following?
A) The average time spent by an item in the system
B) The total number of instructions executed by the system
C) The number of processors in the system
D) The size of the main memory in the system
(answer : a)
5. What is a common measure of computer performance that represents the number of tasks completed per unit of
time?
A) Response time
B) Throughput
C) Latency
D) Speedup
(answer : b)
6. Which organization develops standardized benchmarks for evaluating the performance of computer systems?
A) IEEE (Institute of Electrical and Electronics Engineers)
B) ISO (International Organization for Standardization)
C) SPEC (Standard Performance Evaluation Corporation)
D) IETF (Internet Engineering Task Force)
(answer : c)
7. What is the purpose of using benchmarks in evaluating computer system performance?
A) To compare the cost of different computer systems
B) To measure the power consumption of a computer system
C) To assess the reliability of a computer system
D) To evaluate and compare the performance of computer systems
(answer : d)
8. Which of the following is a characteristic of PCI Express (PCIe) technology?
A) It uses a shared bus architecture
B) It has limited scalability
C) It supports point-to-point serial connections
D) It is primarily used for legacy devices
(answer : c)
Chapter 3:
1. What does the interconnection structure of a computer system facilitate?
A) Communication and data transfer between different computer components
B) Cooling of computer components to prevent overheating
C) Physical arrangement of components within the computer case
D) Power distribution to various components within the system
(answer : a)
2. What are the two main types of interconnection structures discussed in the chapter?
A) Serial and parallel
B) Hardware and software
C) Bus and point-to-point
D) Local and remote
(answer : c)
3. What is the role of a bus in computer interconnection?
A) To provide a dedicated connection between two components
B) To enable communication between multiple components using shared pathways
C) To connect a computer system to external devices such as printers and monitors
D) To store data temporarily for quick access by the CPU
(answer : b)
4. Which interconnection technology is characterized by a shared communication pathway among multiple
components?
A) Bus interconnection
B) Point-to-point interconnect
C) PCI Express
D) SATA
(answer : a)
5. What is PCI Express (PCIe) primarily used for in computer systems?
A) Connecting peripheral devices such as graphics cards and network adapters
B) Providing power to various components within the system
C) Cooling the CPU and other heat-generating components
D) Storing data and instructions temporarily
(answer : a)
Chapter 4:
1. What principle describes the tendency of a processor to access the same set of memory locations repeatedly during
program execution?
A) Principle of locality
B) Principle of caching
C) Principle of virtual memory
D) Principle of segmentation
(answer : a)
2. Which of the following is NOT a characteristic of memory systems discussed in the chapter?
A) Capacity
B) Speed
C) Volatility
D) Color
(answer : d)
3. What is the purpose of the memory hierarchy in computer systems?
A) To provide redundancy for fault tolerance
B) To minimize power consumption
C) To balance cost and performance by integrating different types of memory
D) To increase the clock speed of the CPU
(answer : c)
4. How does the memory hierarchy improve system performance?
A) By exploiting the principle of locality to reduce average memory access time
B) By increasing the number of memory banks in the system
C) By reducing the capacity of the memory modules
D) By decreasing the clock speed of the CPU
(answer : a)
5. What performance metric is used to evaluate the effectiveness of a multilevel memory hierarchy?
A) Hit rate
B) Miss rate
C) Cache size
D) CPU clock speed
(answer : a)
6. What modeling technique is commonly used to analyze the performance of a multilevel memory hierarchy?
A) Analytical modeling
B) Statistical modeling
C) Simulation
D) Quantum modeling
(answer : a)
7. What is the miss penalty of a cache?
A) The time it takes to access data from the cache
B) The time it takes to fetch data from the next level of the memory hierarchy in case of a cache miss
C) The number of cache lines replaced during cache eviction
D) The probability of a cache hit occurring during a memory access
(answer : b)
8. Which of the following is NOT a key component of a multilevel memory hierarchy?
A) Cache memory
B) Main memory
C) Registers
D) Secondary storage
(answer : d)
Chapter 5:
1. What principle governs the design of cache memory to improve performance?
A) Principle of locality
B) Principle of parallelism
C) Principle of virtual memory
D) Principle of segmentation
(answer : a)
2. Which of the following is NOT an element of cache design?
A) Cache size
B) Cache replacement policy
C) Cache associativity
D) Memory address bus width
(answer : d)
3. What organization scheme is commonly used in Intel x86 processors for cache memory?
A) Direct-mapped cache
B) Fully associative cache
C) Set-associative cache
D) Block-associative cache
(answer : b)
4. What is the purpose of cache organization in the IBM z13 mainframe architecture?
A) To provide multiple cache levels for performance optimization
B) To implement non-volatile cache for data persistence
C) To support dynamic cache partitioning for workload management
D) To integrate cache directly into the processor core for reduced latency
(answer : a)
5. What performance metric is used to evaluate cache effectiveness?
A) Hit rate
B) Miss rate
C) Cache latency
D) Cache capacity
(answer : a,b)
6. What factor influences the choice between a direct-mapped, set-associative, or fully associative cache organization?
A) Cache size
B) Processor clock speed
C) Cache access latency
D) Memory address bus width
(answer : c)
7. What is the primary advantage of using set-associative or fully associative cache over direct-mapped cache?
A) Lower cache access latency
B) Higher cache capacity
C) Reduced cache conflicts
D) Simpler cache replacement policy
(answer : d)
8. What technology is commonly used in modern processors to implement cache memory?
A) SRAM (Static Random Access Memory)
B) DRAM (Dynamic Random Access Memory)
C) Flash memory
D) Magnetic storage
(answer : a)
Chapter 6: