Multiple choice quiz about Python - Part 1
- 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.
- All answers are correct
-
- Question 2: What sign is used to identify command blocks (function block, loop, .) in Python?
- Braces { }
- Square brackets [ ]
- Indent
- Oil parenthesis ()
-
- 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
- All the answers above.
-
- 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?
n = '5'
- integer
- string
- tuple
- operator
-
- Question 6: Output of the following command is:
print(1, 2, 3, 4, sep='*')
- 1 2 3 4
- 1234
- 1 * 2 * 3 * 4
- 24
-
- Question 7: Which command is used to retrieve input data from users?
- cin
- scanf ()
- input ()
- <>
-
- Question 8: The result of the code below is:
numbers = [2, 3, 4]
print(numbers)
- 2, 3, 4
- 2 3 4
- [2, 3, 4]
- [2 3 4]
-
- Question 9: Output of the command is:
print ( 3 >= 3 )
- 3> = 3
- True
- False
- None
-
- Question 10: When to use the operator and return TRUE results?
- Both operands are TRUE.
- Both teams are FALSE.
- One of the two operands is TRUE.
- The first operand is TRUE.
-
4 ★ | 2 Vote
You should read it
- Multiple choice quiz about Python - Part 7
- Multiple choice quiz about Python - Part 2
- Multiple choice quiz about Python - Part 4
- Multiple choice quiz about Python - Part 10
- Multiple choice quiz about Python - Part 5
- Multiple choice quiz about Python - Part 6
- Multiple choice quiz about Python - Part 9
- Multiple choice quiz about Python - Part 8
May be interested
- Multiple choice quiz about Python - Part 2to help readers add to their interesting knowledge of python objects and classes, below the network administrator will send you multiple choice questions on this topic. please try.
- Multiple choice quiz about Python - Part 3today's topic quantrimang wants to challenge you is about file and exception handling in python. let's try the following 15 questions!
- Multiple choice quiz about Python - Part 4continue python's thematic quiz, part 4 goes back to the topic core data type - standard data types in python. let's try with quantrimang to try the 10 questions below.
- Multiple choice quiz about Python - Part 5if you are interested in learning about the python programming language, the following quiz of network administrator will provide useful knowledge for your learning.
- What do you know about Data Mining? - Part 2how much did you know about data mining? keep testing your knowledge with quantrimang through the following multiple choice questions!
- What do you know about Data Mining? - Part 1how much did you know about data mining? try your knowledge with quantrimang through the following data mining quiz questions!