Xi-Ip - Practicals List and Plan
Xi-Ip - Practicals List and Plan
(SESSION 2024-25)
INFORMATICS PRACTICES (065)
PRACTICAL EXAMINATION GUIDELINES
Project Work
The aim of the class project is to create tangible and useful IT application. The learner may identify a real-
world problem by exploring the environment. e.g. Students can visit shops/business places, communities
or other organizations in their localities and enquire about functioning of the organization, and how data
are generated, stored, and managed.
The learner can take data stored in csv or database file and analyze using Python libraries and generate
appropriate charts to visualize.
If an organization is maintaining data offline, then the learner should create a database using MySQL and
store the data in tables. Data can be imported in Pandas for analysis and visualization.
Learners can use Python libraries of their choice to develop software for their school or any other social
good.
Learners should be sensitized to avoid plagiarism and violation of copyright issues while working on
projects. Teachers should take necessary measures for this. Any resources (data, image etc.) used in the
project must be suitably referenced.
The project can be done individually or in groups of 2 to 3 students.
1. Write a program that accepts two integers and print their sum.
2. Write a program that accepts radius of a circle and prints its Area and Perimeter.
3. Write a program that inputs a student’s marks in five subjects (out of 100) and prints the Total, Percentage and
Grade.
4. Write a program to compute area and perimeter of square.
5. Write a program to compute area and perimeter of triangle.
6. Write a program to print Multiplication Table of a given number.
7. Write a program to count number of digits in a given Number.
8. Write a program to print the sum of Digits of a given Number.
9. Write a program to convert Celsius to Fahrenheit and Fahrenheit to Celsius.
10. Write a program to check the given Number is Prime or Composite.
11. Write a program to generate the series of Prime numbers within a given range.
12. Write a program that inputs cost price and selling price for 10 items. The program then prints if the overall
profit occurred or loss occurred.
13. Write a program that asks the user for a year and prints out whether it is a leap year or not.
14. Number Guessing Game-This program generates a random number between 1 and 100 and continuously asks
the user to guess the number, giving hints along the way.
15. Write a program to input some numbers repeatedly and print their sum. The program ends when the users say
no more to enter (normal termination) or program aborts when the number entered is less than zero.
16. Write a python program to find that given number is even or odd.
17. Write a python program to check whether a number is divisible by 5 and 11 or not.
18. To calculate cost of fencing a rectangular park where L=70 and B=20, rate per feet = Rs.10/-
[P=2(L+B)]
19. To calculate cost of cultivating a rectangular field with dimensions L=7000 and B=2000, rate per
Sq/feet = Rs.10/- [A = L*B]
20. To calculate interest (Simple and Compound) when principal, rate and time are given
[S.I. = (PRT)/100, C.I. = P(1+R/100)T-P]
21. Write a python program to Check given character is vowel or not.
22. Write a python program to find largest integer among given three integers.
23. Write a python program for library that charges a fine for books returned late. Following are the
fines:
25. To find the sum of squares of the first 100 natural numbers.
26. Write a python program to find the sum of all even numbers from 0 to 10.
27. Write a python program to print the factorial of a given number.
28. Write a python program to print the first 10 numbers of Fibonacci series.
29. Write a python program to find MN without using library function.
30. To find whether a string is a palindrome or not.
31. Write a python program to check whether a given number is palindrome or not
32. Write a program to print following patterns on screen :
(a) * (b) 1
** 12
*** 123
**** 1234
***** 12345
46. Write a python program to Input a string “Green Revolution” and print the string in reverse.
47. Consider the string str=”Global Warming”. Write statements in python to implement the following:
a) To display the last four characters.
b) To display the substring starting from index 4 and ending at index 8.
c) To check whether string has alphanumeric characters or not.
d) To trim the last four characters from the string.
e) To trim the first four characters from the string.
f) To display the starting index for the substring “Wa”.
g) To change the case of the given string.
h) To check if the string is in title case.
i) To replace all the occurrences of letter “a” in the string with “*”
48. Write a python program to input ‘n’ names and phone numbers to store it in a dictionary and to input any name
and to print the phone number of that particular name.
49. Write a program to input ‘n’ employee number and name and to display all employee’s information in
ascending order based upon their number.
50. Write a program to create a phone book and delete particular phone number using name.
MYSQL ASSIGNMENT LIST
1. Create the following table named "Charity" and write SQL queries for the tasks that follow:
2. Consider the table "Grocer" and write SQL queries for the tasks that follow:
a) Display Item name, unit price along with Date of purchase for all the Items.
b) Display Item name along with Month (in number) when it was purchased for all the items.
c) Display Item name along with year in which it was purchased for all the items.
d) Display Item Id, Date of Purchase and day name of week (e.g. Monday) on which it was purchased for all the
items.
e) Display names of all the items that were purchased on Mondays or Tuesdays.
f) Display the day name of the week on which Rice was purchased.
g) Display the Item name and unit price truncated to integer value (no decimal digits) of all the items.
h) Display current date.
4. Consider the following table named "GYM" with details about Fitness products being sold in the
store.
Table Name : GYM
PrCode stores Codes of Products
PrName stores names of Products
(UnitPrice is in Rs.)
7. Write SQL commands for the following on the basis of given table relation Teacher.
a) Write a query to display EName and Sal of employees whose salary are greater than or equal to 2200?
b) Write a query to display details of employs who are not getting commission?
c) Write a query to display employee name and salary of those employees who don’t have their salary in
range of 2500 to 4000?
d) Write a query to display the name, job title and salary of employees who don’t have manager?
e) Write a query to display the name of employee whose name contains “A” as third alphabet?
f) Write a query to display the name of employee whose name contains “T” as last alphabet?
g) Write a query to display the name of employee whose name contains ”M” as First and “L” as third
alphabet?
h) Write a query to display details of employees with the text “Not given”, if commission is null?