Computer Architecture 1.1. Basic Computer Arch...
Computer Architecture 1.1. Basic Computer Arch...
This outline covers a wide range of topics in computer architecture. Let's break it down into
sections:
● Basic Architecture: This refers to the fundamental structure of a computer system, including
the Central Processing Unit (CPU), memory, input/output (I/O) devices, and their
interconnection.
● Registers: These are small, high-speed memory locations within the CPU that hold data and
instructions for immediate use.
● Memory Hierarchy: A layered system with varying speeds and capacities. It includes registers,
cache, main memory, and secondary storage (like hard disks).
○ Cache Memory: High-speed memory that stores frequently accessed data or instructions
from main memory for faster retrieval.
○ Main Memory (RAM): Holds the programs and data currently being used by the CPU.
○ External Memory (Secondary Storage): Slower, but holds larger amounts of data
permanently (e.g., hard disks, solid-state drives).
● Memory Management: Techniques for efficiently allocating and using memory resources.
○ Direct Addressing: Instructions specify the exact memory location of data.
○ Indirect Addressing: Instructions specify a memory location that holds the actual address of
the data.
● Hard Disk Organization: Magnetic or solid-state storage with a spinning platter or flash
memory chips. Data is organized into sectors, tracks, and cylinders.
● RAID (Redundant Array of Independent Disks): A technology that combines multiple hard
drives for improved performance and fault tolerance.
● Interrupt: A signal from a device or program requesting the CPU's attention.
● Auxiliary Memory: Alternative storage devices like optical media (CDs, DVDs) or magnetic
tape. Slower than hard disks but can hold large amounts of data.
● Virtual Memory: Creates the illusion of more memory than physically available by using a
combination of RAM and secondary storage.
○ Address Space: The total range of memory addresses a program can reference.
○ Paging: Divides memory into fixed-size blocks (pages) for efficient virtual memory
management.
● CPU Architecture: The design and organization of the CPU, including its control unit,
arithmetic logic unit (ALU), and registers.
● Parallel Processing: Using multiple processors to perform tasks simultaneously for faster
computing.
● CISC (Complex Instruction Set Computing): Processors with a large set of complex
instructions.
● RISC (Reduced Instruction Set Computing): Processors with a smaller set of simpler
instructions, often achieving higher performance through optimization.
● Control Unit: Part of the CPU that fetches, decodes, and executes instructions.
● I/O Management: Techniques for controlling the transfer of data between the CPU and I/O
devices.
● I/O Interface: The hardware and software that allows communication between the CPU and I/O
devices.
● I/O Requests Handling: The process of managing I/O requests from devices and ensuring
efficient data transfer.
● I/O Devices: Hardware peripherals that allow users to interact with the computer (e.g.,
keyboards, monitors, printers).
This is a high-level overview. Each of these topics can be further explored for deeper
understanding.
Here are some important MCQs covering the topics you mentioned:
2.1 Introduction
● What is an Operating System (OS): An OS acts as an interface between the user and the
computer hardware. It manages resources (memory, CPU, storage) and provides services
like running applications, handling input/output, and ensuring security.
● Types of Operating Systems: There are various types based on functionality:
○ Batch OS: Processes jobs sequentially without user interaction (e.g., old mainframe
systems).
○ Multitasking OS: Allows running multiple programs concurrently (e.g., Windows,
macOS, Linux).
○ Real-Time OS: Used in systems requiring strict timing (e.g., industrial control
systems).
○ Network OS: Manages networked computers and resources (e.g., Windows Server,
Linux distributions for servers).
○ Mobile OS: Designed for smartphones and tablets (e.g., Android, iOS).
● Functions of an OS: These include:
○ Process Management: Creating, scheduling, and terminating processes (running
programs).
○ Memory Management: Allocating and managing memory resources for applications.
○ Device Management: Controlling and coordinating I/O devices.
○ File Management: Organizing, storing, and retrieving data files.
○ Security: Protecting the system from unauthorized access and malicious software.
● I/O Devices and Organization: Different devices (keyboards, monitors, printers) have
specific interfaces for data transfer. The OS manages communication between the CPU
and these devices.
● Principles of I/O Software and Hardware: Software drivers control specific I/O devices,
while hardware interfaces like USB or PCI enable communication.
● Disks, Files, and Directory Organization: Data is stored on disks (HDDs or SSDs) in
sectors, tracks, and cylinders. Files are organized using directories (folders) for hierarchical
storage.
● File System Implementation: The file system is a method for organizing, storing,
retrieving, and managing files and directories. Common examples include FAT32, NTFS
(Windows), ext4 (Linux).
● Identifying and Managing Security Threats: This includes recognizing malware, viruses,
phishing attacks, and other threats, along with implementing security measures like
firewalls and antivirus software.
This is a general overview. Specific details and functionalities may vary depending on the OS
version and distribution.
Here are some MCQs to test your understanding of the topics mentioned:
2.1 Introduction
○ (a) FAT32
○ (b) NTFS
○ (c) ext4 (primarily used in Linux)
○ (d) HFS+ (primarily used in macOS)
5. Which of the following is a free and open-source operating system based on the Linux
kernel?
○ (a) Windows 10
○ (b) macOS
○ (c) Ubuntu
○ (d) Solaris
Remember, understanding the concepts behind these questions is crucial. Use these MCQs for
practice and refer back to the explanations provided earlier to solidify your knowledge.
.1 Introduction
6. (b) User accounts and permissions control who can access what data or resources.
7. (b) Firewalls filter incoming and outgoing network traffic for security.
3.1 Introduction
● Network Cables and Connectors: Different cable types (coaxial, twisted pair, fiber optic)
and connectors (RJ-45) are used for network connections.
● IPCONFIG: Displays network configuration information (IP address, subnet mask, etc.).
● PING: Tests connectivity to another device by sending and receiving data packets.
● TRACERT: Shows the route taken by data packets to reach a destination.
● NSLOOKUP: Queries Domain Name System (DNS) servers to translate domain names to
IP addresses.
● Different cabling standards and tools are used for network installation and troubleshooting
cable faults.
3.8 IP Addressing
● Switching: Learning MAC addresses and forwarding data packets to specific devices on a
network segment.
● Routing: Directing data packets across different networks based on their IP addresses.
● Multiplexing: Combining multiple data streams into a single channel for transmission.
● Demultiplexing: Separating the multiplexed data streams at the receiving end.
● Flow Control: Mechanisms to regulate data flow and prevent overwhelming the receiver.
● TCP Congestion Control: Techniques used by TCP to avoid overloading the network
during data transfer.
● Web and Web Caching: Accessing information and resources on the World Wide Web.
Web caching stores frequently
Here are some MCQs to test your understanding of the topics mentioned:
3.1 Introduction
1. Which network architecture covers a small geographic area like a home or office?
○ (a) WAN
○ (b) MAN
○ (c) LAN
○ (d) SAN
2. In a client-server model, which device provides resources to other devices?
○ (a) Client
○ (b) Server
○ (c) Router
○ (d) Switch
3. Which LAN topology is most common and offers scalability and fault tolerance?
○ (a) Bus
○ (b) Ring
○ (c) Star
○ (d) Mesh
6. Which network device connects different networks and directs data packets based on their
addresses?
○ (a) Switch
○ (b) Bridge
○ (c) Router
○ (d) Hub
7. What is the primary function of a network interface card (NIC)?
8. Which protocol is connectionless and offers faster but less reliable data transfer?
○ (a) TCP
○ (b) UDP
○ (c) HTTP
○ (d) HTTPS
9. Port 80 is commonly used for which network service?
10. Which of the following network utilities tests connectivity to another device?
○ (a) IPCONFIG
○ (b) PING
○ (c) TRACERT
○ (d) NSLOOKUP
3.1 Introduction
1. (c) LAN (Local Area Network) typically covers a small area like a home or office.
2. (b) The server provides resources to client devices.
3. (c) Star topology is scalable and fault-tolerant, with devices connected to a central switch.
4. (d) All of the above (coaxial, twisted pair, fiber optic) are commonly used network cables.
6. (c) Routers connect different networks and direct data packets based on their IP addresses.
7. (a) The NIC enables a computer to connect to a network.
8. (b) UDP is a connectionless protocol offering faster but less reliable data transfer.
9. (d) Port 80 is the standard port for HTTP (web browsing).
10. (b) PING sends data packets to test connectivity with another device.
Multimedia Technology: Diving into 4.1
1. Sound/Audio System
● Video Fundamentals: Frames, frame rate, resolution, video codecs (e.g., MP4, AVI).
● Animation Techniques: Traditional, 2D animation, 3D animation, stop-motion.
● Video Editing: Software for cutting, compositing, and adding effects to video clips.
● Storyboarding: Planning the visual flow of a video.
4. Data Compression
● Lossless vs. Lossy Compression: Techniques for reducing data size without or with
some loss of quality.
● Common Compression Algorithms: Huffman coding, LZW, JPEG, MP3.
● Compression Applications: Reducing storage requirements and transmission times.
5. Teleconferencing
6. Data Synchronization
This is a general overview. Specific details and applications may vary depending on the
technology and its use case.
1. Sound/Audio System
1. Which device converts digital audio data into an analog signal for speakers?
o (a) Microphone
o (b) Speaker
o (c) Sound card
o (d) Digital-to-Analog Converter (DAC)
3. Which image format is best suited for storing photos with high detail and color accuracy?
o (a) JPEG
o (b) PNG
o (c) GIF
o (d) BMP
4. Data Compression
7. Which type of compression allows for perfect reconstruction of the original data after
decompression?
o (a) Lossless compression
o (b) Lossy compression
o (c) Huffman coding
o (d) LZW compression
5. Teleconferencing
9. Which technology allows for real-time video communication over the internet?
o (a) Email
o (b) Video conferencing
o (c) File sharing
o (d) Instant messaging
6. Data Synchronization
1. Sound/Audio System
1. (d) Digital-to-Analog Converter (DAC) converts digital audio data into an analog signal.
2. (a) WAV is a lossless format preserving all data, while MP3 uses lossy compression for smaller file
sizes with some quality reduction.
3. (b) PNG is a lossless format ideal for photos with high detail and color accuracy.
4. (b) Raster images are made of pixels, while vector graphics use mathematical formulas to represent
lines and shapes, allowing for scaling without quality loss.
5. (c) Frame rate refers to the number of images displayed per second, affecting video smoothness.
6. (b) Storyboarding helps plan the sequence of shots and scenes in a video production.
4. Data Compression
7. (a) Lossless compression allows perfect data reconstruction, while lossy compression sacrifices some
quality for smaller file sizes.
8. (b) Data compression reduces storage requirements and transmission times for multimedia files.
5. Teleconferencing
9. (b) Video conferencing enables real-time video communication over the internet.
10. (a) Teleconferencing reduces travel costs for business meetings.
6. Data Synchronization
11. (b) Data synchronization software keeps the same data consistent across multiple devices (phones,
laptops, etc.).
12. (b) Synchronized data allows accessing the same files from any device you're signed in to.