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

Level 1 Exam (Python)

Uploaded by

sarawinisy
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)
16 views1 page

Level 1 Exam (Python)

Uploaded by

sarawinisy
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
You are on page 1/ 1

Python Exam (Level-1)

Time allowed – (1 hour)

1. Question: Write a Python program that asks the user to enter a word and then checks if the
word is in uppercase. Print a message indicating whether the word is in uppercase or not.
2. Question: Write a Python program that asks the user to enter their surname and then prints
their surname in lowercase letters.
3. Question: Write a Python program that asks the user to enter their country and then prints
the name of the country in uppercase letters.
4. Question: Write a Python program that asks the user to enter two numbers and then prints
the sum of those numbers.
5. Question: Write a Python program that asks the user to enter their favorite fruit and then
prints the fruit's name with the first letter capitalized.
6. Question: Write a Python program that asks the user to enter a number and then prints half
of that number.
7. Question: Write a Python program that asks the user to enter a number and then prints the
cube of that number.
8. Question: Write a Python program that asks the user to enter their favorite movie and then
prints the length of the movie's title.
9. Question: Write a Python program that asks the user to enter a word and then checks if the
word is in lowercase. Print a message indicating whether the word is in lowercase or not.
10. Question: Write a Python program that asks the user to enter three numbers and then prints
the product of those numbers.
11. Question: Write a Python program that asks the user to enter two numbers and then prints
the quotient of the division of those numbers. If the second number is zero, print a message
saying "Cannot divide by zero."
12. Question: Write a Python program that asks the user to enter two numbers and then prints
the difference between those numbers.
13. Question: Write a Python program that asks the user to enter two numbers and then prints
the remainder when the first number is divided by the second number.

*********************************

You might also like