0% found this document useful (0 votes)
3 views1 page

FOAI Unit 3 Assignment

The document outlines an assignment for a B.Tech. 1st semester course on Artificial Intelligence, focusing on practical applications of Python libraries such as NumPy, Pandas, and Matplotlib. It includes ten questions that assess students' understanding of these libraries, string manipulation, and data visualization techniques. The assignment is due on December 26, 2025, and is graded out of 10 points.
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)
3 views1 page

FOAI Unit 3 Assignment

The document outlines an assignment for a B.Tech. 1st semester course on Artificial Intelligence, focusing on practical applications of Python libraries such as NumPy, Pandas, and Matplotlib. It includes ten questions that assess students' understanding of these libraries, string manipulation, and data visualization techniques. The assignment is due on December 26, 2025, and is graded out of 10 points.
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

Fundamentals of Artificial Intelligence SESSION: 2025-26

(CCSAI0101) CLASS/SEM: [Link]. 1st


UNIT-III Sem
Assignment Given Date: 23/12/25 Maximum Points: 10
Assignment Submission Date: 26/12/25 Assignment – 1
Faculty Name: Dr. Akanksha Singh Faculty Mail Id: [Link]@[Link]

BLOOM’S
Q. No. Question Statement Pts CO KNOWLEDGE
LEVEL
Apply NumPy in Python to create a 3×3 array filled with zeros and print
1 the result. 1 3 K3

Using your knowledge of the Pandas library in Python, apply


2 appropriate commands to create a DataFrame from the given dataset: 1 3 K3
{'Name': ['Aman', 'Bobby', 'Dishant'], 'Age': [25, 30, 35]}.
Describe the role of the Matplotlib library in data analysis. Explain the
3 purpose of a line plot, a bar chart, and a scatter plot, and mention the 1 3 K2
key components of a plot.
4 Demonstrate the concept of multiple variable assignments in a single 1 3 K3
line in Python. Assign different values to three variables and print them.
5 Define IDE, Google Colab and Kaggle. 1 3 K1

6 Describe the main features of Google Colab that make it useful for data 1 3 K2
science and machine learning.
Python provides string indexing to access individual characters from a
string. Consider the string variable x = "Python".
7 Apply Python string indexing to access the third character of the given 1 3 K3
string. Write a Python program that correctly uses the indexing operator
to print the third character. Also explain briefly how string indexing works
in Python.
8 Difference between NumPy, Pandas & Matplotlib at least 5. 1 3 K2
Apply the matplotlib library in Python to create a simple line plot using
the given data values:
x = [1, 2, 3, 4, 5] and y = [2, 4, 6, 8, 10].
9 Write a complete Python program to plot the data with appropriate 1 3 K3
labels for the x-axis and y-axis. Also explain briefly how matplotlib is
used to create a line plot and how the given data is represented on the
graph.

Describe the concept of string slicing in Python. Explain how positive


10 1 3 K2
and negative indices are used to extract portions of a string.

You might also like