Practical Record 11 IP
Practical Record 11 IP
IP Practical Record
List of Programs:
1. Write a program to calculate net salary after inputting basic salary, hra%, da% and tax%.
Net=basic + hra + da -tax
2. Write a program to calculate working capital for company A that has cash of about
₹250000, Accounts received of about ₹150000 and inventories of about ₹500000. Company
A also has accounts payable of ₹300000, short term borrowings of ₹75000 and accrued
liabilities of about ₹125000.
[Hint. Working capital = Current assets – Current liabilities]
3. Write a program to calculate EMI as per formula: E = PR (1+R)n / ((1+R)n-1)
Where E=EMI; P=Principal loan amount; R=Rate if interest per month i.e., (Annual
interest/100/12); n=tenure of loan repayment in months.
Get the input from the user(e.g., calculate EMI for loan amount of 200000 at 10% p.a. rate of
interest (10/100/12) for a period of 2 years i.e., 24 months.
4. Write a menu driven program:
a. To calculate amount payable after simple interest.
b. To calculate amount payable after compound interest.
5. Write a program to find the sum of digits of an integer number, input by the user.
6. Write a program to generate the sequence: –5, 10, –15, 20, –25… upto n, where n is an
integer input by the user.
7. Write a program to print every integer between 1 and n divisible by m. Also report whether
the number that is divisible by m is even or odd.
8. Write a program to find lowest and second lowest number from the 10 numbers input.
9. Write a program to input your friends’ names and their phone numbers and store them in
the dictionary as the key-value pair. Perform the following operations on the dictionary:
a) Display the name and phone number of all your friends.
b) Add a new key-value pair in this dictionary and display the modified dictionary.
c) Delete a particular friend from the dictionary.
d) Check if a friend is present in the dictionary or not.
e) Modify the phone number of an existing friend.
f) Display the dictionary in sorted order of names.
10. Write a program to create a dictionary with the roll number, name and marks of n
students in a class and display the names of students who have marks above 75.
11. Program to find frequencies of all elements of a list. Also, print the list of unique elements
in the list and duplicate elements in the given list.
12. Write a program to check if a number is present in the list or not. If the number is present,
return the position of the number. Print an appropriate message if the number is not present in
the list.
13. 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 numbers from the given
list. Print all three lists.
INFORMATICS
PRACTICES
NAME :
CLASS:
ROLL :
INDEX
Program No. Program
1
2
3
4
INFORMATICS PRACTICES