OBJECTIVE ASSESSMENT COMPREHENSIVE
TEST PAPER 2026 QUESTIONS WITH
ANSWERS GRADED A+
⫸ Python is Answer: readable
dynamically typed
extensive standard library
cross plat
versatile
interpreted nature
⫸ Programming Paradigm Answer: a fundamental style or approach to
programming that dictates how tasks should be structured and executed
in each programming language. It encompasses principles, concepts, and
patterns that guide the design and organization of code.
⫸ imperative/procedural programming Answer: focuses on describing a
sequence of steps to perform a task, procedures or routines.
⫸ object-oriented programming (OOP) Answer: organizes code around
objects, which encapsulate data and behavior
,⫸ functional programming Answer: emphasizes the use of functions
and immutable data for computation
⫸ declarative programming Answer: describes what the program should
accomplish without specifying how to achieve it
⫸ event-driven programming Answer: reacts to events and user actions,
triggering corresponding functions
⫸ logic programming Answer: defines a set of logical conditions and
lets the system deduce solutions
⫸ indentation Answer: defines blocks of code. crucial for structure and
nesting of code blocks
(4 spaces)
⫸ comments Answer: #
ignored by interpreter, for humans
⫸ Variable Answer: used to store data, created by assigning a value to a
name
⫸ Data Types Answer: integers, floats, strings, lists, tuples, dictionaries
, ⫸ conditional statements Answer: if, else, elif (else if)
⫸ Classes Answer: (also objects) fundamental to object oriented
programming in python.
⫸ print () Answer: used to output data to the console
print ("hello")
⫸ functions Answer: defined using def
def greet(name):
print ("Hello, name")
⫸ run python script in cmd prompt Answer: python script.py
⫸ How to run phython script in Python3 Answer: python3 script.py
⫸ Integrated Development Environments (IDEs) Answer: provide a
more user-friendly environment for coding, debugging, and running
Python scripts