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.
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.
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:
| Field | Use of AI |
|---|---|
| Healthcare | Detecting diseases from X-rays and reports |
| Education | Personalised learning apps and AI tutors |
| Transport | Self-driving cars and traffic prediction |
| Banking | Fraud detection and customer chatbots |
| Entertainment | Netflix/YouTube recommendations |
| Smartphones | Face unlock, voice assistants, smart cameras |
| Agriculture | Detecting crop diseases from photos |
4 Advantages & Limitations of AI
| โ Advantages | โ Limitations |
|---|---|
| Works 24/7 without getting tired | Very expensive to build and maintain |
| Fast and accurate, fewer errors | Cannot truly feel emotions or be creative like humans |
| Does dangerous and boring jobs | Can reduce human jobs (unemployment) |
| Helps in big decisions using data | Depends fully on data; wrong data = wrong result |
| Available everywhere, anytime | Can be misused (deepfakes, privacy loss) |
5 Machine Learning
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.
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.
| Type | Data Used | Real-life Example |
|---|---|---|
| Supervised | Labelled (answers given) | Email spam filter, price prediction |
| Unsupervised | Unlabelled (no answers) | Customer grouping, market analysis |
| Reinforcement | Reward & punishment | Self-driving cars, game-playing AI |
7 How Machine Learning Works
Machine learning follows four main steps:
Collect Data
Gather lots of examples (photos, numbers, text).
Train the Model
Feed the data so the computer learns the pattern.
Create the Model
The learned result is saved as a "model".
Make Predictions
Use the model on new data to predict answers.
8 Applications of Machine Learning
Machine learning is used in many everyday products:
| Application | What it does |
|---|---|
| Spam Detection | Moves junk emails to the Spam folder |
| Speech Recognition | Converts your voice to text (Google voice typing) |
| Self-Driving Cars | Cars that drive themselves (Tesla) |
| Language Translation | Google Translate between languages |
| Chatbots | Auto-reply customer support |
| Virtual Assistants | Siri, Alexa, Google Assistant |
| Fraud Detection | Banks spot unusual transactions |
| Social Media Feeds | Facebook/TikTok decide what you see |
| Healthcare Diagnosis | Detect diseases from medical images |
| Personalised Learning | Apps that adapt to each student |
| Predictive Maintenance | Predict when a machine will break |
| Recommendation System | Daraz/Netflix "you may also like" |
| Cybersecurity | Detect 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 machines | A part (subset) of AI |
| Aims to copy human intelligence | Aims to learn from data |
| May or may not learn from data | Always learns from data |
| Example: a full robot, Siri | Example: spam filter, recommendations |
10 AI in Robotics
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.
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:
- Open scratch.mit.edu and click "Create".
- Choose a robot sprite from the sprite library.
- Drag the
when green flag clickedblock. - Add a
foreverloop block. - Inside it, put
move 10 steps. - Add
if on edge, bounceso it turns back at the wall. - Click the green flag: the robot now moves and avoids edges automatically!
if key pressed block so you can control the robot with arrow keys, like a remote-control robot.12 Generative AI
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.
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:
| App | AI Feature |
|---|---|
| Google Docs | Helps write, fix grammar and summarise text |
| Gmail / Email | Smart Reply, auto-complete, spam filtering |
| Google Search | AI answers at the top of results |
| Canva | AI image and design generation |
| MS Office | Copilot writes and analyses for you |
15 Ethics in AI
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.
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 security | AI threatens security |
|---|---|
| Detects viruses and attacks fast | Creates realistic fake voices/videos |
| Spots fraud in banking | Automates phishing scams |
| Monitors networks 24/7 | Can guess weak passwords |
18 Internet of Things (IoT)
In IoT, ordinary objects: lights, fans, watches, fridges: get sensors and internet so they become "smart" and can be controlled remotely.
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
| Area | IoT Application |
|---|---|
| Smart Home | Smart lights, fans, CCTV, door locks |
| Health | Smartwatches, fitness bands, health monitors |
| Agriculture | Soil and weather sensors for smart farming |
| Transport | GPS tracking, smart traffic lights |
| Industry | Machine sensors and automation |
| City | Smart parking and street lights |
22 Virtual Reality (VR)
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.
23 Advantages & Limitations of VR
| โ Advantages | โ Limitations |
|---|---|
| Safe training (pilots, doctors) | Headsets are expensive |
| Fun, immersive gaming | Can cause dizziness and eye strain |
| Virtual tours and learning | Too much use cuts off real life |
| Try things without real risk | Needs powerful hardware |
24 Extended Reality (XR) & Types
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
| Field | XR Application |
|---|---|
| Education | Virtual science labs and 3D models |
| Gaming | Immersive VR/AR games |
| Medicine | Surgery training and therapy |
| Shopping | Try clothes/furniture virtually |
| Tourism | Virtual tours of places like Pashupatinath |
| Engineering | View 3D building designs before building |
26 Cloud Computing
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.
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
| Type | Meaning |
|---|---|
| Public Cloud | Open to everyone (Google Drive, AWS) |
| Private Cloud | Used by one organisation only |
| Hybrid Cloud | Mix of public and private |
By service
| Service | Full Form | Example |
|---|---|---|
| IaaS | Infrastructure as a Service | AWS EC2, Google Compute |
| PaaS | Platform as a Service | Google App Engine |
| SaaS | Software as a Service | Gmail, Google Docs |
29 Applications of Cloud Computing
| Application | Example |
|---|---|
| Data Storage | Google Drive, Dropbox, OneDrive |
| SaaS Software | Gmail, Google Docs, Canva |
| Backup | Automatic photo and file backup |
| Collaboration | Editing one doc with many people |
| Streaming Services | YouTube, Netflix, Spotify |
| Game Streaming | Play games online without big hardware |
| Business Applications | Online billing and accounting tools |
30 E-commerce
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.
31 Traditional Commerce vs E-commerce
| Traditional Commerce | E-commerce |
|---|---|
| Buy from a physical shop | Buy online from anywhere |
| Open only at certain hours | Open 24/7 |
| Limited to local area | Reaches the whole world |
| Pay by cash in person | Online payment or cash on delivery |
| See and touch product first | See only photos/description |
32 Benefits & Limitations of E-commerce
| โ Benefits | โ Limitations |
|---|---|
| Shop from home, anytime | Cannot touch/try the product |
| More choices and easy price compare | Risk of online fraud/scams |
| Reaches customers worldwide | Needs internet and digital skills |
| Lower cost (no physical shop) | Delivery delays and return issues |
| Easy online payment | Privacy and security concerns |
33 Types of E-commerce
| Type | Meaning | Example |
|---|---|---|
| B2C | Business to Consumer | Daraz selling to you |
| B2B | Business to Business | Wholesaler selling to a shop |
| C2C | Consumer to Consumer | Selling on Hamrobazar / Facebook |
| C2B | Consumer to Business | A 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.
| Platform | What it sells |
|---|---|
| Daraz | General online shopping (biggest in Nepal) |
| SastoDeal | Electronics and household goods |
| Foodmandu / Bhojdeals | Food delivery |
| Hamrobazar | Buy and sell used items (C2C) |
| eSewa / Khalti | Digital payment wallets |
35 E-Governance in Nepal
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 queues | Needs internet and digital skills |
| Transparent, less corruption | Risk of hacking and data leaks |
| Services available 24/7 | Many rural areas lack internet |
| Reduces paperwork | Server downtime causes problems |
36 E-Education
Especially after COVID-19, online classes became common in Nepal. Students learn through videos, apps and live classes.
| Tool | Use |
|---|---|
| Zoom / Google Meet | Live online classes |
| YouTube | Free video lessons |
| Google Classroom | Assignments and notes |
| E-Pustakalaya | Free Nepali digital library |
| โ Advantages | โ Limitations |
|---|---|
| Learn from anywhere, anytime | Needs internet and a device |
| Cheaper and flexible | Less face-to-face interaction |
| Can re-watch recorded lessons | Distractions and screen fatigue |
๐ Exercises & Quiz
Test what you've learned! Click Show Answer to check yourself.
๐ Short Terms / Glossary
๐ค Full Forms (Click "Reveal" to check)
โ Choose the Correct Answer (MCQ)
โ๏ธ Short Answer Questions
๐ ๏ธ Practical Ideas (Try it yourself)
- Try a generative AI tool: ask ChatGPT or Gemini to explain a topic and check the answer.
- Build a Scratch robot that moves and bounces off the edges.
- Spot the AI: list 5 AI features you use on your phone each day.
- Cloud in action: upload a file to Google Drive and open it on another device.
- Explore e-governance: visit the Nagarik App or a government website and list services offered.
- Compare prices of one product on Daraz vs a local shop, and note the pros and cons.