Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
6 views4 pages

Practcal File

This document is a practical record file for Class IX Artificial Intelligence at Bal Bharati Public School for the session 2024-25. It includes a list of programming tasks that students are required to complete using Python, covering topics such as input handling, lists, conditional statements, and loops. Each task is designed to enhance students' understanding of basic programming concepts and skills.

Uploaded by

mytoolindia
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)
6 views4 pages

Practcal File

This document is a practical record file for Class IX Artificial Intelligence at Bal Bharati Public School for the session 2024-25. It includes a list of programming tasks that students are required to complete using Python, covering topics such as input handling, lists, conditional statements, and loops. Each task is designed to enhance students' understanding of basic programming concepts and skills.

Uploaded by

mytoolindia
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/ 4

Artificial Intelligence [417] Class : IX

BAL BHARATI PUBLIC SCHOOL,


DWARKA

Central Board Of Secondary Education


A PRACTICAL RECORD FILE IS SUBMITTED FOR THE ARTIFICIAL
INTELLIENCE CLASS IX
SESSION 2024-25

SUBMITTED BY :
CLASS :
ROLL NO. :
Artificial Intelligence [417] Class : IX

CONTENTS
S.No Practical Date Signature
Input()
1. Write a Python program that prompts the user to
input two numbers and then calculates and displays
their sum.
2. Write a Python program that takes the length,
width, and height of a cuboid as input from the user,
and then calculates and displays the cuboid's
surface area and volume.
3. Write a python program to calculate Area of a
Triangle by taking input from user.
4. Write a program to calculate average marks of 3
subjects by taking input from user.
5. Write a program to calculate discounted amount
with discount %. by taking input from user.
List
6. Create a list in Python of children selected for
science quiz with following names-
Arjun,Sonakshi,Vikram,Sandhya,Sonal,Isha,Kartik.
Perform the following tasks on the list in sequence-
a)Print the whole list
b)Delete the name “Vikram” from the list.
c)Add the name “Jaya” at the end.
d)Remove the item which is at the second position.
7. Create a list num=[23,12,5,9,65,44]
a)Print the length of the list
b)Print the elements from second to fourth position
using positive indexing.
c)Print the elements from position third to fifth
using negative indexing.
8. Create a list List_1=[10,20,30,40].Add the elements
[14,15,12] using the extend function.Now sort the
final list in ascending order and print it.
If statement()
9. Write a python program to input a number and
check whether it is Even or Odd.
10. Write a python program to input a number and
check whether it is Positive ,negative or zero and
display appropriate message.
11. Write a python program to check if a person can
vote or not.
12. Write a python program to Check the grade of a
student with the conditions you specified:
• Score 90 to 100: Grade A
• Score 75 to 89.9: Grade B
• Score 60 to 74.9: Grade C
• Score 50 to 59.9: Grade D
• Score 33 to 49.9 Grade E
• Score 0 to 32.9 Grade F
• Other than this Invalid Marks.

For,While loop
13. Write a python program to display numbers [Hint-
Use Loops]
i)1 to 10
ii)10 to 1
iii)Even numbers from 2 to 50.
iv)Odd numbers from 1 to 50.
14. Write a program to find numbers which are
divisible by 7 and multiple of 5 between 1200 and
2200.
15. Write a program to find whether a number is prime
or not using loop.
Practical 1
Write a Python program that prompts the user to input two numbers and then calculates and
displays their sum.
CODE

OUTPUT

You might also like