home
0%
Progress
StudentPortal › Class XII - CS › Unit 2
CBSE Code 083 | Unit 2: Computer Networks & Cybersecurity

02. Protocols, Web Services & Security

HTTP/HTTPS, FTP, TCP/IP, DNS, VoIP, XML, Firewalls, cookies, and campus layout case studies.

Unit 2: Computer Networks & Cybersecurity

Chapter 2: Protocols, Web Services & Security

1. What is a Protocol?

A protocol is a formal set of rules and conventions that govern how devices communicate and exchange data over a network - covering things like data format, timing, sequencing, and error handling.

Common Protocols

Protocol Full Form Purpose
TCP/IP Transmission Control Protocol / Internet Protocol The foundational protocol suite of the Internet; TCP breaks data into packets and ensures reliable, ordered delivery; IP handles addressing and routing of those packets
HTTP HyperText Transfer Protocol Used to transfer (unencrypted) web pages between a web server and a browser
HTTPS HTTP Secure Same as HTTP, but data is encrypted using SSL/TLS - used for secure transactions (banking, login forms)
FTP File Transfer Protocol Used to transfer files between computers over a network
SMTP Simple Mail Transfer Protocol Used to send email from a client to a mail server
POP3 Post Office Protocol v3 Used to retrieve/download email from a mail server to a client
PPP Point-to-Point Protocol Establishes a direct connection between two nodes, commonly used for dial-up/broadband connections
TELNET Terminal Network Allows a user to log in to and control a remote computer over a network
VoIP Voice over Internet Protocol Enables voice calls to be transmitted over the Internet instead of traditional phone lines

2. DNS - Domain Name System

Computers identify each other using numeric IP addresses (e.g., 142.250.195.142), but humans find domain names (e.g., www.google.com) much easier to remember. DNS is the system that translates (resolves) a human-readable domain name into its corresponding IP address.

User types: www.example.com
        |
        v
   DNS Server looks up the IP address
        |
        v
   Browser connects to: 93.184.216.34

3. Web Services Terminology

Term Meaning
WWW (World Wide Web) A system of interlinked documents (web pages) accessed via the Internet
Web Browser Client software used to request and display web pages (e.g., Chrome, Firefox)
Web Server Software/hardware that stores web pages and responds to browser requests
URL Uniform Resource Locator - the complete address of a resource on the web, e.g., https://www.example.com/page.html
Static Web Page Content is fixed; displays the same information to every visitor, every time
Dynamic Web Page Content can change based on user input, time, or database values

Anatomy of a URL

https://www.example.com/students/class-12-cs
  |          |                |
protocol   domain name      path to the resource

4. Web Scripting

Web Scripting is the process of adding interactive/dynamic behaviour to a web page using a scripting language.

  • Client-Side Scripting: Code runs in the user's own browser (e.g., JavaScript). Used for form validation, animations, instant feedback - reduces load on the server.
  • Server-Side Scripting: Code runs on the web server before the page is sent to the browser (e.g., PHP, Python/Django). Used to interact with databases and generate personalized content.

5. Cyber Security Essentials

Cookies

Small pieces of data that a website stores on the user's computer (via the browser) to remember information between visits - like login sessions, shopping cart items, or preferences.

Firewall

A security system (hardware or software) that monitors and controls incoming/outgoing network traffic based on a defined set of security rules, acting as a barrier between a trusted internal network and an untrusted external network (like the Internet).

Common Threats

Threat Description
Malware Malicious software designed to damage or gain unauthorized access to a system (viruses, worms, trojans, ransomware)
Phishing Fraudulent attempt to trick a user into revealing sensitive information (passwords, card details) by pretending to be a trustworthy source
Cyberbullying Using digital communication to harass, threaten, or intimidate someone
Cyberstalking Repeatedly using the internet to harass or monitor a specific person

Safe Browsing Practices

  • Always check for https:// and a padlock icon before entering sensitive information.
  • Never share passwords or OTPs with anyone, even if they claim to be from a bank/company.
  • Keep software, browsers, and antivirus programs updated.
  • Avoid clicking on links from unknown or suspicious emails.

6. Board Exam Focus Questions

Q1. Rahul wants to send a confidential document to his company's server and ensure that nobody can read it if intercepted during transmission. Which protocol should the server's website use - HTTP or HTTPS? Justify your answer. Answer: HTTPS, because it encrypts data (using SSL/TLS) before transmission, so even if the data is intercepted, it cannot be read without the decryption key - unlike HTTP, which transmits data as plain, readable text.

Q2. Differentiate between SMTP and POP3. Answer: SMTP is used to send outgoing email from a client to a mail server (and between mail servers). POP3 is used to retrieve/download incoming email from the mail server to the client's device.

Q3. What is the role of DNS in web browsing? What would happen if DNS servers stopped working? Answer: DNS translates human-readable domain names (like www.example.com) into numeric IP addresses that computers use to locate each other on a network. If DNS stopped working, browsers would be unable to resolve domain names to IP addresses, so websites would become unreachable unless a user manually entered the exact numeric IP address of the server.

Q4. Name the protocol that would be used in each of the following situations: - (i) Uploading a website's files to a hosting server → FTP - (ii) Making a voice call using the Internet instead of a telephone line → VoIP - (iii) Logging into and operating a remote server's command line → TELNET

Entity Details

Create New Item

help

Submit Technical Query

Have a question or run into an issue? Describe it below, upload an optional screenshot, and our engineering team will answer it!

image Attach image (optional)

Submit Feedback

build Free Developer Utility Free Tool
gavel

Privacy & Legal Disclaimer

1. Client-Side Browser Processing

All utility tools on DeepEngineerHub (including Image to PDF, Text Formatters, JSON Converters, and Encryptors) execute 100% locally within your client browser using WebAssembly and JavaScript. No uploaded images, text, or documents are transmitted, collected, or stored on remote servers.

2. Limitation of Liability ("As-Is" Provision)

Tools and services are provided free of charge for convenience and educational purposes "as-is" without warranties of any kind. DeepEngineerHub shall not be held liable for any data loss, formatting inconsistencies, or indirect damages resulting from tool usage.

3. Open Source & Third-Party Software

Certain utilities utilize open-source client libraries (such as jsPDF, Mermaid.js, Pyodide) licensed under MIT, Apache, or BSD open licenses. All intellectual property remains with their respective copyright holders.