0% found this document useful (0 votes)
3 views2 pages

GR X Record Writing Questions

The document outlines instructions for a Class X assignment on Artificial Intelligence (Code 417), consisting of two tasks: Task A focuses on Python programming questions related to various concepts, while Task B involves Data Science and Computer Vision tasks using Google Colab. Students are required to write code, document outputs, and follow ethical guidelines. The tasks include calculating net run rate, checking input types, and visualizing data, among others.
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 views2 pages

GR X Record Writing Questions

The document outlines instructions for a Class X assignment on Artificial Intelligence (Code 417), consisting of two tasks: Task A focuses on Python programming questions related to various concepts, while Task B involves Data Science and Computer Vision tasks using Google Colab. Students are required to write code, document outputs, and follow ethical guidelines. The tasks include calculating net run rate, checking input types, and visualizing data, among others.
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/ 2

Artificial Intelligence (Code 417)

Class X – Record Writing


General Instructions:
 Complete all given tasks in the same order.
 Task A consists of a list of Python programming questions. You will write
question and code on a ruled page and two observed outputs on unruled
page.
 Task B consists of Data Science and Computer Vision related questions. You
will write questions and code on a ruled page and paste the printout of
screenshot of observed output on unruled page.
 Taking color printouts is not mandatory.
 Follow ethics and academic integrity.
 Use Google Colab for Task B.

Task A
1) Write a Python program to calculate net run rate (NRR) of a cricket
tournament.
Hint:

2) Write a Python program to check whether a given input is uppercase or


lowercase or a digit.
Hint: Use functions isdigit ( ), isupper ( ) and islower ( ) wherever
required.
Example: Input = a
Output: a is a lowercase input
3) Write a Python program to find a minimum number in a user created list.
Hint: Use min ( ) function, if required.
4) Demonstrate the following list functions: Append, pop, remove and delete.
5) Write a Python program to check whether the user input is Armstrong
number or not.
6) Write a Python program to generate the following pattern:
1
23
456
7 8 9 10
7) Write a Python program to create a user defined list of N numbers. Swap a
number with its successor if it is divisible by 5.
Example:
Mylist = [1,2,3,4,5,6]
Output:
[1,2,3,4,6,5]
8) Write a python program to count of frequency of every element in a list
Example: Mylist = [1,1,3,4,4]
Output:
Frequency of each element:
1: 2 times
3: 1 times
4: 2 times
9) Write a Python program to check whether an element exists within a tuple.
10) Write a Python program to demonstrate tuple slicing.

Task B
1) Write a Python program to calculate the mean, median and mode on the
list scores = [10, 20, 10, 30, 10] using NumPy.
2) Consider the following data of a clothes store and plot the data on the line
chart and customize the chart as you wish:

3) Write a Python program to display a scatter chart for the following points
(2,5), (9,10), (8,3), (5,7), and (6,18).
4) Create a CSV file with following columns: Sl no, Song name, duration,
movie/Album
Read the CSV file saved in your system and display the first 5 rows.
5) Write a Python program to read an image and display it as grayscale using
Python.

You might also like