Class 9 AI Practical Programs, Viva Questions & Lab File Notes
Class 9 AI Practical Programs, Viva Questions & Lab File Notes
Practical learning is an important part of Artificial Intelligence education. It helps students understand how AI concepts are applied to solve real-world problems.
In Class 9 Artificial Intelligence (Code 417), practical activities focus on:
- Understanding AI applications
- Following the AI Project Cycle
- Working with data
- Learning basic Python programming
- Developing problem-solving skills
This article provides practical guidance, sample Python programs, and important viva questions for students.
Importance of AI Practical Work
Practical activities help students:
- Apply theoretical concepts
- Improve logical thinking
- Learn programming basics
- Understand AI project development
- Develop creativity and innovation
AI Project Practical Activities
Activity 1: Identify an AI-Based Problem
Objective:
To understand how AI can solve real-life problems.
Steps:
- Observe problems around you.
- Select a problem where AI can help.
- Identify users affected by the problem.
- Think about possible AI solutions.
Example:
Problem: Excess electricity usage in school.
AI Solution: Smart energy monitoring system.
Activity 2: Create a 4W Problem Canvas
Problem:
Students waste time while planning studies.
| Question | Answer |
|---|---|
| Who? | Students |
| What? | Difficulty managing study time |
| Where? | Home and school |
| Why? | Better time management is needed |
Activity 3: Data Collection
Objective:
To collect information required for an AI solution.
Example:
For a study planner AI:
Data collected:
- Study hours
- Subjects
- Test dates
- Learning preferences
Activity 4: Data Visualization
Students can represent collected data using:
- Bar charts
- Line graphs
- Tables
- Pie charts
Example:
A graph showing daily study hours.
Python Practical Programs Class 9
Program 1: Display a Message
Objective:
To learn the print function.
print("Welcome to Artificial Intelligence")
Output:
Welcome to Artificial Intelligence
Program 2: Add Two Numbers
Objective:
To understand variables and arithmetic operations.
a = 10
b = 20
sum = a + b
print("Sum =", sum)
Output:
Sum = 30
Program 3: Take Input from User
Objective:
To learn input function.
name = input("Enter your name: ")
print("Hello", name)
Program 4: Find Area of Rectangle
length = 10
breadth = 5
area = length * breadth
print("Area =", area)
Output:
Area = 50
Program 5: Check Even or Odd Number
number = int(input("Enter a number: "))
if number % 2 == 0:
print("Even Number")
else:
print("Odd Number")
Program 6: Check Pass or Fail
marks = int(input("Enter marks: "))
if marks >= 33:
print("Pass")
else:
print("Fail")
Program 7: Find Largest Number
a = 15
b = 25
if a > b:
print("a is greater")
else:
print("b is greater")
Program 8: Print Numbers Using Loop
for i in range(1,6):
print(i)
Output:
1
2
3
4
5
Program 9: Calculate Sum Using Loop
total = 0
for i in range(1,6):
total = total + i
print(total)
Output:
15
Program 10: Simple AI Idea Using Python Logic
Example:
A basic recommendation system:
interest = input("Enter your interest: ")
if interest == "AI":
print("Recommended: Learn Python")
else:
print("Explore more technology topics")
AI Practical File Format
Students can organize their practical file as follows:
Cover Page
Include:
- Student name
- Class and section
- Subject name
- Academic year
- School name
Index Page
Mention:
- Practical number
- Title
- Date
- Page number
Practical Format
Each activity should contain:
1. Title
Name of activity.
2. Objective
Purpose of activity.
3. Requirements
Tools or resources needed.
4. Procedure
Steps followed.
5. Result
Final observation.
6. Conclusion
Learning outcome.
AI Viva Questions and Answers
Basic AI Questions
Q1. What is Artificial Intelligence?
AI is a technology that enables machines to perform tasks that usually require human intelligence.
Q2. What are AI domains?
The three major AI domains are:
- Data
- Computer Vision
- Natural Language Processing
Q3. What is the AI Project Cycle?
It is a structured process used to develop AI solutions.
The stages are:
- Problem Scoping
- Data Acquisition
- Data Exploration
- Modelling
- Evaluation
Q4. What is data?
Data is a collection of facts or information used for analysis.
Q5. Why is data important in AI?
AI systems learn patterns from data to make predictions and decisions.
Python Viva Questions
Q6. What is Python?
Python is a high-level programming language used in AI, data science, and software development.
Q7. What is a variable?
A variable is a name used to store information in a program.
Q8. Name four Python data types.
- Integer
- Float
- String
- Boolean
Q9. Which function is used to display output?
The print() function is used to display output.
Q10. Which function is used to take input?
The input() function is used to take user input.
Q11. What is an if statement?
An if statement is used to make decisions based on conditions.
Q12. What is a loop?
A loop repeats a set of instructions multiple times.
AI Ethics Viva Questions
Q13. What is AI Ethics?
AI Ethics refers to responsible principles for developing and using AI.
Q14. What is AI bias?
AI bias occurs when AI produces unfair results due to biased data or design.
Q15. Why is privacy important in AI?
Privacy protects personal information from misuse.
Practical Examination Tips
Students should:
- Understand programs instead of memorizing them.
- Practice writing Python code regularly.
- Learn the purpose of each AI project stage.
- Keep practical files organized.
- Be prepared to explain the logic behind programs.
- Revise important definitions before viva.
Quick Revision Points
- Practical work connects AI theory with real applications.
- Python is used for basic programming practice.
- AI projects follow a structured cycle.
- Data collection and analysis are important AI skills.
- Viva preparation requires understanding concepts.
Summary
Class 9 AI practical activities help students develop technical and problem-solving abilities. Through AI projects and Python programs, students learn how technology can be used to solve real-world problems. Proper practical file preparation and concept understanding help students perform confidently in practical examinations.