0% found this document useful (0 votes)
15 views3 pages

Practical Guidelines & Questions For Grade X Term-1

Uploaded by

dhruvkuckian
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)
15 views3 pages

Practical Guidelines & Questions For Grade X Term-1

Uploaded by

dhruvkuckian
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/ 3

Practical Guidelines for Grade-X (AI)

Practical Record Book Guidelines


1. Software’s required: Jupyter notebook.
2. Computer Practical Examination has been sub -divided into three components
a. Practical File (Record) 15 marks
b. Practical Examination(programming) 30 marks
c. Viva Voce 5 marks
3. Cover and Label your Practical Record Book Neatly with brown cover only.
4. Students should submit their records for correction on 05-August-2024, Submission
done after due date will be considered as LATE SUBMISSIONS.
5. Students to perform all the practical questions as mentioned below.
6. Write down all the question and code neatly in record book on ruled side of page and
the output on plain side of record book.
7. Students are required to get their practical record on the day of their practical
examination. Students failing to submit the practical record will not be allowed to
appear in the computer practical examination.

Programs
Section A (Advanced Python)
1. Write a program to print largest number among the three inputs numbers using nested
if else.
2. Find the average height of the class with 10 students whose height are given in the
list.
height = [140, 154,181, 173, 176, 169, 153, 163, 140, 158]
3. Write a program to take a number from the user and check whether a number is prime
number or not.
4. Write a program to print the sum of n odd numbers.
5. Write a program to find the factorial of a given number using while loop.
6. Akash is an enthusiastic techie and is planning to build a new house and add smart
features to it. He wants to accomplish a certain set of tasks to achieve the same.
Task 1: He wants to create a password based smart system for the entry door of his
house for any person to enter his house.

Write a code which can take password as an input from the user and then check for
the correct password which is "SECRET". The user can enter the password only 3
times and the system should print "You cannot enter the house after that".
7. Manish wants to create a device which can display different set of information on the
screen as the person presses the dial pad. The screen should display the following
things when he presses the corresponding button:

1 - Only Today's Date

2 - Date and Time Right now

Write a program to achieve the same.

Hint: Import datetime to get the current date.


8. Task 1: Mira wants to keep a check on the designated area to different parts of the
house. But it is becoming difficult for her to keep a check on every value. To help her
with it, Create a list, areas, that contains the area of the hallway (hall), kitchen (kit),
living room (liv), bedroom (bed) and bathroom (bath), in this order. Use the values
mentioned below:
hall = 11.25 kit = 18.0 liv = 20.0 bed = 10.75 bath = 9.50

Print the list.

Task 2 : Write a code which can help him keep the area in check by displaying it on
the screen as when required. the system should take an input from Mira and display
the area of that portion of that area accordingly.
9. Rohan went shopping for the various essential for his house. To help him maintain his
essential better and the cost he incurred at those items, create a numpy array with the
cost incurred on the items. The list with the incurred prices are as follows:

price = [100, 450, 33, 280, 135, 157, 680]

Perform the following task on the list mentioned above:

1) Convert the list into a numpy array and print the same

2) Sort the array into ascending order

3) multiply each element by 2

4) Create a new array where decrease the price of objects by 10% which are at odd
positions and display it
10. Import the library - Pandas and read citizen_data
11. Display the first 10 rows of citizen_data and its datatypes.
12. Drop “Phone2” column from citizen_data
13. Import the library – Matplotlib and plot a simple graph using [0,1,2,3] values.
14. Give label to x and y axis as “X_numbers” and “Y_numbers” to the values x= [1, 2, 3,
4] and y= [1, 4, 9, 16] and also change the size of the graph to (10,10).
15. Plot 4 different graphs in a single plot with the help of subplots. The values are as
follows.
y1 = [0,2,4,6]
y2 = [11,13,15,17]
y3 = [12,22,32,52]
y4 = [0,5,10,15]
x = [1,2,3,4]

Section B (Data Sciences)

1. Import libraries which are required to read .csv files.


2. Write the code to read .csv file and store data in a dataframe and print the same.
3. Display top 5 records of the data frame.
4. List the datatypes of each column in the table.
5. Drop the columns: (min_dew_pt_2, max_pressure_2, min_pressure_2).
6. Check weather the columns have been dropped by using dtypes or head function.
7. Sort the dataset as per ‘date’ and store it in a new dataframe and display the top 5
records.
8. Sort the values in ascending order of ‘date’ and store it in a new dataframe and print
the first 5 rows
9. Import the libraries required for data visualization (i.e for plotting graphs & charts).
10. Plot the scatter plot by using date and mean_temperature by taking date as x-axis and
mean_temperature as y.
11. Reduce the number of points for the x axis by using x-ticks and plot again.
12. Rotate the x ticks labels to 60 deg’s so that ticks can be seen clearly, and add x -labels,
y label’s and title with appropriate font size.
13. Draw the 2-line charts in the same plot for max_temperature, min_temperature across
y-axis and date on x-axis for the above Jaipur dataframe.
14. Create 2 subplots (line,scatter) with shared y axis, by taking date as x-axis and
mean_temperature as y-axis.
15. Draw the bar chart using following data.
a. x-axis= ['Python', 'C++', 'Java', 'Perl', 'Scala', 'Lisp']
b. y-axis= [10,8,6,4,2,1]
16. Create a histogram chart with the following details.

Title: Probability distribution of temperature over 2 years (2016 - 2018) in Jaipur


Y-axis: No.of days
X-axis: Temperature
17. Create a box plot on mean_temperature of Jaipur data
18. Create 3 subplots (line,scatter,bar) with shared x axis, by taking date as x-axis and
mean_temperature, max_temperature and min_temperature as y-axis.

You might also like