📘 CodingMarble Learn

Web Applications: Online Reservation, E-governance, E-learning and E-commerce

A web application is a program you use through a web browser. It runs mostly on a web server; your phone or computer (the client) sends a request over the internet, the server reads or changes data in a database, and sends back a response page. Because the data is shared, everyone sees the same up-to-date information. Common uses: online reservation (train, bus, flight, hotel, cinema tickets), e-governance (government services online such as certificates, tax filing, passports, land records), e-learning (online courses, video lessons, quizzes, virtual classes) and e-commerce (buying and selling online with cart, payment and delivery tracking). Benefits: available anytime, anywhere, saves time and paper, transparent. Risks: needs internet, privacy, fraud and phishing; use HTTPS, strong passwords, OTP and official sites only.

🎬 Step-by-step story

  1. A web application is a program that runs inside a web browser. You open it on a phone or laptop; you do not install it.
  2. You tap a button. A request travels over the internet to a web server. The server sends back a response: a new page.
  3. Online reservation: the server keeps all seats in one database. When a seat is booked, it turns red for everyone at once.
  4. E-governance: government services online, like applying for a certificate and checking its status, without standing in a queue.
  5. E-learning and e-commerce: watch lessons and take quizzes; add to cart, pay and track an order. The green lock (HTTPS) protects your data.
  6. Free play: pick an app, send a request and book seats. Watch the free-seat count fall.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Is a web app the same as a mobile app?

No. A mobile app is installed from a store; a web app opens in the browser. Many services offer both, using the same server.

Where is my booking actually saved?

In the database on the server, not on your phone. That is why you can see it from any device.

How does everyone see a seat as booked immediately?

All users read the same database. Once it marks the seat booked, every new response shows it red.

What does the lock in the address bar do?

It means HTTPS: data between browser and server is encrypted so others cannot read it on the way.

Why does a web app need the internet all the time?

Each action sends a request to the server and waits for a response; without internet the request cannot travel.

What is a web application and how does it work?

A web application (web app) is software you use through a web browser such as Chrome, Firefox or Safari.

Flow: you fill a form and press a button → the browser sends a request → the server checks and updates the database → it sends a response page back.

Website vs web app: a simple website mainly shows information (read only). A web app lets you do things: log in, fill forms, book, pay, submit.

Advantages: no installation, works on any device with a browser, always the latest version, data shared live. Limits: needs internet, can be slow on weak networks, security risks.

Online reservation

Used to book train, bus and flight tickets, hotel rooms, cinema seats and doctor appointments.

  1. Register / log in.
  2. Enter from, to, date and class; search.
  3. See availability from the database.
  4. Choose seat, enter passenger details.
  5. Pay online.
  6. Get an e-ticket with a booking number (PNR) by SMS/email.

Why it works: one shared database stops two people booking the same seat. Benefits: book from home 24×7, compare options, cancel online.

E-governance

E-governance means using ICT to deliver government services and information to citizens.

Types: government to citizen (G2C), government to business (G2B), government to government (G2G). Benefits: saves time and travel, more transparent, less paper, can track status. Challenges: digital divide, cyber security, privacy.

E-learning

E-learning is learning through digital devices and the internet.

Benefits: learn at your own pace and place, replay lessons, instant quiz results. Limits: needs a device and data, less face-to-face contact, self-discipline needed.

E-commerce

E-commerce is buying and selling goods and services online.

  1. Search or browse products.
  2. Add to cart.
  3. Log in and give address.
  4. Pay: card, UPI, net banking, wallet or cash on delivery.
  5. Get confirmation and track delivery.

Types: B2C (business to consumer), B2B, C2C (people selling to people). Safe use: buy only from trusted sites with HTTPS (lock icon), never share OTP or PIN, check reviews and return policy, beware of fake offers (phishing).

Try it yourself

Browse a booking or shopping site without paying: find the search box, the results from the database and the HTTPS lock. Then book seats in the 3D and watch the count.

Key formulas and definitions

Worked examples

1. A train coach has 72 berths. 58 are booked online. How many are free, and why can't two people book the same berth?

72 − 58 = 14 free. All bookings update one shared database on the server, so once a berth is booked, every user sees it as taken.

2. Is an online income-tax filing portal G2C, G2B or G2G?

G2C (government to citizen), because citizens use it to file their own returns. A portal for companies to file returns would be G2B.

3. You get an SMS: "Your parcel is held, pay ₹10 at this link". The link has no HTTPS and a strange spelling. What should you do?

Do not click or pay. It is likely phishing. Check order status only on the official shopping app or site, and report the message.

Common mistakes

Practice quiz

1. A web application is used through a:
2. Where does a web app store seats, users and orders?
3. Applying for a birth certificate online is an example of:
4. The lock icon in the address bar means:
5. Selling old books to another person on a website is:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is a web application with example?

A program used through a browser, such as an online train booking site, a tax filing portal or an online shop.

What is the difference between a website and a web application?

A website mainly shows information; a web application lets you interact: log in, fill forms, book, pay and save data.

What are the uses of web applications?

Online reservation, e-governance, e-learning, e-commerce, online banking, email and social media.

Where this is taught

CBSE (India)Class 12Operating Web-based Applications

Learn first

Learn next

Related lessons

All Computer Science lessons