Professional Documents
Culture Documents
XI CS Practical Journal-Final
XI CS Practical Journal-Final
XI CS Practical Journal-Final
Badlapur
Sub- COMPUTER SCIENCE (083)
INDEX
S.no Title Page no. Date
1 Addition of two integers. 18/08/23
2 Percentage calculation 25/08/23
3 Calculating Simple Interest 01/09/23
4 Odd or Even number 08/09/23
5 Largest and Smallest integer 15/09/23
6 Leap Year 18/09/23
7 Multiplication table 06/10/23
8 Pattern using Nested loop 12/10/23
9 Index of a string 20/10/23
10 Case changing in string 07/11/23
11 Login with Dictionary 08/12/23
12 Random OTP generator 15/12/23
13 Smallest/ Largest number in a list 20/12/23
14 Palindrome string 05/01/24
15 Menu driven program 18/01/24
Output :
Write a program that inputs a student’s marks in three subjects (out of 100) and
prints the percentage of marks obtained by the student.
Code:
Output:
Write a program to compute simple interest when the user enters the Principal, Rate
and Time
Code:
Output:
Output:
Write a program to find the largest and smallest among the three integers
Code:
Output:
Output:
Write a program to obtain a number from the user and print its multiplication table.
Code:
Output:
Output:
Output:
Output:
Write a program that prints the index of every vowel in the string taken from user.
Code:
Output:
Write a program to convert lowercase alphabet into uppercase and vice versa.
Code:
Output:
Practical no 11:
Write a program that uses a dictionary which contains ten usernames and their
passwords. Display the appropriate message on correct login or wrong password.
Code:
Output:
Practical no 12:
Output:
Practical no 13:
Write a program to find the largest and smallest number in a list taken from user.
Code:
Output:
Practical no 14:
Write a program to check whether string taken from user is palindrome or not
Code:
Output:
Practical no 15:
Write a menu-driven program to perform following operations:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Code:
Output: