Python Unit -1 Quiz

Python Unit -1 Quiz

Please Enter the quiz code to start

The number of attempts remaining is 1

1 / 16

1. What character is used for single line comment?

2 / 16

2. What will print(“A”, “B”, sep=”*”, end=”!”) display?

3 / 16

3. What is the output?

a=5
 a*=5
print(a)

4 / 16

4. What is the output?

a=6
b=10
print(a<=b and b<=10)

5 / 16

5. 1. What is Python?

6 / 16

6. What will print(3 + 4 * 2) display?

7 / 16

7. What is the correct file extension for Python files?

8 / 16

8. In the statement

 a=input(“Enter Something”)
what is the type(a)?

9 / 16

9. name=input(“Enter your Name”)

 What is this statement do?

10 / 16

10. What is the output?

a=6
b=10
print(a>=b)

11 / 16

11. How to convert a variable from String to Decimal?

12 / 16

12.  

Which statement is correct?

 Select all that apply

13 / 16

13. What needs to be coded to display output as:

Line1

 Line2

 Line3   

14 / 16

14. What is the output?

a=10
b=20
print(a+b)

15 / 16

15. Python is known as a:

16 / 16

16. Which of the following is a valid variable name in Python?

Your score is

The average score is 0%

Leave a Reply

Your email address will not be published. Required fields are marked *