0% found this document useful (0 votes)
2 views3 pages

Assignment Task

The document outlines tasks for a week, requiring the creation of separate Python files for each day from Monday to Thursday. Each file must contain specific programming tasks, including input/output operations, calculations, and eligibility checks. The instructions emphasize the importance of comments, meaningful variable names, proper indentation, testing, and submission of all four files.

Uploaded by

arslanxgames
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)
2 views3 pages

Assignment Task

The document outlines tasks for a week, requiring the creation of separate Python files for each day from Monday to Thursday. Each file must contain specific programming tasks, including input/output operations, calculations, and eligibility checks. The instructions emphasize the importance of comments, meaningful variable names, proper indentation, testing, and submission of all four files.

Uploaded by

arslanxgames
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

Week 1 Tasks:

Instructions
1. Create separate Python files for each day:

o [Link]
o [Link]

o [Link]

o [Link]

2. Solve all tasks for the corresponding day in the same file.
3. Add comments before each task to clearly indicate its number.

Example:

# Task 1

# Your code here

# Task 2

# Your code here


4. Use meaningful variable names and proper indentation.

5. Test your programs before submission.

6. Submit all four Python files.


Monday ([Link])

Task 1

Write a program that displays your name, department, semester, and favorite programming
language.

Task 2

Write a program that takes a student's name and age as input and displays them neatly.

Task 3

Write a program that calculates the area of a rectangle using length and width entered by the
user.

Task 4

Write a program that takes marks of three subjects and calculates the total marks.
Task 5

Write a program that takes monthly expenses for food, transport, and internet and calculates
the total expense.

Tuesday ([Link])
Task 1

Write a program that checks whether a person is eligible to vote based on age.

Task 2
Write a program that checks whether a student has passed or failed based on marks.

Task 3

Write a program that checks if a username entered by the user matches "admin".
Task 4

Write a program that determines whether a student is eligible for a scholarship based on
CGPA and attendance.

Task 5

Write a program that checks whether a number is positive, negative, or zero.

Wednesday ([Link])
Task 1
Write a program that compares two numbers and displays the larger number.

Task 2

Write a program that classifies weather as Hot, Moderate, or Cold based on temperature
entered by the user.

Task 3

Write a program that assigns grades (A, B, C, D, F) according to marks entered by the user.

Task 4
Write a program that determines whether a number is even or odd.

Task 5

Write a program that determines the ticket category (Child, Student, Adult) based on age.

Thursday ([Link])
Task 1

Write a program that calculates a student's total marks, average marks, and pass/fail status.

Task 2
Write a program that checks whether a student is eligible for university admission based on
age and intermediate percentage.

Task 3
Write a program that determines whether an employee qualifies for a bonus based on salary
and years of experience.
Task 4

Write a program that checks whether a bank account has sufficient balance for a withdrawal
request.
Task 5

Write a program that determines scholarship status (Full Scholarship, Partial Scholarship, or
Not Eligible) using CGPA, attendance, and family income.

You might also like