0% found this document useful (0 votes)
6 views1 page

Python Program Questions

Uploaded by

sandhoshbe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

Python Program Questions

Uploaded by

sandhoshbe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

1.

Write a Python program to generate all prime numbers between 1 and 500 and store
them in a list.
2. Implement a Python program that checks if two strings are anagrams of each other
without using built-in sorting.
3. Write a Python function that takes a list of integers and finds the longest subsequence
where consecutive numbers are increasing.
4. Create a Python program to find the top 3 most frequent words from a given paragraph.
5. Write a Python program that simulates a banking system with classes (Account,
SavingsAccount, CurrentAccount) and handles deposits, withdrawals, and balance check
using OOP.
6. Write an SQL query to find the second highest salary from the employees table without
using LIMIT.
7. Given a sales(order_id, product_id, quantity, price) table, write a query to find the
product that generated the maximum revenue.
8. Write an SQL query to fetch the department names where the average salary of
employees is greater than the overall average salary.
9. Write an SQL query to display duplicate email IDs in a users table.
10. Write an SQL query to calculate the running total of sales by date.
11. Design an HTML form with validation for a student registration system (name, email,
password, confirm password, DOB, gender, course selection, file upload).
12. Create a responsive navigation bar in HTML and CSS with dropdown menus.
13. Write an HTML + JavaScript program that validates if the entered password has at least
1 uppercase, 1 lowercase, 1 number, and 1 special character.
14. Build an HTML page with a table of student marks and use JavaScript to dynamically
calculate and display the grade for each student.
15. Create an HTML page with embedded JavaScript that displays a digital clock updating
every second.

You might also like