Python MCQ Practice - XI - 1
Email *
Choose invalid identifier :
1 point
Clear selection
Which of the following is/are mutable sequence data type:  
1 point
Clear selection
Suppose t=(1, 2, 4, 3), then which of the following is               incorrect?
1 point
Clear selection
Which of the following is NOT a logical operator
1 point
Clear selection
Formal parameters are the parameters
1 point
Clear selection
Which of the following can be used to delete item(s) from a dictionary?
1 point
Clear selection
If a=[1,2,3], b=(1, 2, 3), then which of the following statements is valid?
1 point
Clear selection
If a=random.randrage(1, 20, 6), then which of the following is not a possible value of a?
1 point
Clear selection
Identify the mutable data object from the following:
1 point
Clear selection
Which of the following, if interpreted a s a condition, will evaluate to True?
1 point
Clear selection
What will be the output of the following Python code?
1 point
Captionless Image
Clear selection
Pick the correct statement:
1 point
Clear selection
What is printed by the following statements?
1 point
Captionless Image
Clear selection
Which of the following is an operator in Python?
1 point
Clear selection
Which of the following functions takes only a string as a parameter?
1 point
Clear selection
When will an error be shown by the statement: eval('2+3*/4')
1 point
Clear selection
Which of the following creates a tuple?
1 point
Clear selection
Which of the following statements is invalid:
1 point
Clear selection
Which of the following is floor division operator
1 point
Clear selection
Which of the following is not a valid input for the statement: input('Enter a number: ')
1 point
Clear selection
Which of the following is not a valid input for the statement: input('Enter a string: ')
1 point
Clear selection
Choose correct output for the following code
1 point
Captionless Image
Clear selection
What type of error will be raised by the following code?
1 point
Captionless Image
Clear selection
What will be the output of the following code segment?
1 point
Captionless Image
Clear selection
Which statements of the following code will produce the same output?
1 point
Captionless Image
Clear selection
Submit
Clear form
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy