1. Practical File
For
CBSE Examination 2022-23
(Artificial Intelligence)
Submitted To Submitted By
Mr. Vishal Chourasia Rachit Sharma
TGT (Computer) Class 9th
A
3. Activity 1
Write five more uses of AI beside mentioned in the book . Let Your imagination go far
and write wherever you think it can be integrated in the future
1. Travel & Navigation
We might have used navigation services or others to find our way through at some point
in our lives. For many, it is part of their daily lives. Whether using maps for navigation or
using a taxi-hire service like Uber, you are using AI-enabled services to travel from one
place to another. Google, Apple, and many other navigation-related service providers
utilize AI to interpret the scores of information being received and provide you with
information that helps in navigation and get live traffic updates, allowing you to commute
more efficiently
4. 2. Smartphone Apps
Imagining our lives without mobile phones does sound to be a challenge. Different
applications on our mobiles have become an integral part of our daily lives. Many of these
applications are based on AI. Built-in smart assistants on our phones like Siri, Alexa, and
Google Assistant are the more obvious examples of AI that most of us are aware of and
use.
More mobile technology platforms are developing solutions that use AI for managing
different aspects of the device like battery management, event suggestions, etc. One of the
standard features, like using a portrait mode on the phone, also uses AI.
3. Social Media Feeds
Check out applications on your smartphones to feel the presence of AI within various
social media apps. Whether it is your Facebook, Twitter, Instagram, or other platforms,
what you see and do on these applications is, to a large extent, influenced by machine
learning. AI controls the feeds that you get to see while browsing through these platforms
or the notifications you receive It takes into consideration your tastes & preferences,
your history, and imprint on SM, etc., to curate the information to transmit feeds that
you find more relevant and are inclined to see
5. 4. Smart Cars
not only are companies like Tesla at the forefront of using automation in vehicles, but
many of the car manufacturers are also looking at integrating AI with Automobiles to
provide seamless services of various technologies that you use.
Information is being shared and communicated between the cars to better maneuver
amidst traffic. Inputs around traffic, real-time updates on roadblocks, etc., are immediately
transmitted to alert the other vehicles on the grid enabling re-routing.
5. Music and Video Streaming
While YouTube recommendations and suggested playlists on music apps have been
around for some time, one can see these recommendations becoming more relevant to
your likes as time goes on. This is AI at work, which tracks the videos and the music you
listen to most and come up with suggestions relating to the same. Various variants like
artists, genre, etc., are factored in to provide recommendations on these streaming
services. Many of these recommendations are those which you are unlikely to know,
helping you watch or listen to newer content
6. Activity 2
Write one letter or email to your future what you want see and the future or what you
want remind to your future . Just imagine about the text next 20 years and describe .
a. Smart home you are living in
Dear future
I want to see in future you can control a thermostat from your bed ‘ the air pot
anywhere your smartphone has a signal . Led lights to let your program colour and
brightness right from your smartphone . Door locks and garage doors can open
automatically as your smartphone approaches and etc many more thing
b Smart city where you are residing
Dear future
Smart Traffic management system (STMS) is a one of the important feature
for smart city. Currently traffic management and alert systems are not fulling needs of
STMS. It is more expensive and highly configurable to provide better service for traffic
management. This paper proposes a low cost Real-Time smart traffic Management System
to provide better service by deploying traffic indicators to update the traffic details
instantly. Low cost vehicle detecting sensors are embed in the middle of road for every
500 meters or 1000 meters. Internet of Things (IoT) are being used to acquire traffic data
quickly and send it for processing. The Real time streaming data is sent for Big Data
analytics. There are several analytical scriptures to analyze the traffic density and provide
solution through predictive analytics. A mobile application is developed as user interface
to explore the density of traffic at various places and provides an alternative way for
managing the traffic. Thanks to digitalization, smart parking systems are starting to
offer solutions for urban mobility. This is a system which, thanks to the Internet of
Things and sensor technology, allows real-time data to be obtained about parking
availability, both outside and inside, and regarding traffic and road conditions.
C Smart school where your children are studying
7. Dear future
This is perhaps the biggest benefit of a smart classroom. This is
because such a classroom uses many gadgets that have internet connection such
as mobile, laptops, and tabs. Thanks to all these devices it is easier for students to
gain access to information on the internet. Now, students have all the information
that they need about any kind of topic they want to know about. It is basically at their
fingertips. In fact, this is beneficial for the teachers as well. This way, they are able
to learn outside the syllabus as well and this only enriches them further. Taking
notes on a digital medium
One of the biggest features of a smart school is that students can take their notes
by using digital devices such as pens and tabs. This way they are able to save a
significant amount of their learning time as well. No longer do they need to carry all
those heavy notebooks and textbooks to class. Technology such as Google Docs
has also made it a lot easier for the teachers to come up with documents and
presentations. This can add major value to their students’ education..A better
understanding of topics through digital tools
If students learn to topics in a better way, chances are that a smart class would be a
much better bet for the same. The learning sessions at these classes normally use
many visual aids. This includes powerpoint presentations, word documents, audio
sessions, and video screenings, to name a few. They play a major role in conveying
the lessons in a way that is a lot more understandable. At times, a simple picture is
a good enough substitute for thousands of words.
8. Activity 3
You have been appointed ambassador of a country by united nation and your job is to achieve
social development goals ( SdGs) pick any one sdg and explain the steps in numbering format
which you will take with the help of Ai to achieve that sDG
SDG7: Ensure access to affordable, reliable, sustainable and modern energy
Energy supply accounts for around 60% of global greenhouse gas emissions. While some 17% of
energy consumption is now met with renewables, the Intergovernmental Panel on Climate Change
warns this needs to hit around 85% by 2050 to avoid the worst impacts of climate change.
Some 21% of companies reporting to CDP now have targets to boost the production or
consumption of renewable energy and through programmes such as RE100 we support
businesses to switch to renewable power. Meanwhile, through CDP’s disclosure process,
companies and investors can track global progress towards a clean energy future.
See more on CDP’s work on renewable energy
9. Activity 4
What is python? what its feature
Python is an interpreted, object-oriented, high-level programming language with dynamic
semantics developed by Guido van Rossum. It was originally released in 1991.
Easy to Code. Python is a very high-level programming language, yet it is effortless to
learn. ...
Easy to Read. ...
Free and Open-Source. ...
Robust Standard Library. ...
Interpreted. ...
Portable. ...
Object-Oriented and Procedure-Oriented. ...
Extensible.
10. Activity 5
What is python libraries? Name any two libraries of python which make it suitable for Ai and machine
learning also explain them
A Python library is a reusable chunk of code that you may want to include in your programs/
projects. Compared to languages like C++ or C, a Python libraries do not pertain to any specific
context in Python. Here, a 'library' loosely describes a collection of core modules.
1. Pandas
Pandas is a BSD (Berkeley Software Distribution) licensed open source library. This popular
library is widely used in the field of data science. They are primarily used for data analysis,
manipulation, cleaning, etc. Pandas allow for simple data modeling and data analysis
operations without the need to switch to another language such as R. Usually, Python
libraries use the following types of data:
Data in a dataset.
Time series containing both ordered and unordered data.
Rows and columns of matrix data are labelled.
Unlabeled information
Any other type of statistical information
Pandas can do a wide range of tasks, including:
The data frame can be sliced using Pandas.
Data frame joining and merging can be done using Pandas.
Columns from two data frames can be concatenated using Pandas.
In a data frame, index values can be changed using Pandas.
In a column, the headers can be changed using Pandas.
Data conversion into various forms can also be done using Pandas and many more.
2. NumPy
NumPy is one of the most widely used open-source Python libraries, focusing on
scientific computation. It features built-in mathematical functions for quick computation
and supports big matrices and multidimensional data. “Numerical Python” is defined by
the term “NumPy.” It can be used in linear algebra, as a multi-dimensional container for
generic data, and as a random number generator, among other things. Some of the
important functions in NumPy are arcsin(), arccos(), tan(), radians(), etc. NumPy Array
is a Python object which defines an N-dimensional array with rows and columns. In
Python, NumPy Array is preferred over lists because it takes up less memory and is
faster and more convenient to use
11. Activity 6
Write python program to print about yourself using print () function
#project – 1 write 5 lines about your self
a = input ( ‘’ write your name : ‘’)
b = int(input(‘’Write your class : ‘’))
c = int(input(‘’write your roll no . : ‘’)
d = input (‘’ write your father name :’’)
e = input ( ‘’write your hobbies:’’)
print(‘’hello world ‘’)
print ( ‘’ 1 . my name is ’’ , a)
print(‘’2. I ‘m studying in class ‘’ , c)
print (‘’4. My roll no . is ‘’,c)
print (‘’5. My father name is ‘’, d)
print ( ‘’6. My hobbies are ‘’,e)
Output
Write your name : naitik sahu
Write your class : 9
Write your roll no .:
Write your father name : satish sahu
Write your hobbies : reading
Hello world
1. My name is naitik sahu
2. I’m studying in class : 9
4. My roll no . is 30
5. My father name is satish sahu
6. My hobbies are reading
12. Activity 7
Enter two number and swap them without taking the temporary or third variable
1. x = int(input("Enter the value of x?"))
2. y = int(input("Enter the value of y?"))
3. print("before swapping numbers: %d %dn" %(x,y))
4. #swapping#
5. x = x + y
6. y = x - y
7. x = x - y
8. print("After swapping: %d %dn"%(x,y))
Output:
Enter the value of x?
12
Enter the value of y?
24
before swapping numbers: 12 24
After swapping: 24 12
13. Activity 8
Write a program to calculate the area and circumference of circle
# Finding area and circumference
# importing math module for PI
import math
# Reading temperature in Celsius
radius = float(input('Enter radius of circle: '))
# Calculating area and circumference
area = math.pi * radius ** 2
circumference = 2 * math.pi * radius
# Displaying output
print('Area = %0.4f.' % (area))
print('Circumference = %0.4f.' % (circumference))
Python Area & Circumference of Circle Output
Enter radius of circle: 5
Area = 78.5398.
Circumference = 31.4159.
14. Activity 9
Create a list of first ten natural number append the list with next five Hundred
number print the list sort the list in desconding order and print the list
Here's a program in Python that creates a list of the first ten natural numbers ,
appends the list with the next five natural numbers , sorts the list in
descending order , and prints the results :
Numbers list ( range ( 1 , 11 ) )
Numbers. extend ( range ( 11 , 16 ) )
Print ( " Original list : " , numbers )
Numbers.sort ( reverse = True )
Print ( " Sorted list in descending order : " , numbers )
In this program , we use the range function to generate a sequence of the first
ten natural numbers ( 1 to 10 ) and store it in the numbers list . Then , we use
the extend method to append the next five natural numbers ( 11 to 15 ) to the
numbers list . Next , we use the print function to display the original list of
numbers . Finally , we use the sort method to sort the numbers list in
descending order , and display the sorted list using the print function .
15. Activity 10
Create a list [ " orange " , " Mango " , " grapes " , " cherry " ] . Remove the
element Mango and point the list .
Fruits = [ " orange " , " Mango " , " grapes " , " cherry " ]
Print ( " Original list : " , fruits )
Fruits.remove ( " Mango " )
Print ( " List after removing Mango : " , fruits )
In this program , we first create a list of fruits called fruits and store it with the
values " orange " , " Mango " , " grapes " , and " cherry " . Then , we use the
remove method to remove the element " Mango " from the fruits list . Finally ,
we use the print function to display the original list and the list after removing
the element " Mango " .