Get Ahead with Our Exam Q&A

Explore our extensive collection of questions and answers to enhance your learning experience and prepare for exams effectively

time.time() returns the current time as a timestamp in seconds since epoch.

Inheritance allows a class to reuse code from another class.

Abstraction hides complex implementation, exposing only necessary details.

Polymorphism allows methods to be implemented differently in derived classes.

Encapsulation bundles data and methods within a class, restricting access.

ModuleNotFoundError is raised when a module cannot be found.

sys.path returns a list of directories where Python searches for modules.

The os module provides functions for file and directory operations.

date.today() returns the current date, e.g., 2025-07-23.

There’s no direct method; check sys.modules to see loaded modules.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!

    [honeypot honeypot-100]