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

Python Test

The document outlines a Python programming test with a duration of 3 hours and an intermediate complexity level. It consists of three sections: Section A requires solving four problems related to strings and numbers, Section B includes tasks such as finding factorials and removing duplicates from a list, and Section C offers a choice between finding the second largest number or creating a calculator. Participants are expected to demonstrate their programming skills through these exercises.

Uploaded by

lishwant770
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)
1 views1 page

Python Test

The document outlines a Python programming test with a duration of 3 hours and an intermediate complexity level. It consists of three sections: Section A requires solving four problems related to strings and numbers, Section B includes tasks such as finding factorials and removing duplicates from a list, and Section C offers a choice between finding the second largest number or creating a calculator. Participants are expected to demonstrate their programming skills through these exercises.

Uploaded by

lishwant770
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

Python Programming Test

Time : 3 hrs.

Complexity : Intermiate (Average level)

Section A: (Any four)

1. Count vowels in string

”Course durations usually range from 1 month to 3 months, and fees may be subject to
change depending on the current curriculum and batches.”

2. Create List which contain 10 numbers and find sum of them.


3. Create function to print any string 5 times.
4. Write a program to add any two numbers.
5. Reverse your name by entering your proper name.

Section B:

1. Find factorial of any number using loop.


2. Remove duplicates values in List

List = [“Mohit”, “Banana”, 545,566,454, 545,”mohit”,’Nidhi’]

3. Create List contains Numbers from 2 to 200 and remove even numbers from it.(you
can use function and/or loops and/or condition for creating and manipulating the
list).
4. Find largest numbers in 4 numbers which entered by user.

Section C: (Any one)

1. Create function to find second largest number in those 4 numbers which are entered
by user.
2. Create calculator for perform operations between 2 numbers.(use functions)

→ User enters the operation name and the both numbers as input

You might also like