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

Xi-Ip - Practicals List and Plan

The document outlines the practical examination guidelines for Class XI Informatics Practices, focusing on project work that involves creating IT applications to solve real-world problems using data analysis and visualization with Python and MySQL. It includes a list of suggested practicals and assignments in Python programming and SQL commands, aimed at developing students' skills in programming, data management, and software development. Students are encouraged to work individually or in groups while adhering to plagiarism and copyright guidelines.

Uploaded by

anantagr956
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 views11 pages

Xi-Ip - Practicals List and Plan

The document outlines the practical examination guidelines for Class XI Informatics Practices, focusing on project work that involves creating IT applications to solve real-world problems using data analysis and visualization with Python and MySQL. It includes a list of suggested practicals and assignments in Python programming and SQL commands, aimed at developing students' skills in programming, data management, and software development. Students are encouraged to work individually or in groups while adhering to plagiarism and copyright guidelines.

Uploaded by

anantagr956
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/ 11

CLASS XI

(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.

Practical Marks Distribution


SUGGESTED PRACTICALS FROM CBSE
Programming in Python
1. To find average and grade for given marks.
2. To find sale price of an item with given cost and discount (%).
3. To calculate perimeter/circumference and area of shapes such as triangle, rectangle, square and circle.
4. To calculate Simple and Compound interest.
5. To calculate profit-loss for given Cost and Sell Price.
6. To calculate EMI for Amount, Period and Interest.
7. To calculate tax - GST / Income Tax.
8. To find the largest and smallest numbers in a list.
9. To find the third largest/smallest number in a list.
10. To find the sum of squares of the first 100 natural numbers.
11. To print the first ‘n’ multiples of given number.
12. Create a dictionary to store names of states and their capitals.
13. Create a dictionary of students to store names and marks obtained in 5 subjects.
14. To print the highest and lowest values in the dictionary.
Data Management: SQL Commands
15.To create a database
16.To create student table with the student id, class, section, gender, name, dob, and marks as attributes
where the student id is the primary key.
17.To insert the details of at least 10 students in the above table.
18.To display the entire content of table.
19.To display Rno, Name and Marks of those students who are scoring marks more than 50.
20. To find the average of marks from the student table.
21.To find the number of students, who are from section ‘A’.
22.To display the information all the students, whose name starts with ‘AN’ (Examples: ANAND, ANGAD,..)
23.To display Rno, Name, DOB of those students who are born between ‘2005- 01-01’ and ‘2005-12-31’.
24.To display Rno, Name, DOB, Marks, Email of those male students in ascending order of their names.
25.To display Rno, Gender, Name, DOB, Marks, Email in descending order of their marks.
26. To display the unique section available in the table.
CLASS XI
(SESSION 2020-21)
INFORMATICS PRACTICES (065)
PYTHON ASSIGNMENT LIST

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:

 First five days: 40 paisa per day.

 Six to ten day: 65 paisa per day.

 Above ten days: 80 paisa per day


24. Write a python program for Electric Bill charges according to the given charges. Following are the fines :

 First 100 Units: 1 Rs per day.

 Next 200 Units: 2 Rs per day.

 Above 300 Units: 4 Rs per day.

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

(c) 54321 (d) 1


4321 23
321 456
21 7 8 9 10
1
33. Write a python program to remove all white spaces from the string.
34. Write a python program to count number of vowels present in a string
35. Write a python program to count number of words in a given string.
36. To calculate profit-loss for given Cost and Sell Price
37. To calculate EMI for Amount, Period and Interest.
38. To calculate GST Tax given item type, price, quantity
[GST= if given item is an food item then 5% else 18%]
39. To find the largest and smallest numbers in a list.
40. To find the third largest number in a list.
41. Write a python program to find frequency of a given element in a list of characters.
42. Write a python program to find sum of largest two numbers in the given list
43. Write a python program that takes any two lists L and M of the same size and adds their
corresponding elements in a new list N.
Eg. L= [3, 1, 4] and M= [1, 5, 9] then N should be [4, 6, 13]
44. Write the code to input any 5 years and the population of any city and print it on the screen.
45. Write a python Program to count no of ‘p’ in the string pineapple.

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:

Table: Charity (Contribution is in Rs.)

a) Display all first names in lowercase.


b) Display all last names of people of Mumbai city in uppercase.
c) Display Person Id along with First 3 characters of his/her name.
d) Display first name concatenated with last name for all the employees.
e) Display length of address along with Person Id.
f) Display last 2 characters of City and Person Id.
g) Display Last Names and First names of people who have "at" in the second or third position in their first names.
h) Display the position of 'a' in Last name in every row.
i) Display Last Name and First name of people who have "a" as the last character in their First names.
j) Display the first name and last name concatenated after removing the leading and trailing blanks.
k) Display Person Id, last names and contribution rounded to the nearest rupee of all the persons.
l) Display Person Id, last name and contribution with decimal digits truncated of all the persons.
m) Display Last name, contribution and a third column which has contribution divided by 10.Round it to two
decimal points.

2. Consider the table "Grocer" and write SQL queries for the tasks that follow:

Table: Grocer (Unit Price is per kg price)

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.

3. Write SQL statements to do the following:


a) Using the three separate words "We," "study," and "MySQL," produce the following output:
"We study MySQL"
b) Use the string "Internet is a boon" and extract the string "net".
c) Display the length of the string "Informatics Practices".
d) Display the position of "My" in "Enjoying MySQL".
e) Display the name of current month.
f) Display the date 10 years from now. Label the column "Future."
g) Display the day of week on which your birthday will fall or fell in 2010.

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.)

Write SQL statements to do the following:


a) Display the names of all the products in the store.
b) Display the names and unit price of all the products in the store.
c) Display the names of all the products with unit price less than Rs.20000.00
d) Display details of all the products with unit price in the range 20000 to 30000
e) Display names of all products by the manufacturer "Fit Express".
f) Display all rows sorted in descending order of unit price.
g) Add a new row for product with the details: "P106","Vibro Exerciser", 23000, manufacturer : "Avon Fitness".
h) Change the Unit Price data of all the rows by applying a 10% discount reduction on all the products.
i) Display details of all products with manufacturer name starting with "A".
5. Consider the following tables Employee and Department.

Write SQL statements to do the following:


a) Display the last names and first names of all employees.
b) Display the Department names of all employees, without duplicates.
c) Display all the details of employees with last name as "Lakshmi".
d) Display all the details of employees whose last name is ""Rajlani" or "Sharma".
e) Display the codes and first names of all employees of 'Accounts' department.
f) Display department names of departments with budget above 18000.
g) Display all the details of employees whose First name begins with "S".
h) Display department details(from Department table) in descending order of Budget amount.
i) Change the Department name "Sales" to "Marketing" everywhere in the table "Employee" and "Department"
j) Add a new row with appropriate data values in Department table.
k) Create the table Department with columns of appropriate data types.

6. Consider a database LOANS with the following table:


Write SQL commands for the tasks 1 to 35 and write the output for the SQL commands 36 to 40:
Create Database and use it
1. Create the database LOANS.
2. Use the database LOANS.
Create Table / Insert Into
3. Create the table Loan_Accounts and insert tuples in it.
Simple Select
4. Display the details of all the loans.
5. Display the AccNo, Cust_Name, and Loan_Amount of all the loans.
Conditional Select using Where Clause
6. Display the details of all the loans with less than 40 instalments.
7. Display the AccNo and Loan_Amount of all the loans started before 01-04-2009.
8. Display the Int_Rate of all the loans started after 01-04-2009.
Using NULL
9. Display the details of all the loans whose rate of interest is NULL.
10. Display the details of all the loans whose rate of interest is not NULL.
Using DISTINCT Clause
11. Display the amounts of various loans from the table Loan_Accounts. A loan amount should appear only once.
12. Display the number of instalments of various loans from the table Loan_Accounts. An instalment should
appear only once.
Using Logical Operators (NOT, AND, OR)
13. Display the details of all the loans started after 31-12-2008 for which the number of instalments are more
than 36.
14. Display the Cust_Name and Loan_Amount for all the loans which do not have number of instalments 36.
15. Display the Cust_Name and Loan_Amount for all the loans for which the loan amount is less than 500000 or
int_rate is more than 12.
16. Display the details of all the loans which started in the year 2009.
17. Display the details of all the loans whose Loan_Amount is in the range 400000 to 500000.
18. Display the details of all the loans whose rate of interest is in the range 11% to 12%.
Using IN Operator
19. Display the Cust_Name and Loan_Amount for all the loans for which the number of instalments are 24, 36, or
48. (Using IN operator)
Using BETWEEN Operator
20. Display the details of all the loans whose Loan_Amount is in the range 400000 to 500000. (Using BETWEEN
operator)
21. Display the details of all the loans whose rate of interest is in the range 11% to 12%. (Using BETWEEN
operator)
Using LIKE Operator
22. Display the AccNo, Cust_Name, and Loan_Amount for all the loans for which the Cust_Name ends with
'Sharma'.
23. Display the AccNo, Cust_Name, and Loan_Amount for all the loans for which the Cust_Name ends with 'a'.
24. Display the AccNo, Cust_Name, and Loan_Amount for all the loans for which the Cust_Name contains 'a'
25. Display the AccNo, Cust_Name, and Loan_Amount for all the loans for which the Cust_Name does not contain
'P'.
26. Display the AccNo, Cust_Name, and Loan_Amount for all the loans for which the Cust_Name contains 'a' as the
second last character.
Using ORDER BY clause
27. Display the details of all the loans in the ascending order of their Loan_Amount.
28. Display the details of all the loans in the descending order of their Start_Date.
29. Display the details of all the loans in the ascending order of their Loan_Amount and within Loan_Amount in
the descending order of their Start_Date.
Using UPDATE, DELETE, ALTER TABLE
30. Put the interest rate 11.50% for all the loans for which interest rate is NULL.
31. Increase the interest rate by 0.5% for all the loans for which the loan amount is more than 400000.
32. For each loan replace Interest with (Loan_Amount*Int_Rate*Instalments) 12*100.
33. Delete the records of all the loans whose start date is before 2007.
34. Delete the records of all the loans of 'K.P. Jain'
35. Add another column Category of type CHAR(1) in the Loan table.
Find the Output of the following queries
36. SELECT cust_name, LENGTH(Cust_Name), LCASE(Cust_Name), UCASE(Cust_Name) FROM Loan_Accounts
WHERE Int_Rate < 11.00;
37. SELECT LEFT(Cust_Name, 3), Right(Cust_Name, 3), SUBSTR(Cust_Name, 1, 3) FROM Loan_Accounts WHERE
Int_Rate > 10.00;
38. SELECT RIGHT(Cust_Name, 3), SUBSTR(Cust_Name, 5) FROM Loan_Accounts;
39. SELECT DAYNAME(Start_Date) FROM Loan_Accounts;
40. SELECT ROUND(Int_Rate*110/100, 2) FROM Loan_Account WHERE Int_Rate > 10;
Write the output produced by the following SQL commands:
41. SELECT POW(4,3), POW(3,4);
42. SELECT ROUND(543.5694,2), ROUND(543.5694), ROUND(543.5694,-1);
43. SELECT TRUNCATE(543.5694,2), TRUNCATE(543.5694,-1);
44. SELECT LENGTH("Prof. M. L. Sharma");
45. SELECT CONCAT("SHEIKH", " HAROON") "FULL NAME";
46. SELECT YEAR(CURDATE()), MONTH(CURDATE()), DAY(CURDATE());
47. SELECT DAYOFYEAR(CURDATE()), DAYOFMONTH(CURDATE()), DAYNAME(CURDATE());
48. SELECT LEFT("Unicode",3), RIGHT("Unicode",4);
49. SELECT INSTR("UNICODE","CO"), INSTR("UNICODE","CD");
50. SELECT MID("Informatics",3,4), SUBSTR("Practices",3);

7. Write SQL commands for the following on the basis of given table relation Teacher.

a) To show all information about the teacher of history department.


b) To list the names of female teachers who are in Hindi department.
c) To list names of all teachers with their date of joining in ascending order.
8. Consider the Empl table and write SQL command to get the following:

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?

You might also like