0% found this document useful (0 votes)
4 views4 pages

Assignment I Problem Statements

The document outlines five mini projects for programming practice in Python, each with specific objectives and instructions. Projects include creating a student marks report generator, a paragraph word analyzer, a grocery bill calculator, a resume keyword scanner, and a basic calculator with history. Each project requires input from the user, data processing, and formatted output, along with examples for clarity.

Uploaded by

aaryashelke0835
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)
4 views4 pages

Assignment I Problem Statements

The document outlines five mini projects for programming practice in Python, each with specific objectives and instructions. Projects include creating a student marks report generator, a paragraph word analyzer, a grocery bill calculator, a resume keyword scanner, and a basic calculator with history. Each project requires input from the user, data processing, and formatted output, along with examples for clarity.

Uploaded by

aaryashelke0835
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

📍 By isoftguide.

in – India's Practical IT Courses Portal


📩 www.isoftguide.in | 📞 For updates, join our WhatsApp Channel

Write programs for the following questions. Take output


screenshots. Submit a pdf file of program output screenshots.
Mini Project 1: Student Marks Report Generator
✅ Objective:

Write a Python program to collect and display student marks using list and tuple.

📋 Instructions:

1. Input name and marks of 5 students.


2. Store data as: [(“Name1”, 90), (“Name2”, 85), …]
3. Print:
o Each student's marks
o Class average
o Topper’s name

📥 Example Input:
Enter name: Rahul
Enter marks: 78
Enter name: Priya
Enter marks: 91
...

📤 Example Output:
Rahul - 78
Priya - 91
...
Average Marks: 84.6
Topper: Priya

📖 Mini Project 2: Paragraph Word Analyzer (from file)


✅ Objective:
Read a paragraph from a .txt file and analyze its contents.

📋 Instructions:

1. Open the file in read mode.


2. Count:
o Number of lines
o Number of words
o First 5 words
o Last 5 words

🗂️ Sample File (para.txt):


Python is a powerful language. It is easy to learn.
Python supports different programming paradigms.

📤 Output:
Total lines: 2
Total words: 13
First 5 words: ['Python', 'is', 'a', 'powerful', 'language.']
Last 5 words: ['different', 'programming', 'paradigms.']

️ Mini Project 3: Grocery Bill Calculator


✅ Objective:

Create a bill for 5 items using list and tuple.

📋 Instructions:

1. Input item name, quantity, price per unit.


2. Store as tuple: ("Apple", 2, 30)
3. Add all to a list.
4. Print total and item-wise bill.

📥 Example Input:
Enter item name: Apple
Enter quantity: 2
Enter price: 30
...

📤 Output:
Apple - 2 x ₹30 = ₹60
Milk - 1 x ₹50 = ₹50
Total: ₹110

📑 Mini Project 4: Resume Keyword Scanner


✅ Objective:

Scan resume text for keywords using file read and strings.

📋 Instructions:

1. Read resume from file (resume.txt)


2. Keywords to check: ["Python", "C++", "Java", "Internship"]
3. Count matches
4. Print a message based on matches

🗂️ Sample File:
I am currently pursuing B.Tech and have done an internship in web
development. I have basic knowledge of Python and C++.

📤 Output:
Found keywords: ['Python', 'C++', 'Internship']
Match count: 3
Resume seems suitable

️ Mini Project 5: Calculator with History


✅ Objective:

Build a basic calculator and keep operation history.

📋 Instructions:

1. Ask user for numbers and operation (+, -, *, /)


2. Perform the operation
3. Store as: ("5 + 2", 7)
4. Allow 3 operations, then print all

📥 Example Input:
Enter first number: 5
Enter second number: 2
Enter operation: +

📤 Output:
Result: 7
History:
5 + 2 = 7
3 * 4 = 12
10 - 6 = 4

📍 By isoftguide.in – India's Practical IT Courses Portal


📩 www.isoftguide.in | 📞 For updates, join our WhatsApp Channel

You might also like