CS 0478 Chapter 4: The Hardware & Software Audit, Cheat Sheet of Computer science

CS 0478 Chapter 4: The Hardware & Software Audit Chapter 4: Hardware & Software The Complete Protocol, Systems, & Languages Lockdown

Typology: Cheat Sheet

2025/2026

Available from 05/12/2026

FATTOUH
FATTOUH 🇺🇸

4.3

(3)

766 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS 0478 Chapter 4: The Hardware & Software Audit Swasti’s ”1st Position” Series
Chapter 4: Hardware & Software
The Complete Protocol, Systems, & Languages Lockdown
”The intersection of connectivity and control. ����
1. Internet Communication Protocols
A. Data Packets (The Unit of Transfer)
Data is broken into Packets for transmission.
Packet Header: Contains sender/receiver IP, and the Packet Number (to reassemble them in
order).
Payload: The actual data being sent.
Trailer: Contains the Checksum (error detection) and an ”end-of-packet” marker.
Packet Switching: Packets take different routes to reach the destination; they are reassembled using
the numbers in the header.
B. IP vs. MAC Addresses (Identity)
Feature MAC Address IP Address
Full Name Media Access Control Internet Protocol
Nature Physical address (Perma-
nent).
Logical address (Tempo-
rary).
Assignment Set by the manufacturer
(NIC).
Set by the network/ISP.
C. Web Protocols DNS
HTTPS: Secure web protocol using Encryption.
DNS (Domain Name System): Translates a URL (e.g. google.com) into an IP Address.
Cookies: Small text files that store user preferences. They are not malware.
2. The Operating System (OS) & Utilities
A. OS Management Tasks
The OS manages the hardware so application software can run.
Interrupt Handling: Responding to signals (Interrupts) that stop the CPU’s current task to deal
with an event (e.g., mouse click, hardware failure).
Memory Management: Allocating RAM to processes.
Security: Managing users and file permissions.
B. Utility Software
Defragmentation: Reorganizes files on a HDD into contiguous sectors to speed up access.
Compression: Reduces file size to save storage.
1
pf2

Partial preview of the text

Download CS 0478 Chapter 4: The Hardware & Software Audit and more Cheat Sheet Computer science in PDF only on Docsity!

CS 0478 Chapter 4: The Hardware & Software Audit Swasti’s ”1st Position” Series

Chapter 4: Hardware & Software

The Complete Protocol, Systems, & Languages Lockdown

”The intersection of connectivity and control.” ￿￿￿￿

1. Internet Communication Protocols

A. Data Packets (The Unit of Transfer)

Data is broken into Packets for transmission.

⋄ Packet Header: Contains sender/receiver IP, and the Packet Number (to reassemble them in order).

⋄ Payload: The actual data being sent.

⋄ Trailer: Contains the Checksum (error detection) and an ”end-of-packet” marker.

⋄ Packet Switching: Packets take different routes to reach the destination; they are reassembled using the numbers in the header.

B. IP vs. MAC Addresses (Identity)

Feature MAC Address IP Address Full Name Media Access Control Internet Protocol Nature Physical address (Perma- nent).

Logical address (Tempo- rary). Assignment Set by the manufacturer (NIC).

Set by the network/ISP.

C. Web Protocols DNS

  • HTTPS: Secure web protocol using Encryption.
  • DNS (Domain Name System): Translates a URL (e.g. google.com) into an IP Address.
  • Cookies: Small text files that store user preferences. They are not malware.

2. The Operating System (OS) & Utilities

A. OS Management Tasks

The OS manages the hardware so application software can run.

  • Interrupt Handling: Responding to signals (Interrupts) that stop the CPU’s current task to deal with an event (e.g., mouse click, hardware failure).
  • Memory Management: Allocating RAM to processes.
  • Security: Managing users and file permissions.

B. Utility Software

  • Defragmentation: Reorganizes files on a HDD into contiguous sectors to speed up access.
  • Compression: Reduces file size to save storage.

CS 0478 Chapter 4: The Hardware & Software Audit Swasti’s ”1st Position” Series

3. Programming Languages & Translators

A. High-Level vs. Low-Level

→ High-Level: Portable (runs on any CPU), easy to read, needs a compiler/interpreter.

→ Low-Level (Assembly): Not portable, directly talks to CPU registers, very fast.

B. Translators

  • Compiler: Translates the whole program at once into a standalone .exe file.
  • Interpreter: Translates and executes line-by-line. Stops if it finds an error.

4. Cybersecurity Threats

Threat Logic

Phishing: Fake emails to steal data (needs a user to click). Pharming: Malicious code on a DNS/server that redirects you to a fake site automatically. Firewall: Filters incoming/outgoing traffic based on security rules.