
Quick revision checklist
Make sure you can confidently explain:- variable, literal, and data type
- list vs tuple vs set vs dictionary
- arithmetic, logical, identity, and membership operators
- indexing, slicing, and string methods
- type conversion and common runtime errors
Frequently asked questions
1) What is the difference between = and ==?
=assigns value to variable==compares two values
2) Why does input() need int() for numbers?
Because input() returns a string by default.
3) Difference between is and ==?
==compares valuesiscompares object identity (same object in memory)
4) Why are strings immutable?
For memory efficiency and safe behavior in many operations.5) What is the difference between list and tuple?
- list: mutable
- tuple: immutable
6) Why do we use split() and join()?
split()converts text to listjoin()combines list items into text
Most expected exam question types
- define term + give example
- output prediction from short code
- find error and correct code
- write short program using operators/strings
Final advice for exams
- memorize key definitions in one notebook page
- practice output prediction daily
- write code with indentation and naming discipline
- solve past paper questions in timed mode
