249=11111001. Fractional part 0.40: 0.40x2=0.80(0), 0.80x2=1.60(1), 0.60x2=1.20(1), 0.20x2=0.40(0), repeating. Result: 11111001.0110...1x32 + 1x16 + 0x8 + 1x4 + 1x2 + 0x1 + 0x0.5 + 1x0.25 = 32+16+4+2+0.25 = 54.2511001 - 110 = 11001 - 00110 = 10011. Verification: 25 - 6 = 19 (10011 is 19).ls — List directory contents. Example: ls -la /home shows all files with permissions.cd — Change directory. Example: cd /var/log navigates to the log directory.mkdir — Create a new directory. Example: mkdir projectcp — Copy files or directories. Example: cp report.txt backup/report.txtchmod — Change file permissions. Example: chmod 755 script.sh<h1>, <p>, <img>, <a> to define headings, paragraphs, images, and links.The primary methods of I/O communication are:
Characteristics:
Block Diagram Concept:
[Host Interface (SATA/NVMe)] <--> [SSD Controller & Cache] <--> [NAND Flash Memory Chips]
Major components on a motherboard:
Device Management is the OS component responsible for managing all hardware devices connected to the computer. Key Responsibilities:
0 and 1. It is the native language of computers, corresponding to the ON/OFF states of transistors.0-9. The standard human notation. Used for input and output, but must be converted to binary internally.0-7. Used historically because it's easy to translate to binary (each octal digit is exactly 3 bits).0-9 and A-F. Extremely common in modern computing because one hex digit maps perfectly to 4 bits (a nibble), making large binary numbers easier to read.ADD, MOV) instead of raw binary.1s and 0s).Main Components:
Block Diagram Concept:
[ Memory ] <--> [ Control Unit ] <--> [ Registers ]
\-- [ ALU ] --/
MOV R1, R2 / LOAD R1, [Address]ADD R1, R2AND R1, R2JMP [Address] (Jump to address) / CALL FunctionMesh Topology: Every device is connected to every other device (in a full mesh) or to several others (in a partial mesh).
192.168.1.1).142.250.190.46 (a public Google IP).Client-Server Network: A centralized network architecture where powerful computers (servers) provide specific resources, security, or services, and terminal computers/devices (clients) request these services. Communication is strictly client-initiated. Real-world Example: Web Browsing: Your smartphone's Safari browser (the client) sends an HTTP request to an Amazon server (the server) for product page data. The server processes the request and sends back HTML, which your client browser renders for you.
HTML (HyperText Markup Language):
XHTML (Extensible HyperText Markup Language):
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My Simple Page</title>
</head>
<body>
<h1>Welcome to the Page</h1>
<p>This is a paragraph displayed below the heading.</p>
</body>
</html>
Explanation: We use JavaScript's setInterval method to execute a block of code every second. Inside this block, we calculate the difference between the target date and the current date (new Date()), convert that difference into days, hours, minutes, and seconds, and inject it into the HTML.
Sample Script:
let eventDate = new Date("Dec 1, 2026 09:00:00").getTime();
let timer = setInterval(function() {
let now = new Date().getTime();
let timeleft = eventDate - now;
let days = Math.floor(timeleft / (1000 * 60 * 60 * 24));
let hours = Math.floor((timeleft % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
document.getElementById("countdown").innerHTML = days + "d " + hours + "h";
if (timeleft < 0) {
clearInterval(timer);
document.getElementById("countdown").innerHTML = "Event Started";
}
}, 1000);
1. Inline CSS (direct style attribute):
<p style="color: blue;">Inline Text</p>
2. Internal CSS (within <style> block in <head>):
<style>
p { color: red; }
</style>
3. External CSS (linking a separate .css file):
<link rel="stylesheet" href="styles.css">