Class XI : Chapter 1 Python Fundamental Test -10

 Q1. Write a program to accept radius of circle and display it's area and circumference.

Q2. Write a program to find the average marks of five subjects. (Accept marks from user)

Q3. Write a program to find the area of right angle triangle. (Accept base and height from user)

Q4. Write a program to print the following pattern without loop.

*

* *

* * *

* * * *

Q5. Write a program to find the volume of sphere.(Accept radius from the user)

Q6. Find errors

  1. a = input(Enter your name)
  2. b = input("Enter any number")
Q7. Find errors:
            a = input("Enter your name"
            Print(Your name is, a)
Q8. Write the output of the following

        a, b = 2, 6

                a, b, b = a+b, 2, 3

                print(a,b)

Q9. Write the output of the following.
        a = 5
        b = "Amit"
        print(a + b)

Q10. Write the output of the following.
        a =3
        b =4
        print(a + b%2 + a**2)

No comments:

Post a Comment

Most Recently Published

File Handling Test 6

 File Handling Test 6 Q1 . Do we need to use the close() function when we use 'with' statement to open a file? Q2. Which mode you wi...

CS - IP Assignment/Worksheet