Computer Systems Fundamentals Flashcards

(34 cards)

1
Q

What is a server and what is the purpose of a server.

A

A server is a powerful, reliable computer that provides services, data, and resources to client devices over a network. They are built for: High availability, reliability, efficiency, often 24/7 operation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Types of servers

A

Web Servers: Host websites (e.g., Apache, Nginx).

File Servers: Store/manage network files.

Mail Servers: Manage email (e.g., Microsoft Exchange, Postfix).

Application Servers: Run business applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a mainframe and what are their uses

A

A mainframe is a powerful, large-scale computer system built to process massive data volumes and support thousands of users simultaneously. They are commonly used in Banking, government records, healthcare, retail logistics.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an embedded system and their applications

A

An embedded system is a specialised computer system built to perform a specific task within a larger machine. They are used in consumer electronics, automotive, medical devices, home appliances.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the key features of a mainframe

A

High Processing Power: Millions of transactions per second.
Massive Storage: Handles vast structured/unstructured data.
Reliability: 24/7 operation with fault tolerance.
Security: Advanced encryption and data protection.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the features of an embedded system

A

Compact and Cost-Effective
Highly Reliable
Low Power Consumption

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is distributed system and what are their applications

A

A distributed system is a network of computers working together to complete tasks by sharing resources. Social media, e-commerce, online banking, Blockchain and cryptocurrencies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the types of distributed system

A

Client-Server (e.g., web apps, email).
Cloud Computing (e.g., AWS, Google Cloud).
Grid Computing (e.g., climate modelling).
Peer-to-Peer (e.g., BitTorrent, blockchain).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Explain multi user system

A

A multi-user system allows multiple users to access a computer system simultaneously. It’s features include:
1. Time sharing
2. Resource sharing
3. User isolation: Each user has separate login credentials
Examples of multi-user system are:
1. Cloud Computing
2. Database servers
3. Mainframes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Explain multi tasking systems

A

A CPU handles multiple tasks at once.

Features: Context switching, process scheduling, efficient CPU use.

Types:

Pre-emptive (OS controls task switching — Windows, Linux).

Cooperative (Tasks yield control — older Mac OS).

Examples: Browsing while downloading, using multiple apps at once.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Explain Network system

A

A network system consists of multiple computers connected together to share resources and communicate. It’s features are:
1. Decentralised or centralised management: Servers control resources, while clients access them.
2. Data and resource sharing: Users can share files, printers, and applications over the network.
3. Security mechanism
Types of Network Systems are: Client-Server, Peer-to-Peer, Cloud Networks.
Examples: Internet, corporate intranets, cloud storage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Explain what polling is

A

Polling is a method where the CPU repeatedly checks an I/O device’s status to see if it needs service. Advantages are:
1. Simple to implement.
2. Predictable timing.
3. Effective for fast devices.
Disadvantages are:
1. Inefficient CPU usage (wastes cycles).
2. Delayed response if multiple devices are polled.
3.Poor scalability with many devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Explain interrupts

A

Interrupts allow I/O devices to signal the CPU only when attention is needed, making it more efficient than polling. Advantages:
1. Efficient CPU usage (no constant checking).
2. Faster response time to events.
Disadvantages are:
1. More complex implementation (interrupt handlers).
2. Interrupt overhead
3. Requires priority handling to avoid conflicts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How does polling work?

A
  1. The CPU checks the status register of an I/O device to see if it is ready
  2. If the device is not ready, the CPU continues checking at regular intervals (looping).
  3. If the device is ready, the CPU processes the request
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How does interrupts work?

A

I/O device sends an interrupt request (IRQ).

CPU pauses, saves state, executes Interrupt Service Routine (ISR), then resumes previous task.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is I/O operations

A

I/O operations manage the data transfer between the CPU and peripheral devices. Different types—Programmed I/O, Interrupt-Driven I/O, and Direct Memory Access (DMA)

11
Q

What are the types of I/O operations

A

Programmed I/O (PIO)
Interrupt-Driven I/O
Direct Memory Access (DMA)

12
Q

Explain Programmed I/O

A

CPU actively manages I/O and waits for completion. It uses polling to repeatedly check if the device is ready.

Pros: It is simple to use

Cons: Inefficient, The CPU is occupied.

(See comparisons)

13
Q

Explain Interrupt-Driven I/O

A

Here the device interrupts the CPU when its ready.

Pros: More efficient; CPU can multitask.

Cons: Harder to manage multiple devices.

(See comparisons)

14
Q

Explain Direct Memory Access

A

A DMA controller handles transfers without CPU.
Example: Copying a large file from a hard drive to RAM without CPU intervention.

Pros: Most efficient; ideal for high-speed transfers.

Cons: Complex; needs extra hardware.

(See comparisons)

14
Q

What are device drivers

A

Device drivers are software that lets the operating system control hardware by translating its commands.

Importance:
Improve security and system stability through updates.
Optimize performance (e.g., GPU drivers).
Ensure hardware compatibility with the OS.

Usage:
Daily use: mouse, keyboard, printers.
Gaming: graphics and audio drivers.
Business

15
Q

What is RAM

A

Random Access Memory. It is the read write memory or primary or main memory. It stores data and programmes used by tHe CPU. It is also volatile meaning data is lost when power is off. It is divided into SRAM and DRAM

16
Q

What is DRAM

A

Known as dynamic RAM, It is used as main memory and it stores data in capacitors that must be refreshed every few millisecond. It’s slower and cheaper.

17
Q

What is SRAM

A

Known as Static RAM, It is used as cache and it stores data using transistors. It doesn’t need to be refreshed. It is faster but more expensive.

18
What are the differences between DRAM and SRAM
DRAM: Uses less power, Slower, cheaper, needs refreshing SRAM: Uses more power, Faster, costlier, no refreshing needed
19
What is ROM
It is a non-volatile memory that stores important system data. It retains data even without power. It has three types: PROM, EPROM, EEPROM.
19
Explain the types of ROM
PROM: Known as programmable ROM. It can be programmed by the user and once programmed it cannot be changed EPROM: Known as erasable programmable ROM. It can be reprogrammed and in order to erase its data expose it to UV lights. EEPROM: Electrically erasable and reprogrammable in parts (e.g. flash memory).
20
Differences between RAM and ROM
RAM: Volatile, temporary storage, stored data in MBs, writing data is faster. ROM: Non-volatile, permanent storage, stores data in GBs, writing data is slower.
21
What is a bus and state their types
It is a system of wires that enables communication between the CPU, memory and peripherals. They include the data, address and control bus
21
Explain data bus.
It transfers actual data between the CPU, memory and I/O devices. It is bidirectional meaning data flows both ways. The width (measured in bits) determines how much data can be transferred at one time.
22
Explain address bus
Carries memory addresses from the CPU to other components. It is unidirectional meaning it flows in only one direction carrying data from the CPU to the memory. The width determines addressable memory.
22
Explain control bus
Sends control signals to manage operations and timing. It can be Unidirectional or bidirectional depending on system.
23
Explain the components of the CPU
1. Arithemetic and Logic Unit: Performs arithmetic and logic operations on data. 2. Control Unit: Directs operations, decodes instructions, and controls data flow. 3. Registers: Small, fast memory used for temporary data storage during processing. 4. Cache memory: High-speed memory storing frequently used data/instructions 5. Decoder: Converts binary instructions into control signals for execution. 6. Clock 7. Bus interface unit (BIU)
24
Explain DMA
Direct Memory Access is a system that allows peripherals to transfer data directly to and from memory without constant CPU involvement. Types of DMA transfer mode: Burst mode: Transfers all data at once Cycle stealing mode: Transfers in small chunks Block transfer mode: Transparent mode: It transfers data only when the CPU dies Adv of DMA: Reduces CPU load Speeds up data transfers Increases system efficiency