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
- eQuiz - VB.NET testing test - Part 2in the previous article, i showed you the first part of the vb.net test. and this time, we will continue with part 2 of this popular quiz series on programming languages, the whole test will have 15 questions with unlimited response time.
- eQuiz - Multiple choice test on JDBC - Part 1in the quiz below, we will introduce you to part 1 of the jdbc basic knowledge test series with 15 questions.
- eQuiz - Quiz on Core Java - Part 2in the quiz below, you will be able to try out part 2 of the series related to core java - one of the most popular programming languages today. in total, the test will have 15 questions in the form of multiple choice, with an unlimited response time ...
- JAVA P8 test quizif you are interested in learning about the java programming language, the following quiz of network administrator will provide you with a lot of useful knowledge for your learning.
- Testing of computer architecture - Part 2next to this topic, in the quiz below will be more challenging, let's start.
- What do you know about iPhone? Doing this test will be clear (part 2)do multiple-choice questions about iphone in part 1 make it difficult for you? try the next 10 questions about the iphone.
- Multiple choice questions about Photoshop - Part 1a set of multiple-choice questions about photoshop for you to try and understand.
- [QUIZ] Test your understanding of SQL - Part 5multiple-choice questions on sql help you familiarize and review useful knowledge for work and learning sql language.
- What do you know about iPhone? Doing this test will be clear (part 1)as a smartphone user, maybe also holding the iphone in your hand, what do you really know about this apple pet's baby? let's take the quiz below to answer that question.
- [QUIZ] Test your understanding of SQL - Part 4let's try our knowledge with multiple choice questions about sql database management system.