UPDATED 2026 STUDY PAPER WITH
VERIFIED QUESTIONS AND FULL
SOLUTION GUIDE
⩥ Input. Answer: Data that is entered into the computer system via an
input or storage device.
⩥ Process. Answer: A series of actions or steps taken to achieve an end
⩥ Output. Answer: Data that has been processed into a useful format.
⩥ Variables. Answer: A named item in a program, such as x or
num_people, used to hold a value
⩥ Interactive Interpreter. Answer: a program that allows the user to
execute one line of code at a time
⩥ Code. Answer: Common word for the textual representation of a
program
⩥ Prompt ('>>>'). Answer: A signal that the interpreter is ready to accept
code
,⩥ Statement. Answer: A program instruction
⩥ Expressions. Answer: A combination of items, like variables, literals,
and parentheses, that evaluates to a value, like 2*(x=1).
Codes that return a value when evaluated
⩥ Assignment. Answer: Creates a new variable using the '=' symbol
⩥ " = ". Answer: assignment operator (NOT EQUALITY)
= is an assignment of a left-side variable with a right-side value
⩥ print(). Answer: Displays variables or expression values
Always adds a newline character after the output
⩥ " # ". Answer: Comments
⩥ Comments. Answer: Uses "#"
Can be used to explain portions of the code to human readers and will be
ignored by the program
⩥ String Literal. Answer: ('Hello World')
,Text enclosed in quotes that will be read as actual text by the program.
May have letters, numbers, spaces, or symbols
⩥ end=' '. Answer: keeps the next print's output on the same line
separated by a single space
⩥ Comma ( , ). Answer: Allows printing multiple items using a single
print() statement.
print('Wage: ', wage)
⩥ Newline Character. Answer: Output can be moved to the next line by
printing \n
print("'\n2\n3') gives
1
2
3
⩥ \n. Answer: Newline
⩥ Whitespace. Answer: Any space, tab, or newline
Empty space in the program
, ⩥ input(). Answer: Data that is entered into the computer system via an
input or storage device.
Causes the interpreter to wait until the user has entered data of some
kind
⩥ String. Answer: Represents a sequence of characters
⩥ type(). Answer: returns what "type" of data ex: int, float, str
⩥ int(). Answer: Converts strings to integers
my_string = '123'
my_int = int('123')
⩥ Syntax Error. Answer: a mistake in the program where the rules of the
programming language are not followed.
⩥ Runtime Error. Answer: Error wherein a program's syntax is correct
but the program attempts an impossible operation. (dividing by zero,
multiplying strings like 'Hello' * 'ABC')
⩥ Crash. Answer: An abrupt and unintended termination of a program
⩥ SyntaxError. Answer: The program contains invalid code that cannot
be understood