Practice Question Bank
Multiple Choice Questions (MCQs)
1. Which of the following is an example of a keyword in Python? (a) if (b) sum (c) data (d) box
2. Which one of these can be used as a variable name? (a) for (b) apple (c) while (d) if
3. In Python, variables are used to: (a) Store data (b) Perform arithmetic (c) Both (a) and (b) (d)
None
4. Which arithmetic operator is used for multiplication? (a) + (b) - (c) * (d) /
5. The word 'else' in Python is a: (a) Variable (b) Keyword (c) Operator (d) Function
Short Answer Questions
1. What is the importance of keywords in Python?
2. Explain what a variable is with one example.
3. Write two differences between a keyword and a variable.
4. How do you declare a variable in Python? Give an example.
5. What will be the output of: print(5 + 3 * 2)?