0% found this document useful (0 votes)
24 views6 pages

Lab Report Artificial

The document summarizes a lab report for an Artificial Intelligence lab at Green University of Bangladesh. The lab experiments included writing Python programs to extract elements from tuples and count even and odd numbers in lists. It also covered using Matplotlib functions like subplot, bar, hist, and pie to plot multiple graphs in one figure and create bar graphs, histograms and pie charts. The report discusses the objectives, implementation, output, analysis and provides a summary of what was learned from the lab experiments.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views6 pages

Lab Report Artificial

The document summarizes a lab report for an Artificial Intelligence lab at Green University of Bangladesh. The lab experiments included writing Python programs to extract elements from tuples and count even and odd numbers in lists. It also covered using Matplotlib functions like subplot, bar, hist, and pie to plot multiple graphs in one figure and create bar graphs, histograms and pie charts. The report discusses the objectives, implementation, output, analysis and provides a summary of what was learned from the lab experiments.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Green University of Bangladesh

Department of Computer Science and Engineering (CSE)


Faculty of Sciences and Engineering
Semester: (Fall, Year:2023), B.Sc. in CSE (EVE)
LAB REPORT NO :-1
Course Title: Artificial Intelligence Lab
Course Code: CSE-316 Section:212EB
Lab Experiment Name:-
 Write a Python program to get the 4th element from the beginning and the 4th element
from the last of a tuple.
 Write a Python Program to Count Even and Odd Numbers in a list.
 With the subplot() function you can draw multiple plots in one figure.
 With Pyplot, you can use the bar() function to draw bar graphs.
 In Matplotlib, we use the hist() function to create histograms.
 With Pyplot, you can use the pie() function to draw pie charts.

Student Details

Name ID
1. Md Mahmudul Hasan 201015083

Lab Date : 06-10-2023


Submission Date : 13-10-2023
Course Teacher’s Name : Tanoy Debnath

[For Teachers use only: Don’t Write Anything inside this box]

Lab Report Status


Marks: ………………………………… Signature:.....................
Comments:.............................................. Date:..............................
1. TITLE OF THE LAB EXPERIMENT:
 Write a Python program to get the 4th element from the beginning and the 4th element
from the last of a tuple.
 Write a Python Program to Count Even and Odd Numbers in a list.
 With the subplot() function you can draw multiple plots in one figure.
 With Pyplot, you can use the bar() function to draw bar graphs.
 In Matplotlib, we use the hist() function to create histograms.
 With Pyplot, you can use the pie() function to draw pie charts.

2. OBJECTIVES/AIM:
1. The objective of this lab report is-To understand few simple Artificial Intelligence.
2. To understand Artificial Intelligence.
3. Make Python code .
4. Idea generate in Python Program.
5. Implement Artificial Intelligence for even and odd number with element 4 beginning and
end element.
6. learn how to work python subplot() function, bar() function, hist() function, pie()
function.
7. How to make a Python Programing.
8. learn how to work Artificial Intelligence.
9. To learn Basic Operations on Python.
10. Real life use python program code.

2. IMPLEMENTATION:

Code:
Implementing AI is a complex process that requires careful planning and consideration. The data needs to
be of high quality, and below we will show how we can work with existing systems.

 Write a Python program to get the 4th element from the beginning and the 4th element
from the last of a tuple.
 Write a Python Program to Count Even and Odd Numbers in a list.

 With the subplot() function you can draw multiple plots in one figure.

 With Pyplot, you can use the bar() function to draw bar graphs.
 In Matplotlib, we use the hist() function to create histograms.

 With Pyplot, you can use the pie() function to draw pie charts.

3. TEST RESULT:
Output:

Here we show the output .


 4th element from the beginning and the 4th element

 Even and Odd Numbers.

 Subplot() function you can draw multiple plots Output.


 Bar() function to draw bar graphs output.
 Hist() function to create histograms.

 Pie() function to draw pie charts output.

4. ANALYSIS AND DISCUSSION:


We will analysis what we have learned from this experiment.
For example:-
 We learned about using python programming language.
 We learned about even and odd number count.
 We learned about python subplot() function, bar() function, hist() function, pie() function.
 We learned about how to work python .
 We learned about show python program result.
 I have learned how to work Artificial Intelligence for element.
 I learned how to Python Using.

6. SUMMARY:
Here we have discussed how we can extract 4th element from start and 4th element from end of
tuple using Python program. Even and odd numbers in a list.subplot() function .bar()
function .hist() function. . Pie() functions are extracted through the Python program.

You might also like