Ch 1 - Part Two

Chapter-1 Part-Two 1. Write Full forms of the following abbreviations: i. CPU – Central Processing Unit ii. BIOS – Basic Input Output System iii. HDD – Hard Disk Drive iv. SSD – Solid State Drive v. RAM – Random Access Memory vi. CU – Control Unit vii. USB – Universal Serial Bus viii. ALU – Arithmetic Logic Unit ix. MU – Memory Unit x. PCB – Printed Circuit Board xi. BIOS – Basic Input Output System xii. ROM – Read Only Memory xiii. PSU – Power Supply Unit xiv. CMOS – Complementary Metal Oxide Semiconductor xv. CD – Compact Disc xvi. DVD – Digital Versatile Disc xvii. KB – Kilobyte xviii. MB – Megabyte xix. GB – Gigabyte xx. TB – Terabyte xxi. YB – Yottabyte xxii. PB – Petabyte xxiii. SRAM – Static Random Access Memory xxiv. DRAM – Dynamic Random Access Memory xxv. VRAM – Video Random Access Memory xxvi. EPROM – Erasable Programmable Read Only Memory xxvii. EEPROM – Electrically Erasable Programmable Read Only Memory xxviii. rpm – Revolutions Per Minute xxix. VDU – Visual Display Unit xxx. LED – Light Emitting Diode xxxi. LCD – Liquid Crystal Display xxxii. CPS – Characters Per Second xxxiii. LCM – Least Common Multiple xxxiv. PPM – Pages Per Minute xxxv. Mbps – Megabits Per Second xxxvi. HDMI – High Definition Multimedia Interface xxxvii. LAN – Local Area Network 2. Choose the correct answer. i. What is the primary function of the CPU in a computer system? (a) Memory storage (b) Data input (c) Arithmetic and logic operations (d) Graphics rendering ii. Which of the following is a volatile memory in a computer system? a. Hard Disk Drive (HDD) b. Random Access Memory (RAM) c. Solid State Drive (SSD) d. Cache Memory iii. What does the term “BIOS” stand for in a computer system? a. Basic Input Output System b. Binary Input Output System c. Base Input Output Software d. Basic Integrated Operating System iv. Which of the following is a secondary storage device? a. RAM b. CPU c. USB Flash Drive d. Cache Memory v. What is the role of the motherboard in a computer system? a. Manage power supply b. Connect all hardware components and provide communication between them c. Execute software applications d. Store data permanently vii. What is the role of a monitor as an output device in a computer system? a. Monitors capture and decode barcodes. b. Monitors provide a visual display of digital information such as text, images, and videos. c. Monitors regulate the power supply to other output devices. d. Monitors convert hand-drawn sketches into digital format. viii. What is the role of microphones as an input device in a computer system? a. Microphones capture and decode barcodes. b. Microphones record audio input, allowing for voice commands or communication. c. Microphones read information from magnetic stripes. d. Microphones are used for scanning documents. ix. What is the primary function of a printer as an output device? a. Convert printed or handwritten text into digital form b. Display graphics on the screen c. Produce a hard copy of digital documents or images d. Record audio input x. What is the primary function of a microprocessor in a personal computer? a. Display graphics on the screen b. Manage power supply to peripherals c. Execute instructions and perform calculations d. Control the cooling system 3.Write short answers to these questions. a. What is the primary function of the CPU in a computer system? Ans: The CPU processes data and controls all operations of the computer. b. Explain the difference between RAM and ROM in terms of functionality. Ans:RAM stores data temporarily while the computer is running, whereas ROM stores permanent instructions needed to start the computer. c. How does a hard drive differ from RAM in terms of data storage? Ans:A hard drive stores data permanently, while RAM stores data temporarily. d. What is the role of a motherboard in a computer system? Ans:The motherboard connects and allows communication between all computer components. e. Explain the concept of cache memory and its importance in CPU performance. Ans:Cache memory is a small, high-speed memory that stores frequently used data, helping the CPU work faster. f. Define the term “bus” in the context of computer architecture. Ans:A bus is a communication pathway that transfers data between computer components. g. What is the purpose of an input device in a computer system? Provide examples. Ans:An input device is used to enter data and instructions into a computer. Examples: keyboard, mouse, scanner, and microphone. h. What is a peripheral device, and how does it enhance a computer system? Ans:A peripheral device is an external device connected to a computer to add functionality. Examples: printer, speaker, and webcam. 4. Write long answers to these questions. a. Explain the architecture of a computer system, detailing the functions of the CPU, memory, input/output devices, and storage. Ans: process data and perform tasks. The main components are the CPU, memory, input/output devices, and storage devices. • CPU (Central Processing Unit): It is the brain of the computer. It processes instructions, performs calculations, and controls all system operations. • Memory: Memory stores data and instructions needed by the CPU. RAM stores data temporarily, while ROM stores permanent startup instructions. • Input Devices: These devices allow users to enter data into the computer. Examples include keyboards, mice, scanners, and microphones. • Output Devices: These devices display or present processed information to users. Examples include monitors, printers, speakers, and projectors. • Storage Devices: These devices store data permanently for future use. Examples include hard disk drives (HDDs), solid-state drives (SSDs), CDs, DVDs, and USB drives. All these components communicate through buses on the motherboard to ensure smooth operation of the computer system. b. What is the role of an operating system in managing and coordinating the various components of a computer system with examples? Analyze the functions of an operating system. Ans: and computer hardware. It manages resources and coordinates the activities of different components. Examples of Operating Systems: • Microsoft Windows • Linux • macOS • Android Functions of an Operating System: 1. Process Management: Controls the execution of programs and allocates CPU time. 2. Memory Management: Allocates and deallocates memory to running programs. 3. File Management: Organizes files and directories on storage devices. 4. Device Management: Controls hardware devices such as printers, keyboards, and monitors. 5. Security Management: Protects data through passwords and access controls. 6. User Interface: Provides graphical or command-line interfaces for users. 7. Resource Allocation: Distributes system resources efficiently among programs. For example, when a user prints a document, the operating system coordinates the printer, memory, and CPU to complete the task successfully. c. Differentiate between primary and secondary memory.
Primary Memory Secondary Memory
1. Directly accessed by the CPU.1. Not directly accessed by the CPU.
2. Used to store data and instructions currently in use.2. Used to store data and programs permanently.
3. Faster in operation.3. Slower than primary memory.
4. Usually has smaller storage capacity.4. Usually has larger storage capacity.
5. More expensive per unit of storage.5. Less expensive per unit of storage.
6. Mostly volatile (RAM loses data when power is off).6. Non-volatile (data remains even when power is off).
7. Examples: RAM, ROM, Cache Memory.7. Examples: HDD, SSD, CD, DVD, USB Drive.
d. Describe the role of cache memory, RAM, and storage devices. How do they contribute to overall system performance? Ans: Cache Memory: Cache memory is a small, high-speed memory located inside or near the CPU. It stores frequently used instructions and data. Because of its high speed, it reduces the time required for the CPU to access information and significantly improves performance. RAM (Random Access Memory): RAM is the main working memory of a computer. It temporarily stores data and programs currently being used. More RAM allows the computer to run multiple applications efficiently and improves multitasking performance. Storage Devices: Storage devices such as HDDs and SSDs store data permanently. SSDs are faster than HDDs and help reduce boot times and application loading times. Contribution to System Performance: • Cache memory speeds up CPU operations. • RAM improves multitasking and application performance. • Fast storage devices reduce data access and loading times. Together, these components ensure faster and more efficient computer operation. e. Explain the architecture of a CPU in detail. Ans: The Central Processing Unit (CPU) is the main processing component of a computer. It executes instructions and controls system activities. The CPU architecture consists of several important units: 1. Arithmetic Logic Unit (ALU) • Performs arithmetic operations such as addition, subtraction, multiplication, and division. • Performs logical operations such as comparison and decision-making. 2. Control Unit (CU) • Directs and coordinates all operations within the CPU. • Fetches instructions from memory and controls their execution. • Manages data flow between the CPU, memory, and input/output devices. 3. Registers • Small, high-speed storage locations inside the CPU. • Store instructions, data, and memory addresses temporarily during processing. 4. Cache Memory • Stores frequently accessed data and instructions. • Provides faster access than RAM. • Improves CPU efficiency and speed. 5. Buses • Data Bus: Transfers data between components. • Address Bus: Carries memory addresses. • Control Bus: Carries control signals and commands. Working of CPU (Fetch-Decode-Execute Cycle) 1. Fetch: The CPU retrieves an instruction from memory. 2. Decode: The control unit interprets the instruction. 3. Execute: The ALU or other CPU components perform the required operation. 4. Store: The result is stored in memory or registers. This continuous cycle enables the CPU to process millions or billions of instructions every second, making it the most important component of a computer system.