0% found this document useful (0 votes)
14 views19 pages

AI file.pdf

Uploaded by

jafaf82364
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views19 pages

AI file.pdf

Uploaded by

jafaf82364
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

G.L.

BAJAJ
INSTITUTE OF TECHNOLOGY & MANAGEMENT
GREATER NOIDA
Dept. of Artificial Intelligence and Machine Learning

Artificial Intelligence Lab

(BCAI-501)
ACADEMIC SESSION 2024-25
COURSE : B.TECH
SEM: V

Submitted To: ANISH THAKUR Submitted By : Shresth Gupta


Roll No : 2201921530165
List of Experiments

S no. Experiments Date Faculty Sign

1 Write a python program to implement Breadth


First Search Traversal?

2 Write a python program to implement Water Jug


Problem?

3 Write a python program to remove punctuations


from the given string?

4 Write a python program to sort the sentence in


alphabetical order?

5 Write a program to implement Hangman game


using python.

Write a program to implement Tic-Tac-Toe game


6 using python.
Write a python program to remove stop words for a
given passage from a text file using NLTK?

Write a python program to implement stemming for a


8 given sentence using NLTK?

Write a Program to Implement Depth First


9 Search using Python.

10 Write a python program to for Text Classification


for the give sentence using NLTK
Experiment No: 1
OBJECTIVE: Write a Program to Implement Breadth First Search using Python.

Code:

Output:
Experiment No: 2
OBJECTIVE: Write a Program to Implement Water-Jug problem using Python.

Code:
Output:
Experiment No: 3
OBJECTIVE: . Write a python program to remove punctuations from the given string.

Code:

Output:
Experiment No: 4
OBJECTIVE: Write a python program to sort the sentence in alphabetical order.

Code:

Output:
Experiment No: 5
OBJECTIVE: Write a program to implement Hangman game using python.

Description:
Hangman is a classic word-guessing game. The user should guess the word correctly
by entering alphabets of the user choice. The Program will get input as single alphabet
from the user and it will matchmaking with the alphabets in the original word. If the
user given alphabet matches with the alphabet from the original word then user must
guess the remaining alphabets. Once the user successfully found the word he will be
declared as winner otherwise user lose the game.

Code:
Output:
Experiment No: 6

OBJECTIVE: Write a Program to Implement Tic-Tac-Toe game using Python.

Code:
Output:
Experiment No: 7
OBJECTIVE: Write a python program to remove stop words for a given passage from
a text file using NLTK.

Code:

Output:
Experiment No: 8
OBJECTIVE: Write a python program to implement stemming for a given
sentence using NLTK.

Code:

Output:
Experiment No: 9
OBJECTIVE: Write a Program to Implement Depth First Search
using Python.
Code:

Output:
Experiment No: 10
OBJECTIVE: Write a python program to for Text Classification for
the give sentence using NLTK
Code:
Output:

You might also like