Category: Uncategorized

  • Converting Number Systems

    IPv4 addresses 232=4,294,967,2962^{32}=4,294,967,296

    n 27262524232221202^7 2^6 2^5 2^4 2^3 2^2 2^1 2^0

    Assignable IP addresses 2h22^h-2

    Subnets 2s2^s

    block size 256InterestingOctet256-Interesting Octet

    1. 2748÷16=1712748 \div 16 = 171 with a remainder of 1212; the hexadecimal value for 1212 is CC.
    2. 171÷16=10171 \div 16=10 with a remainder of 1111; the hexadecimal value for 1111 is BB.
    3. 10÷16=010 \div 16=0 with a remainder of 10; the hexadecimal value for 1010 is AA.
    4. The decimal value 27482748 in hexadecimal format is ABCABC.

    248÷2=124 124÷2=62124÷2=62124÷2=62

    \begin{equation} \begin{split} 124÷2 =62\\ 124÷2=62\\ 62÷2=31\\ 31÷2=15\\ 15÷2=7\\ 7÷2=3\\ 3÷2=1\\ 1÷2=0 \end{split} \end{equation}

    1: 124÷2=62124÷2=6262÷2=3131÷2=1515÷2=77÷2=33÷2=11÷2=0124÷2 =62\\ 124÷2=62\\ 62÷2=31\\ 31÷2=15\\ 15÷2=7\\ 7÷2=3\\ 3÷2=1\\ 1÷2=0

    124÷2=62124÷2=6262÷2=3131÷2=1515÷2=77÷2=33÷2=11÷2=0\begin{equation} \begin{split} 124÷2 =62\\ 124÷2=62\\ 62÷2=31\\ 31÷2=15\\ 15÷2=7\\ 7÷2=3\\ 3÷2=1\\ 1÷2=0 \end{split} \end{equation}
    • 248÷2=124248÷2=124
    • 124÷2=62124÷2=62
    • 62÷2=3162÷2=31
    • 31÷2=1531÷2=15
    • 15÷2=715÷2=7
    • 7÷2=37÷2=3
    • 3÷2=13÷2=1
    • 1÷2=01÷2=0
    3ax+4by=5cz3ax<4by+5cz\begin{align*} 3ax+4by=5cz\\ 3ax<4by+5cz\\ \end{align*}

    Total IPv6 2128=3.4x10382^{128}=3.4×10^{38}

    A=πr22=12πr2\begin{equation} \label{eq1} \begin{split} A & = \frac{\pi r^2}{2} \\ & = \frac{1}{2} \pi r^2 \end{split} \end{equation}

    slope-intercept form: y=mx+by=mx+b ;

    standard quadratic form: ax2+bx+c=0ax^2+bx+c=0 ; quadratic forumal: x=b±b24ac2ax=\frac{-b \pm \sqrt{b^2-4ac}}{2a}

    speed: S=rtS=rt; distance: time:

    Spacesinmathematicalmode.f(x)=x2+3x+2f(x)=x2+3x+2f(x)=x2+3x+2f(x)=x2+3x+2f(x)=x2+3x+2f(x)=x2 +3x +2f(x)=x2+3x+2f(x)=x2+3x+2Spaces in mathematical mode. \begin{align*} f(x) &= x^2\! +3x\! +2 \\ f(x) &= x^2+3x+2 \\ f(x) &= x^2\, +3x\, +2 \\ f(x) &= x^2\: +3x\: +2 \\ f(x) &= x^2\; +3x\; +2 \\ f(x) &= x^2\ +3x\ +2 \\ f(x) &= x^2\quad +3x\quad +2 \\ f(x) &= x^2\qquad +3x\qquad +2 \end{align*}

    i\hbar\frac{\partial}{\partial t}\left|\Psi(t)\right>=H\left|\Psi(t)\right>

    it|Ψ(t)=H|Ψ(t)i\hbar\frac{\partial}{\partial t}\left|\Psi(t)\right>=H\left|\Psi(t)\right>
  • USB Specifications

    USB (Universal Serial Bus) is a standardized serial interface used to connect peripheral devices to a computer. It supports multiple device types, hot‑swapping, plug‑and‑play, and a wide range of speeds and connector formats.

    USB Versions & Speeds

    Your page lists the USB versions and speeds accurately, including USB 1.0 → USB4. Here is the cleaned and corrected table with modern naming:

    USB VersionMarketing NameMax SpeedCable LengthNotes
    USB 1.0 / 1.1Low‑Speed / Full‑Speed1.5 Mbps / 12 Mbps3–5 mLegacy
    USB 2.0High‑Speed480 Mbps5 mBackward‑compatible with 1.1
    USB 3.0 / 3.1 Gen 1SuperSpeed 5 Gbps5 Gbps~3 mBackward‑compatible with 2.0
    USB 3.1 Gen 2SuperSpeed+ 10 Gbps10 Gbps~3 m
    USB 3.2 Gen 1×2SuperSpeed 10 Gbps10 GbpsUSB‑C only
    USB 3.2 Gen 2×2SuperSpeed 20 Gbps20 GbpsUSB‑C only
    USB4 (v1)USB4 20/40 Gbps20–40 GbpsUSB‑C only
    USB4 (v2)USB4 80/120 Gbps80 Gbps symmetric / 120 Gbps asymmetricUSB‑C only

    You should know the following facts about USB:

    • USB is a serial interface that supports low- and high-speed devices. 
    • USB supports almost any kind of peripheral device, including keyboards, mice, scanners, digital cameras, printers, and storage devices.
    • USB supports Plug-and-Play and hot swapping (adding and removing devices without rebooting–also known as hot plugging).
    • USB allows 127 devices to be connected to a single computer (directly to the host or by hubs).
    • All devices connected together share computer resources (IRQs, I/O addresses).
    • The computer’s BIOS must support USB and have USB enabled.

    USB comes in multiple versions that perform at different rates, for various devices, as listed in the table below.

    VersionSpeedData Transfer Rate (megabits per second)Maximum Cable Length (meters)Supported connectors
    1.0/1.1Low-speed1.5 Mbps3 mUSB 3.0 Standard-A, USB 3.0 Standard-B, USB 3.0 Micro-B, USB 3.0 Micro-A, USB 3.0 Micro-AB, USB-C
    Full-speed12 Mbps5 m
    2.0High-speed480 Mbps5 m
    3.1 Gen 1×1 (3.0/3.1 Gen 1)Super-SpeedUp to 5 Gbps3 m
    3.2 Gen 2×1 (3.1 Gen 2)SuperSpeed USB 10GbpsUp to 10 Gbps 
    3.2 Gen 1×2 USB-C
    3.2 Gen 2×2SuperSpeed USB 20GbpsUp to 20 Gbps 
    4 20 Gbps / 40 Gbps 
    4 version 2 80 Gbps Symmetrically (Up to 120 Gbps asymmetrically) 

    ** Version 2.0 is backwards compatible with version 1.1 devices. Likewise, Version 3.0 is backwards compatible with version 2.0 devices. Most motherboards allow you to enable/disable USB support in the BIOS, or configure the USB version that will be used.

    ConnectorDescription
    USB Type‑A
    Rectangular connector that generally plugs directly into the computer or a hub.
    USB Type‑B
    Square/D‑shaped connector used for printers, hubs, and some peripherals.
    Mini‑USB (4 pin)Small square connector designed to plug in to devices with mini plugs such as a digital camera. Most USB cables with a mini connector have an A connector on the other end to connect to the computer
    Mini‑USB (5 pin)Small connector designed to plug in to devices with mini plugs such as a digital camera.
    Micro‑USBMicro USB connectors are designed for smart phones and tablet devices. As such, micro USB connectors are quickly replacing mini USB connectors. Micro USB connectors are approximately half the thickness of Mini USB connectors, making them more appropriate for smaller devices.
    USB‑CReversible connector supporting USB 3.x, USB4, Thunderbolt 3/4, DisplayPort Alt Mode, and power delivery.

    You can connect a USB device to a computer in two ways:

    • Directly to a USB port on a computer (it is common for a computer to have two USB ports). In addition, many motherboards include additional USB headers that can be used to attach additional USB ports.
    • To an external USB hub. Hubs can be chained together to provide additional ports. A hub has a single B connector to connect to the computer, and multiple A connectors for attaching devices.

    USB devices can be classified according to how they receive power.

    Device TypeDescription
    Self-poweredDevices that rely on their own power supply (in other words, you plug them into an AC outlet) are self-powered devices (sometimes called active devices). All devices that draw more than 500 mA of power are required to be self-powered.
    Bus poweredUSB cables have wires to carry both power and data. Bus-powered (sometimes called passive) devices get their power from the USB cable. Bus-powered devices are classified as low-powered or high-powered devices depending on the amount of power they draw from the USB bus. Low powered devices use 100 mA or less High-powered devices use between 100 and 500 mA Like USB devices, USB hubs can be bus-powered or self-powered. You cannot connect high-powered devices to a bus-powered hub (you can only connect low-powered or self-powered devices to a bus-powered hub). Therefore, self-powered hubs that provide 500 mA per port are recommended to ensure an adequate power supply to all bus-powered devices that you may wish to connect to the hub.

    ** To install a USB device, you typically install the software driver before attaching the device. When you plug in the device, it will be automatically detected and configured.

    USB Power Types

    Self‑Powered Devices

    Devices with their own AC power supply. Required for devices drawing more than 500 mA.

    Bus‑Powered Devices

    Devices powered directly from the USB port. Current page

    • Low‑power: ≤100 mA
    • High‑power: 100–500 mA

    USB Hubs

    • Can be bus‑powered or self‑powered
    • High‑power devices cannot be connected to bus‑powered hubs Current page
    • Self‑powered hubs recommended for reliability

    USB Installation & Detection

    Your page correctly states:

    • Install drivers before plugging in the device
    • Device is auto‑detected when connected Current page

    This is still true for many legacy devices, though modern OSes often include built‑in drivers.