PCEP Module 2: Python Data Types, Variables, Operators & Basic I/O | Study
Guide & Practice Questions 2026
print function - ANS ✔✔built-in python function to output text or values
python literal - ANS ✔✔a fixed value written directly in the code
integer literal - ANS ✔✔whole number literal, e.g., 10, -3, 0
float literal - ANS ✔✔number literal with a decimal point, e.g., 3.14
string literal - ANS ✔✔sequence of characters in quotes, e.g., "hello"
boolean literal - ANS ✔✔true or false value in python
operator - ANS ✔✔symbol that performs a specific action on values or variables
arithmetic operator - ANS ✔✔operator for math operations like +, -, , /
modulus operator - ANS ✔✔% operator that returns the remainder of division
floor division - ANS ✔✔// operator that returns division result without remainder
exponent operator - ANS ✔✔** operator that raises a number to a power
assignment operator - ANS ✔✔= operator that assigns a value to a variable
Guide & Practice Questions 2026
print function - ANS ✔✔built-in python function to output text or values
python literal - ANS ✔✔a fixed value written directly in the code
integer literal - ANS ✔✔whole number literal, e.g., 10, -3, 0
float literal - ANS ✔✔number literal with a decimal point, e.g., 3.14
string literal - ANS ✔✔sequence of characters in quotes, e.g., "hello"
boolean literal - ANS ✔✔true or false value in python
operator - ANS ✔✔symbol that performs a specific action on values or variables
arithmetic operator - ANS ✔✔operator for math operations like +, -, , /
modulus operator - ANS ✔✔% operator that returns the remainder of division
floor division - ANS ✔✔// operator that returns division result without remainder
exponent operator - ANS ✔✔** operator that raises a number to a power
assignment operator - ANS ✔✔= operator that assigns a value to a variable