4. Topic 4(COLON) Programming Fundamentals

Lesson 4.3: Operators, Expressions And Strings — Quiz

Test your understanding of lesson 4.3: operators, expressions and strings with 5 practice questions.

Read the lesson first

Practice Questions

Question 1

What is the result of the expression $7 \div 2$ in Python?

Question 2

What would be the result of $5 \% 2$ in Python?

Question 3

Which expression correctly evaluates to the integer division of $10$ by $3$ in Python?

Question 4

What is the length of the string 'Hello, World!' in Python?

Question 5

What will the following code output: $print('Python ' + 'is fun!')$?