Network Topologies and Signal Concepts

Network Topologies

Star Topology

All devices are connected to a central hub or router. This central node acts as a communication point for all other nodes.

  • Typically, the central node is a hub or switch.
  • Allows for quick communication between all nodes.
  • If the central node fails, the entire network is disconnected.

Extended Star Topology

Used when more connections are needed than a single star topology can provide.

  • Similar to the star topology, but each node connected to the central node can also act as
Read More

Operating Systems: Memory Management, File Systems, and Process Control

Q) Explain Why Logging Metadata Updates Ensures Recovery of a File System After a File System Crashes.

Logging metadata updates ensures recovery of a file system after a crash because it provides a record of all the changes that were in progress at the time of the crash. Here’s a more detailed explanation:

  1. Consistency & Atomicity

    When metadata updates are logged, the system ensures that all operations related to these updates are completed as an atomic transaction. This means either all changes

Read More

Computer Hardware and Safety: A Comprehensive Guide

Cable Type

External Power

Internal Power

Class Motherboard (Mother)
ATX -> Created by a group led by Intel in 1995, it introduced external connections in the form of an I/O panel and defined a 20-pin connector for power. It is used today in several variants, including extra power connectors or size reductions.
AT -> One of the larger formats in the history of PCs (305 × 279-330 mm), it defined a power connector consisting of two parts. It was widely used from 1985 to 1995.

Devices

  • DVD Drives
  • Floppy
Read More

Distributed Systems: Concepts, Technologies, and Examples

Two-Phase Commit Problems (Locking the entire cluster if one node is down, Possible to implement timeouts, Possible to use Quorum, Quorum: in a distributed environment, if there is a partition, then the nodes vote to commit or rollback)

Vector Clocks (Used for conflict detection of data, Timestamp-based resolution of conflicts is not enough, generating a partial ordering of events in a distributed system and detecting causality violations, A vector clock of a system of N processes is an array/vector

Read More

Understanding Computer Storage: From ROM and RAM to External Drives

Computer Storage: An Overview

A computer utilizes two primary types of storage: main storage and backing storage. Main storage comprises ROM and RAM, while backing storage can be internal, such as a hard disk, or external, like a CD or USB flash drive.

ROM and RAM

ROM (Read-Only Memory)

ROM is non-volatile memory that persists even when the computer is powered off. It stores essential instructions, such as the computer’s startup routine. Neither programs nor users can modify ROM content.

RAM (Random

Read More

Understanding Relational Databases, SQL, and NoSQL: A Comprehensive Guide

1. Informal Design Guidelines for Relational Schema Design

Informal design guidelines for relational schema design help ensure efficiency, flexibility, and manageability. Here are some key guidelines:

  • Simplicity: Aim for an easy-to-understand and maintain schema. Avoid excessive complexity.
  • Naming Conventions: Use meaningful and consistent names for tables and columns (e.g., use ‘Employee’ instead of ‘Emp’).
  • Eliminate Redundancy: Apply normalization techniques (up to the third normal form) to minimize
Read More