PYTHON QUIZ 6

3
Created on By Sirjana GhimireAcharya

PYTHON QUIZ 6

1 / 10

1. Which one of the following is a valid Python if statement

2 / 10

2. What is the output of the following tuple operation

aTuple = (100, 200, 300, 400, 500)
aTuple.pop(2)
print(aTuple)

3 / 10

3.  What is the output of the following

tuple1 = (1120, 'a')
print(max(tuple1))

4 / 10

4. What is the output of print('[%c]' % 65)

5 / 10

5. In Python3, which functions are used to accept input from the user

6 / 10

6. What is true for file mode x

7 / 10

7.Select which true for Python function

8 / 10

8.  Python function always returns a value

9 / 10

9. Choose the correct function declaration of fun1() so that we can execute the following function call successfully

fun1(25, 75, 55)
fun1(10, 20)

10 / 10

10. Bitwise shift operators(<<, >>)has higher precedence than Bitwise And(&) operator

Your score is

The average score is 7%

0%