Multiple choice quiz about Python - Part 1
Python is an object-oriented, high-level, powerful, easy-to-learn programming language. To help you read more interesting knowledge about Python programming language, below the Network Administrator will send you a very interesting multiple choice questionnaire on this topic. Please try.
Question 1: Which of the following assertions about Python is correct?
Python is a high-level programming language.
Python is an interpreter language.
Python is an object-oriented programming language.
Question 2: What sign is used to identify command blocks (function block, loop, .) in Python?
Question 3: Which assertion is correct about comments in Python?
Annotation helps programmers better understand the program.
The Python interpreter will ignore comments.
Can write comments on the same line with the command / expression or write on multiple lines without any problems
Question 4: What is the correct rule when naming variables in Python?
Variable names can begin with an underscore "_".
You can use keyword as variable name.
Variable names can start with a digit.
Variable names can have symbols like!, @, #, $,%, .
Question 5: Which data type is in the following paragraph?
Question 6: Output of the following command is:
print(1, 2, 3, 4, sep='*')
Question 7: Which command is used to retrieve input data from users?
Question 8: The result of the code below is:
numbers = [2, 3, 4] print(numbers)
Question 9: Output of the command is:
Question 10: When to use the operator and return TRUE results?
One of the two operands is TRUE.
The first operand is TRUE.