R.K Pub - Ai Lab Manual 10
R.K Pub - Ai Lab Manual 10
2 ARTIFICIAL INTELLIGENCE-X
✦ There are three experiments under this category namely Teachable Machine, What Neural
Network see and Visualizing High-Dimensional Space. Click on the Launch Experiment button
displayed with each experiment.
AI Working. Try all the three experiments to get a feel of AI and Machine Learning.
4. AI ACTIVITY. FACEAPP.
4 ARTIFICIAL INTELLIGENCE-X
1. AI ACTIVITY. PROBLEM SCOPING.
6 ARTIFICIAL INTELLIGENCE-X
5. Select the data set as MS-Excel for connecting the data set to tableau.
6. Open the Excel file, the data set will be uploaded into tableau.
7. Now click on the Latest directory and select “Field names are in the first row” option.
8. Click on the sheet1 tab at the bottom left of the tableau screen.
9. The element listed on the left side of the screen has dimensions and measures.
10. Choose any two elements that will be used for the data visualisation.
11. After selecting the elements click on the visualisation option on the right side of the screen.
12. Chart type can be selected according to the data you have for the visualisation.
4. AI ACTIVITY. SDGS ACTIVITY.
1. There are tokens for each player among whom one has to throw a dice and he will move on the
board according to the number appeared just like Ludo game.
2. If the ladder comes, then the token will climb the ladder and if the waterslide comes, the
player has to move to the bottom of the slide.
3. If the token reaches to any of the SDGs, a question will be asked from question sheets (MCQs).
4. If the player gives the correct answer, he will get another chance to throw the dice.
5. The token that reaches 2030 first will be the winner.
8 ARTIFICIAL INTELLIGENCE-X
1. CODE COMBAT
CodeCombat is a web portal where you can learn programming concepts and language too. On
this portal you can learn basic concepts of programming languages like Python, JavaScript, HTML,
XML etc. by typing code and looking at how the game characters perform on screen as per the code
given by you. It’s a fun and easy way of learning the fundamentals of programming.
Steps to play CodeCombat
1. Open the web browser and type the URL https://codecombat.com in the address bar of the
browser.
2. The home page of the website opens up.
3. Click on I’m a Student button to begin.
4. A pop up window will appear as shown below. In this window click on Play Now button.
5. The first level of the game is Kithgard Dungeon. In all, there are 41 levels in the game. For
playing the game click on Play button in green color.
Its an app to learn to build your own game. Using this app you can learn to code, do programming,
coding and play coding games.
3. LEARN PYTHON PROGRAMIZ
This is an app you can download on your android mobile and use it for learning Python in an easy
way. Learn Python Programiz will let you learn Python programming through Tutorials, interactive
code editor, challenges and more.
10 ARTIFICIAL INTELLIGENCE-X
4. W3SCHOOLS.COM
It’s a website which provides tutorials, exercises, and code games for learning various
programming languages like Python, HTML,CSS, JavaScript and many more.
5. Magic-8ball is an AI based web portal where the user types a question and shakes
the magic ball to get an answer. It basically takes an average of 72 outcomes and responds
with the best suitable answer. If you again shake the magic ball it will give the user a new
answer.
12 ARTIFICIAL INTELLIGENCE-X
3. Click on the SHAKE 8 BALL button, the ball will shake and answer will be displayed in the
center of the ball.
6. Write a program to declare two numeric variables and display their sum.
7. Write a program to declare two string variables, store your name in first variable
and surname in the second variable and display them together with space between them.
8. Write a program to accept your name and display it as “Hello” + your name.
9. Write a program to calculate the remainder by accepting the dividend and divisor
as input from the user.
12. Write a program to accept and add an element to the existing list.
15. Write a program to accept two numbers and calculate their exponent.
14 ARTIFICIAL INTELLIGENCE-X
16. Python Program to Print all Prime Numbers in an Interval.
Output.
17. Write a Python Program to check whether a Person is eligible to Vote or not
Output.
Output.
Output.
16 ARTIFICIAL INTELLIGENCE-X
20. Write a Python Program to print inverted half pyramid using * and numbers
Output.
18 ARTIFICIAL INTELLIGENCE-X
AI working. It is a very basic program which calculates all the possible outcomes and then
places the symbol on the grid. You will notice that it is very difficult to beat a computer in this game.
3. AI ACTIVITY. TEACHABLE SNAKE.
Output.
20 ARTIFICIAL INTELLIGENCE-X
Output.
22 ARTIFICIAL INTELLIGENCE-X
3. AI ACTIVITY. SHADOW ART.
URL. Https://shadowart.withgoogle.com/?Ng=en-us
About. Shadow Art is a web browser-based activity that lets you experience AI and shadow
puppetry in a playful way. shadowart helps in experiencing shadow puppetry by bringingit online,
what used to be an offline experience.
Method
1. Open shadowart in a web browser using the URL given.
2. Use your hands to form one of twelve zodiac animals from the lunar cycle in front of your
laptop or phone camera.
3. Try to match your hands to the diagram on the screen. The “shadow” of your hands on the
screen then transform into a shadow puppet animal.
4. It’s an interactive activity where you have twenty seconds to form each animal. The goal is to
go through the full lunar cycle as fast as possible.
4. AI ACTIVITY. IMAGE BASED SEARCH.
24 ARTIFICIAL INTELLIGENCE-X
1. AI ACTIVITY. LEARN USING VIDEOS.
3. Now choose a topic from the list of videos available and play.
4. Here, we have chosen to learn writing Japanese.
5. Watch the video, draw the word on the canvas given on the right side and click on Submit
button.
6. If the word you have written matches with video it will appreciate your effort.