0% found this document useful (0 votes)
3 views2 pages

IP Practical

The document outlines practical programming tasks for students at St. Peter’s Sr. Sec. School for the I Term session 2025-26, focusing on Python programming. It includes various assignments such as determining even or odd numbers, generating multiplication tables, counting positive and negative numbers, and converting digits to words. Each task is assigned a specific mark allocation, contributing to a total of 30 marks.

Uploaded by

kedar
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)
3 views2 pages

IP Practical

The document outlines practical programming tasks for students at St. Peter’s Sr. Sec. School for the I Term session 2025-26, focusing on Python programming. It includes various assignments such as determining even or odd numbers, generating multiplication tables, counting positive and negative numbers, and converting digits to words. Each task is assigned a specific mark allocation, contributing to a total of 30 marks.

Uploaded by

kedar
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

St. Peter’s Sr. Sec.

School, Bharatpur
I Term session 2025-26
IP Practical
MM:30
Q. 1Write a Python program that accepts a number from the user and: (10)

Prints whether it is even or odd


If the number is even, print all numbers from 1 to that number
If the number is odd, print the sum of all odd numbers from 1 to that number

Q. 2 Write a Python program to display multiplication table of a number entered by the user (from 1 to 10).
(7)
Q. 3 VIVA (8)
Q.4 Class Work (5)

St. Peter’s Sr. Sec. School, Bharatpur


I Term session 2025-26
IP Practical
MM:30

Q1. Counting Positive & Negative Numbers from the given list (10)

numbers = [10, -20, 30, -40, 50, -60, 0, -78,25]


Count of positive numbers
Count of negative numbers
Count of zeros

Q2. Write a Python program to accept 10 numbers from the user and print: (7)
Their sum
Their average

Q. 3 VIVA (8)
Q.4 Class Work (5)
St. Peter’s Sr. Sec. School, Bharatpur
I Term session 2025-26
IP Practical
Set 1
MM:30
Q. 1Write a Python program that accepts a number from the user and: (10)

Accept marks of a student (out of 100) and display grade using conditions:
90 and above → Grade A
75-89 → Grade B
50-74 → Grade C
50-35 → Grade D
Below 35 → Grade E

Q. 2 Write a Python program to accept single digit(0-9) and convert it into word representation.
(7)
Q. 3 VIVA (8)
Q.4 Class Work (5)

St. Peter’s Sr. Sec. School, Bharatpur


I Term session 2025-26
IP Practical
Set 2
MM:30

Q1. Write a Python program that accepts a number from the user and: (10)

Prints whether number is divisible by 2 or no


If the number is divisible by 2, print all numbers from 1 to that number
If the number is not divisible by 2, print the sum of all numbers from 1 to that number

Q2. Write a Python program to display first n terms of Fibonacci series, where n is entered by user.(7)

Q. 3 VIVA (8)
Q.4 Class Work (5)

You might also like