Chapter 5: AI and Contemporary Technologies

The technologies shaping today and tomorrow: Artificial Intelligence, Machine Learning, Robotics, IoT, Virtual Reality, Cloud Computing, E-commerce and E-Governance, explained simply with real Nepali examples.

1 Introduction to AI

When Google Maps finds the fastest route to Pokhara, when YouTube suggests your next video, or when your phone unlocks by seeing your face, that is Artificial Intelligence at work.

Artificial Intelligence (AI) is the branch of computer science that makes machines think, learn and make decisions like humans.

The term "Artificial Intelligence" was first used by John McCarthy in 1956. AI tries to give computers human-like abilities such as understanding language, recognising images, solving problems and learning from experience.

Real example: Siri and Google Assistant understand your spoken words and answer you: that is AI understanding human language.
๐Ÿค–
Image: AI all around us (maps, face unlock, assistant)
Place your image here (filename: ai-intro.png)

2 Goals of AI

The main goals of AI are:

๐Ÿง 

Reasoning

Help machines think and solve problems logically.

๐Ÿ“š

Learning

Let machines learn from data and past experience.

๐Ÿ—ฃ๏ธ

Understand Language

Understand and respond in human languages.

๐Ÿ‘๏ธ

Perception

See and recognise images, faces and sounds.

๐Ÿค

Help Humans

Do difficult, boring or dangerous tasks for us.

3 Applications / Use of AI

AI is used in almost every field today:

FieldUse of AI
HealthcareDetecting diseases from X-rays and reports
EducationPersonalised learning apps and AI tutors
TransportSelf-driving cars and traffic prediction
BankingFraud detection and customer chatbots
EntertainmentNetflix/YouTube recommendations
SmartphonesFace unlock, voice assistants, smart cameras
AgricultureDetecting crop diseases from photos

4 Advantages & Limitations of AI

โœ… AdvantagesโŒ Limitations
Works 24/7 without getting tiredVery expensive to build and maintain
Fast and accurate, fewer errorsCannot truly feel emotions or be creative like humans
Does dangerous and boring jobsCan reduce human jobs (unemployment)
Helps in big decisions using dataDepends fully on data; wrong data = wrong result
Available everywhere, anytimeCan be misused (deepfakes, privacy loss)

5 Machine Learning

Machine Learning (ML) is a part of AI in which machines learn from data and improve by themselves, without being programmed for every single step.

Instead of writing exact rules, we show the computer many examples and it finds the pattern. For example, to teach a computer to recognise a cat, we show it thousands of cat photos until it learns what a cat looks like.

Real example: Gmail learns from millions of emails to automatically move spam to the Spam folder: that is machine learning.

6 Types of Machine Learning

There are three main types of machine learning:

๐Ÿท๏ธ

Supervised Learning

Learns from labelled data (we give the right answers). Example: teaching with photos already marked "cat" or "dog"; spam detection.

๐Ÿงฉ

Unsupervised Learning

Learns from unlabelled data and finds patterns/groups itself. Example: grouping customers by shopping habits.

๐ŸŽฎ

Reinforcement Learning

Learns by trial and error using rewards and punishments. Example: a robot or game character learning to win.

TypeData UsedReal-life Example
SupervisedLabelled (answers given)Email spam filter, price prediction
UnsupervisedUnlabelled (no answers)Customer grouping, market analysis
ReinforcementReward & punishmentSelf-driving cars, game-playing AI

7 How Machine Learning Works

Machine learning follows four main steps:

1๏ธโƒฃ

Collect Data

Gather lots of examples (photos, numbers, text).

2๏ธโƒฃ

Train the Model

Feed the data so the computer learns the pattern.

3๏ธโƒฃ

Create the Model

The learned result is saved as a "model".

4๏ธโƒฃ

Make Predictions

Use the model on new data to predict answers.

Example: To predict house prices: collect old price data โ†’ train the model โ†’ create the model โ†’ predict the price of a new house.

8 Applications of Machine Learning

Machine learning is used in many everyday products:

ApplicationWhat it does
Spam DetectionMoves junk emails to the Spam folder
Speech RecognitionConverts your voice to text (Google voice typing)
Self-Driving CarsCars that drive themselves (Tesla)
Language TranslationGoogle Translate between languages
ChatbotsAuto-reply customer support
Virtual AssistantsSiri, Alexa, Google Assistant
Fraud DetectionBanks spot unusual transactions
Social Media FeedsFacebook/TikTok decide what you see
Healthcare DiagnosisDetect diseases from medical images
Personalised LearningApps that adapt to each student
Predictive MaintenancePredict when a machine will break
Recommendation SystemDaraz/Netflix "you may also like"
CybersecurityDetect attacks and dark-web threats

9 AI vs Machine Learning

People often mix these up. ML is actually a part of AI.

Artificial Intelligence (AI)Machine Learning (ML)
The big field of making smart machinesA part (subset) of AI
Aims to copy human intelligenceAims to learn from data
May or may not learn from dataAlways learns from data
Example: a full robot, SiriExample: spam filter, recommendations
Easy way to remember: All machine learning is AI, but not all AI is machine learning.

10 AI in Robotics

Robotics is the field of designing and building robots: machines that can do tasks automatically. When robots use AI, they can sense, think and act on their own.

AI gives robots the ability to see (cameras), understand (sensors and software) and decide what to do. Examples include factory robots that assemble cars, delivery robots, and robot vacuum cleaners that map your room.

Real example: A robot vacuum cleaner uses AI to avoid furniture and clean the whole room by itself.

11 Simulating Robotics Tasks with Scratch

Scratch (scratch.mit.edu) is a free, block-based coding tool. We can simulate a simple robot by making a sprite (character) move, turn and react: just like a real robot would.

Example task: Make a robot sprite move and avoid the edge

Procedure:

  1. Open scratch.mit.edu and click "Create".
  2. Choose a robot sprite from the sprite library.
  3. Drag the when green flag clicked block.
  4. Add a forever loop block.
  5. Inside it, put move 10 steps.
  6. Add if on edge, bounce so it turns back at the wall.
  7. Click the green flag: the robot now moves and avoids edges automatically!
Extend it: Add an if key pressed block so you can control the robot with arrow keys, like a remote-control robot.
๐Ÿฑ
Image: Scratch blocks for a moving robot sprite
Place your image here (filename: scratch-robot.png)

12 Generative AI

Generative AI is a type of AI that can create new content: such as text, images, music, code and videos: based on what it has learned.

Unlike older AI that only sorted or predicted, generative AI actually produces something new. You give it a prompt (a request in plain language) and it generates an answer.

Uses of Generative AI

  • Writing essays, emails, stories and code.
  • Creating images and art from text descriptions.
  • Summarising long documents.
  • Answering questions and tutoring students.
  • Translating and improving writing.
Note: Always check generative AI answers; they can sometimes be wrong or make up facts.

13 Popular Generative AI Tools

๐ŸŸฃ

ChatGPT

By OpenAI. Popular AI chatbot for text, answers and code.

๐ŸŸ 

Claude

By Anthropic. AI assistant for writing, analysis and coding.

๐Ÿ”ต

Gemini

By Google. AI built into Google products and search.

๐ŸŸข

Microsoft Copilot

AI assistant inside Windows and Microsoft Office.

๐Ÿ”ท

DeepSeek

An open AI model known for strong reasoning and coding.

14 Integrated AI Tools

Many apps we already use now have AI built right inside them:

AppAI Feature
Google DocsHelps write, fix grammar and summarise text
Gmail / EmailSmart Reply, auto-complete, spam filtering
Google SearchAI answers at the top of results
CanvaAI image and design generation
MS OfficeCopilot writes and analyses for you

15 Ethics in AI

AI ethics means using AI in a fair, honest and responsible way that does not harm people.

Important ethical concerns include:

  • Bias: AI may be unfair if trained on biased data.
  • Honesty: Deepfakes and fake news can mislead people.
  • Jobs: AI may replace human workers.
  • Responsibility: Who is to blame if AI makes a mistake?
  • Cheating: Students must use AI to learn, not to copy.

16 Privacy in AI

Privacy is the right to keep your personal information safe. AI systems collect huge amounts of data: your photos, location, searches and messages. If misused, this can harm your privacy.

Stay safe: Do not share passwords, personal photos or private details with AI tools, and read app permissions before saying "Allow".

17 Security in AI

Security means protecting AI systems and their data from hackers and misuse. AI can both help security (detecting cyber-attacks) and threaten it (smart scams, deepfakes).

AI helps securityAI threatens security
Detects viruses and attacks fastCreates realistic fake voices/videos
Spots fraud in bankingAutomates phishing scams
Monitors networks 24/7Can guess weak passwords

18 Internet of Things (IoT)

Internet of Things (IoT) is a network of everyday physical devices connected to the internet, which can collect and share data with each other.

In IoT, ordinary objects: lights, fans, watches, fridges: get sensors and internet so they become "smart" and can be controlled remotely.

Real example: A smartwatch counts your steps and heart rate and sends it to your phone. A smart bulb can be turned on from an app.
๐ŸŒ
Image: Smart home devices connected to the internet
Place your image here (filename: iot-home.png)

19 Advantages of IoT

๐ŸŽ›๏ธ

Remote Control

Control devices from anywhere using your phone.

โฑ๏ธ

Saves Time

Automates daily tasks like lights and watering.

๐Ÿ’ก

Saves Energy

Smart devices switch off when not needed.

๐Ÿ“Š

Useful Data

Collects data to make better decisions.

20 Limitations of IoT

  • Security risk: Connected devices can be hacked.
  • Privacy: Devices collect a lot of personal data.
  • Cost: Smart devices are expensive.
  • Internet dependent: Stops working without internet.
  • Complex: Hard to manage many devices together.

21 Applications of IoT

AreaIoT Application
Smart HomeSmart lights, fans, CCTV, door locks
HealthSmartwatches, fitness bands, health monitors
AgricultureSoil and weather sensors for smart farming
TransportGPS tracking, smart traffic lights
IndustryMachine sensors and automation
CitySmart parking and street lights

22 Virtual Reality (VR)

Virtual Reality (VR) is a computer-created 3D world that feels real. Using a VR headset, the user feels they are actually inside that digital world.

VR completely replaces the real world with a virtual one. You wear a headset (like Meta Quest) and can look around and move inside games, virtual tours and training simulations.

๐Ÿฅฝ
Image: A person using a VR headset
Place your image here (filename: vr-headset.png)

23 Advantages & Limitations of VR

โœ… AdvantagesโŒ Limitations
Safe training (pilots, doctors)Headsets are expensive
Fun, immersive gamingCan cause dizziness and eye strain
Virtual tours and learningToo much use cuts off real life
Try things without real riskNeeds powerful hardware

24 Extended Reality (XR) & Types

Extended Reality (XR) is an umbrella term for all technologies that mix the real and virtual worlds. It includes VR, AR and MR.
๐Ÿฅฝ

VR (Virtual Reality)

A fully virtual world; the real world is hidden.

๐Ÿ“ฑ

AR (Augmented Reality)

Adds digital things on top of the real world (e.g. Pokรฉmon GO, Instagram filters).

๐Ÿ”ฎ

MR (Mixed Reality)

Real and virtual objects interact together in real time.

25 Applications of XR

FieldXR Application
EducationVirtual science labs and 3D models
GamingImmersive VR/AR games
MedicineSurgery training and therapy
ShoppingTry clothes/furniture virtually
TourismVirtual tours of places like Pashupatinath
EngineeringView 3D building designs before building

26 Cloud Computing

Cloud computing is the use of computer services: storage, software and processing: over the internet, instead of on your own computer.

The "cloud" simply means powerful computers (servers) located somewhere else that you use through the internet. When you save photos to Google Drive or watch YouTube, you are using the cloud.

Real example: Your photos on Google Photos are stored in the cloud, so you can open them from any phone or computer.

27 Advantages & Use of Cloud Computing

๐ŸŒ

Access Anywhere

Open your files from any device, anywhere.

๐Ÿ’ฐ

Saves Money

No need to buy expensive hardware.

๐Ÿ“ˆ

Scalable

Get more storage/power whenever needed.

๐Ÿ›ก๏ธ

Backup & Safe

Data is backed up automatically.

๐Ÿ‘ฅ

Collaboration

Many people work on one file together.

28 Types of Cloud Computing

Cloud is divided by who can use it and by what service it gives.

By deployment

TypeMeaning
Public CloudOpen to everyone (Google Drive, AWS)
Private CloudUsed by one organisation only
Hybrid CloudMix of public and private

By service

ServiceFull FormExample
IaaSInfrastructure as a ServiceAWS EC2, Google Compute
PaaSPlatform as a ServiceGoogle App Engine
SaaSSoftware as a ServiceGmail, Google Docs

29 Applications of Cloud Computing

ApplicationExample
Data StorageGoogle Drive, Dropbox, OneDrive
SaaS SoftwareGmail, Google Docs, Canva
BackupAutomatic photo and file backup
CollaborationEditing one doc with many people
Streaming ServicesYouTube, Netflix, Spotify
Game StreamingPlay games online without big hardware
Business ApplicationsOnline billing and accounting tools

30 E-commerce

E-commerce (electronic commerce) is the buying and selling of goods and services over the internet.

Instead of going to a physical shop, you order online and the product is delivered to your home. Payment can be online (eSewa, Khalti) or cash on delivery.

E-commerce technology

E-commerce works using: a website/app, a shopping cart, an online payment gateway (eSewa, Khalti, cards), a database of products, and a delivery system.

Real example: Daraz, SastoDeal and Foodmandu are popular e-commerce platforms in Nepal.

31 Traditional Commerce vs E-commerce

Traditional CommerceE-commerce
Buy from a physical shopBuy online from anywhere
Open only at certain hoursOpen 24/7
Limited to local areaReaches the whole world
Pay by cash in personOnline payment or cash on delivery
See and touch product firstSee only photos/description

32 Benefits & Limitations of E-commerce

โœ… BenefitsโŒ Limitations
Shop from home, anytimeCannot touch/try the product
More choices and easy price compareRisk of online fraud/scams
Reaches customers worldwideNeeds internet and digital skills
Lower cost (no physical shop)Delivery delays and return issues
Easy online paymentPrivacy and security concerns

33 Types of E-commerce

TypeMeaningExample
B2CBusiness to ConsumerDaraz selling to you
B2BBusiness to BusinessWholesaler selling to a shop
C2CConsumer to ConsumerSelling on Hamrobazar / Facebook
C2BConsumer to BusinessA freelancer selling skills to a company

34 E-commerce in Nepal

E-commerce is growing fast in Nepal, especially after more people started using smartphones and digital wallets.

PlatformWhat it sells
DarazGeneral online shopping (biggest in Nepal)
SastoDealElectronics and household goods
Foodmandu / BhojdealsFood delivery
HamrobazarBuy and sell used items (C2C)
eSewa / KhaltiDigital payment wallets
Challenges in Nepal: trust issues, slow delivery to villages, low digital literacy, and preference for cash on delivery.

35 E-Governance in Nepal

E-Governance is the use of information technology to provide government services to citizens electronically.

It makes government services faster, easier and more transparent: citizens can get services online instead of standing in long queues.

Examples in Nepal

  • Nagarik App: get government services on your phone.
  • Online passport and PAN application.
  • Online driving licence form and exam booking.
  • Electronic payment of taxes and bills.
  • Online results (SEE, NEB) and notices.
โœ… AdvantagesโŒ Limitations
Saves time, no long queuesNeeds internet and digital skills
Transparent, less corruptionRisk of hacking and data leaks
Services available 24/7Many rural areas lack internet
Reduces paperworkServer downtime causes problems

36 E-Education

E-Education (e-learning) is learning and teaching through electronic and internet technologies instead of only a physical classroom.

Especially after COVID-19, online classes became common in Nepal. Students learn through videos, apps and live classes.

ToolUse
Zoom / Google MeetLive online classes
YouTubeFree video lessons
Google ClassroomAssignments and notes
E-PustakalayaFree Nepali digital library
โœ… AdvantagesโŒ Limitations
Learn from anywhere, anytimeNeeds internet and a device
Cheaper and flexibleLess face-to-face interaction
Can re-watch recorded lessonsDistractions and screen fatigue

๐Ÿ“ Exercises & Quiz

Test what you've learned! Click Show Answer to check yourself.

๐Ÿ“š Short Terms / Glossary

AI
Machines that think and learn like humans.
Machine Learning
AI that learns from data by itself.
Generative AI
AI that creates new content like text and images.
Robotics
Designing machines that do tasks automatically.
IoT
Everyday devices connected to the internet.
VR
A fully computer-created 3D world.
AR
Digital objects added onto the real world.
XR
Umbrella term for VR, AR and MR.
Cloud Computing
Using computing services over the internet.
E-commerce
Buying and selling online.
E-Governance
Government services given electronically.
E-Education
Learning through internet technologies.

๐Ÿ”ค Full Forms (Click "Reveal" to check)

AI Artificial Intelligence
ML Machine Learning
IoT Internet of Things
VR Virtual Reality
AR Augmented Reality
MR Mixed Reality
XR Extended Reality
SaaS Software as a Service
IaaS Infrastructure as a Service
PaaS Platform as a Service
B2C Business to Consumer
B2B Business to Business

โœ… Choose the Correct Answer (MCQ)

1. Who first used the term "Artificial Intelligence"?
A John McCarthy
B Bill Gates
C Alan Turing
D Steve Jobs
2. Machine Learning is a part of:
A Artificial Intelligence
B Networking
C Cloud only
D E-commerce
3. Which ML type uses labelled data?
A Supervised
B Unsupervised
C Reinforcement
D Random
4. ChatGPT, Claude and Gemini are examples of:
A Operating systems
B Generative AI tools
C Web browsers
D Databases
5. A smartwatch counting your steps is an example of:
A VR
B IoT
C E-commerce
D Cloud only
6. Which technology adds digital objects onto the real world?
A VR
B AR
C IoT
D SaaS
7. Gmail and Google Docs are examples of which cloud service?
A IaaS
B PaaS
C SaaS
D HaaS
8. Daraz selling products to customers is which type of e-commerce?
A B2C
B B2B
C C2C
D C2B
9. The Nagarik App in Nepal is an example of:
A E-commerce
B E-Governance
C VR
D Robotics
10. Which free tool can simulate simple robotics tasks with blocks?
A Photoshop
B Scratch
C Excel
D Zoom

โœ๏ธ Short Answer Questions

1 What is Artificial Intelligence? Write any two applications.
Answer: AI is the branch of computer science that makes machines think, learn and make decisions like humans. Applications: voice assistants, self-driving cars, disease detection, recommendation systems (any two).
2 Write the three types of machine learning with one example each.
Answer: Supervised (labelled data) e.g. spam filter; Unsupervised (unlabelled data) e.g. customer grouping; Reinforcement (reward/punishment) e.g. self-driving cars or game AI.
3 Differentiate between AI and Machine Learning.
Answer: AI is the broad field of making smart machines that copy human intelligence. ML is a part of AI that focuses on learning from data. All ML is AI, but not all AI is ML.
4 What is Generative AI? Name any three generative AI tools.
Answer: Generative AI is AI that creates new content such as text, images and code. Tools: ChatGPT, Claude, Gemini, Microsoft Copilot, DeepSeek (any three).
5 What is IoT? Write any two applications.
Answer: IoT is a network of everyday physical devices connected to the internet that share data. Applications: smart homes, smartwatches/health bands, smart farming, GPS tracking (any two).
6 Differentiate between VR and AR.
Answer: VR creates a fully virtual world and hides the real world (using a headset). AR adds digital objects on top of the real world (e.g. Instagram filters, Pokรฉmon GO).
7 What is cloud computing? Write any two advantages.
Answer: Cloud computing is using computing services like storage and software over the internet instead of your own computer. Advantages: access anywhere, saves money, automatic backup, easy collaboration (any two).
8 What is e-governance? Write any two examples in Nepal.
Answer: E-governance is providing government services to citizens electronically using IT. Examples in Nepal: Nagarik App, online passport/PAN, online driving licence, online SEE results (any two).

๐Ÿ› ๏ธ Practical Ideas (Try it yourself)

  1. Try a generative AI tool: ask ChatGPT or Gemini to explain a topic and check the answer.
  2. Build a Scratch robot that moves and bounces off the edges.
  3. Spot the AI: list 5 AI features you use on your phone each day.
  4. Cloud in action: upload a file to Google Drive and open it on another device.
  5. Explore e-governance: visit the Nagarik App or a government website and list services offered.
  6. Compare prices of one product on Daraz vs a local shop, and note the pros and cons.