Skip to content

Test Your Knowledge

Test your Python skills with the quiz below.

Question 1

What is the output of print(2 ** 3)?

Question 2

Which of the following are valid dictionary methods in Python? (Select all that apply)

Question 3

Which of the following are valid Python code? (Select all that apply)

Question 4

What is the error in the following Python code?

a = 10
b = "5"
print(a + b)

Question 5

Which query correctly handles potential NULL values in string concatenation?

Question 6

What is the derivative of

\[ f(x) = x^2 + 3x + 5 \]

Question 7

Which of the following integrals are correctly evaluated? (Select all that apply)