You are on page 1of 26

Balram dwar, karhera mohan nagar, Ghaziabad

PRACTIACL FILE:
INFORMATION
PRACTICE – 065
FOR
SESSION: 2022-2023
GUIDED BY: SUBMITTED
BY
SEEMALATA MA’AM DEEPANSHU
PGT (IP) XI-SCIENCE
ACKNOWLEDGEMENT

I would like to express my special thanks of


gratitude to my teacher Seemalata ma’am, who
gaves me golden opportunity to this wonderful
project of INFORMATION PRACTICE
Who also help me to complete this project .I came
to know about so many things I am really to
thankful to them.
Secondly I would like to thank my parents and
friends who helped me a lot in finalizing this project
within the limited time frame.

Deepanshu
XI-Science
CERTIFICATE

This is to certify that “Deepanshu” student


of class-11th “science”A has successfully
complete their chemistry
Project on “information practices” under the
guidance of “Ms.Seemalata sharma”

Mrs.Seemalata Sharma Deepanshu


Contents
Teacher
Seria Contents
Signature
l .no
1. Write a program to check if the number is
positive or negative and display an
appropriate message
2. WAP to convert temperature in Fahrenheit to
Celsius.

3. WAP to perform all the mathematical


operation of a calculator
4. Write a program to accept a number and
display the factorial of that number.

5. . WAP to convert binary number to decimal


number.

6. . WAP to find the sum of the digits of a


number.

7. . Write a function to display a prime number


below 30.
8. . Write to print of the series 1-x /2! + x /3!-x
1 2 3

/4!....... x n/(n+1)!-exponential series


9. WAP to print the following pattern:

10. WAP to calculate mean of a given list of


number.

11. write a program to read a list of n integers


(positive as well as negative ).create two new
lists, one having all positive numbers and the
other having all negative number from the
given list. print all the three lists.

12. . Write a program to find the largest and the


second largest elements in a given list of
elements.

13. Write a program to read elements of a list


and do the following:

14. . write a python program that accepts a value


and checks whether the inputted value is part
of the given dictionary or not. if it is present,
check for the frequency of its occurrence and
print the corresponding key, otherwise print
an error message.

15. Write a program that asks the user to enter


product names and prices. Store all of these
in a dictionary whose keys are the product
names and whose values are the prices. When
the user is done entering products and prices,
allow them to repeatedly enter a product
name and print the corresponding price or
message if the product is not in the
dictionary.

Code 1. Write a program to check if the number


is positive or negative and display an
appropriate message.
Program:

Output:
Code 2. WAP to convert temperature in
fahrenheit to Celsius.
Program:

Output:
Code 3. WAP to perform all the mathematical
operation of a calculator.
Program:

Output:
Code 4. Write a program to accept a number
and display the factorial of that number.
Progam:

Output:
Code 5. WAP to convert binary number
to decimal number.
Program:
Output:
Code 6. WAP to find the sum of the
digits of a number.

Program:

Output:
Code 7. Write a function to display a prime
number below 30.
Program:

Output:
Code 8. Write to print of the series 1- x /2! + x
1 2

/3!-x /4!.......x /(n+1)!-exponential series.


3 n

Program:

Output:
Code 9. WAP to print the following pattern:
*
* *
* * *
* * * *
* * * * *

Program:

Output:
Code 10. WAP to calculate mean of a given list
of number.

Program:

Output:
Code 11. write a program to read a list of n integers
(positive as well as negative ).create two new lists,
one having all positive numbers and the other
having all negative number from the given list. print
all the three lists.
Program:
Output:
Code 12. Write a program to find the largest
and the second largest elements in a given list
of elements.
Program:

Output:
Code 13. Write a program to read elements of a list
and do the following:
1.] the program should ask for the position of the
elements to be deleted from the list and delete this
the element at the desired position in the list.
Program:

Output :
2.] The program should ask for the value of the
element to be deleted from the list and delete this
value from the list.
Program:

Output:
Code 14. write a python program that accepts a
value and checks whether the inputted value is
part of the given dictionary or not. if it is
present, check for the frequency of its
occurrence and print the corresponding key,
otherwise print an error message.
Program:

Output:
Code 15. Write a program that asks the user to
enter product names and prices. Store all of
these in a dictionary whose keys are the product
names and whose values are the prices. When
the user is done entering products and prices,
allow them to repeatedly enter a product name
and print the corresponding price or message if
the product is not in the dictionary.
Program:
Output :

You might also like