Skip to main content
Python 3, Django & FastAPI Free Public Unlimited Practice • Auto-Saved History

Free Python Online Mock Tests & Practice Assessments

Measure your Python 3 internals, generators, decorators, memory management, Django ORM query optimization, FastAPI async concurrency, and Celery background processing skills.

Topic Test Sets 642
Verified Questions 3,210
Set Duration 20 min
Pass Benchmark 70%

Assessment Format, Rules & Instructions

  • Server-Timed Assessments: Each topic test runs on an active server-validated countdown timer with mark-for-review and question palette navigation.
  • Supported Formats: Single-choice MCQs, multi-select questions, and code-output scenarios with post-submission explanations.
  • Security & Integrity: Correct answers and explanations stay hidden on the server until you submit or the timer ends.
  • Difficulty Levels Included: Beginner, Intermediate, Advanced.

Access Requirements

Public visitors can start unlimited free timed mock tests across Python topics without registration or payment (with 30-day browser attempt history). Enrolled cohort learners in Python Backend Development Training Course receive portal tracking and live trainer evaluations.

Topic-Wise Assessments

Python Mock Test Topics

PBCP • 24 Sets • 120 Qs

Module 1: Introduction to Python and Programming Fundamentals

Module Guide & Sample MCQs →

Introduction to Programming — Topic & Weekly MCQ Assessment

Topic: Introduction to Programming

5 Qs • 20 min • Pass 70%

Python Introduction — Topic & Weekly MCQ Assessment

Topic: Python Introduction

5 Qs • 20 min • Pass 70%

Python Installation — Topic & Weekly MCQ Assessment

Topic: Python Installation

5 Qs • 20 min • Pass 70%

Environment Setup — Topic & Weekly MCQ Assessment

Topic: Environment Setup

5 Qs • 20 min • Pass 70%

Python Execution — Topic & Weekly MCQ Assessment

Topic: Python Execution

5 Qs • 20 min • Pass 70%

Python Syntax — Topic & Weekly MCQ Assessment

Topic: Python Syntax

5 Qs • 20 min • Pass 70%

PBCP • 25 Sets • 125 Qs

Module 2: Python Strings, Lists, Tuples, Sets and Dictionaries

Module Guide & Sample MCQs →

Strings — Topic & Weekly MCQ Assessment

Topic: Strings

5 Qs • 20 min • Pass 70%

String Slicing — Topic & Weekly MCQ Assessment

Topic: String Slicing

5 Qs • 20 min • Pass 70%

String Methods — Topic & Weekly MCQ Assessment

Topic: String Methods

5 Qs • 20 min • Pass 70%

String Searching — Topic & Weekly MCQ Assessment

Topic: String Searching

5 Qs • 20 min • Pass 70%

String Validation — Topic & Weekly MCQ Assessment

Topic: String Validation

5 Qs • 20 min • Pass 70%

String Formatting — Topic & Weekly MCQ Assessment

Topic: String Formatting

5 Qs • 20 min • Pass 70%

PBCP • 26 Sets • 130 Qs

Module 3: Python Functions, Modules and Exception Handling

Module Guide & Sample MCQs →

Functions — Topic & Weekly MCQ Assessment

Topic: Functions

5 Qs • 20 min • Pass 70%

Function Parameters — Topic & Weekly MCQ Assessment

Topic: Function Parameters

5 Qs • 20 min • Pass 70%

Default Parameters — Topic & Weekly MCQ Assessment

Topic: Default Parameters

5 Qs • 20 min • Pass 70%

Variable Arguments — Topic & Weekly MCQ Assessment

Topic: Variable Arguments

5 Qs • 20 min • Pass 70%

Return Statements — Topic & Weekly MCQ Assessment

Topic: Return Statements

5 Qs • 20 min • Pass 70%

Variable Scope (LEGB) — Topic & Weekly MCQ Assessment

Topic: Variable Scope (LEGB)

5 Qs • 20 min • Pass 70%

PBCP • 33 Sets • 165 Qs

Module 4: Complete Python Object-Oriented Programming and File Handling

Module Guide & Sample MCQs →

OOP Introduction — Topic & Weekly MCQ Assessment

Topic: OOP Introduction

5 Qs • 20 min • Pass 70%

Classes — Topic & Weekly MCQ Assessment

Topic: Classes

5 Qs • 20 min • Pass 70%

Objects — Topic & Weekly MCQ Assessment

Topic: Objects

5 Qs • 20 min • Pass 70%

Constructors (__init__) — Topic & Weekly MCQ Assessment

Topic: Constructors (__init__)

5 Qs • 20 min • Pass 70%

self Instance Reference — Topic & Weekly MCQ Assessment

Topic: self Instance Reference

5 Qs • 20 min • Pass 70%

Instance Variables — Topic & Weekly MCQ Assessment

Topic: Instance Variables

5 Qs • 20 min • Pass 70%

PBCP • 31 Sets • 155 Qs

Module 5: Advanced Python Programming

Module Guide & Sample MCQs →

Iterables — Topic & Weekly MCQ Assessment

Topic: Iterables

5 Qs • 20 min • Pass 70%

Iterators — Topic & Weekly MCQ Assessment

Topic: Iterators

5 Qs • 20 min • Pass 70%

iter() and next() — Topic & Weekly MCQ Assessment

Topic: iter() and next()

5 Qs • 20 min • Pass 70%

Generators (yield) — Topic & Weekly MCQ Assessment

Topic: Generators (yield)

5 Qs • 20 min • Pass 70%

Generator Expressions — Topic & Weekly MCQ Assessment

Topic: Generator Expressions

5 Qs • 20 min • Pass 70%

Function Decorators — Topic & Weekly MCQ Assessment

Topic: Function Decorators

5 Qs • 20 min • Pass 70%

PBCP • 33 Sets • 165 Qs

Module 6: Python Memory Management, Concurrency and Asynchronous Programming

Module Guide & Sample MCQs →

Python Execution Model — Topic & Weekly MCQ Assessment

Topic: Python Execution Model

5 Qs • 20 min • Pass 70%

CPython Runtime Architecture — Topic & Weekly MCQ Assessment

Topic: CPython Runtime Architecture

5 Qs • 20 min • Pass 70%

Python Bytecode Compilation (dis) — Topic & Weekly MCQ Assessment

Topic: Python Bytecode Compilation (dis)

5 Qs • 20 min • Pass 70%

Memory Allocation in Python — Topic & Weekly MCQ Assessment

Topic: Memory Allocation in Python

5 Qs • 20 min • Pass 70%

Reference Counting — Topic & Weekly MCQ Assessment

Topic: Reference Counting

5 Qs • 20 min • Pass 70%

Cyclic Garbage Collection (gc) — Topic & Weekly MCQ Assessment

Topic: Cyclic Garbage Collection (gc)

5 Qs • 20 min • Pass 70%

PBCP • 33 Sets • 165 Qs

Module 7: Data Structures and Algorithms Using Python

Module Guide & Sample MCQs →

DSA Introduction — Topic & Weekly MCQ Assessment

Topic: DSA Introduction

5 Qs • 20 min • Pass 70%

Time Complexity Analysis — Topic & Weekly MCQ Assessment

Topic: Time Complexity Analysis

5 Qs • 20 min • Pass 70%

Space Complexity Analysis — Topic & Weekly MCQ Assessment

Topic: Space Complexity Analysis

5 Qs • 20 min • Pass 70%

Big O Notation (O(1), O(log n), O(n), O(n log n), O(n^2)) — Topic & Weekly MCQ Assessment

Topic: Big O Notation (O(1), O(log n), O(n), O(n log n), O(n^2))

5 Qs • 20 min • Pass 70%

Dynamic Arrays in Python Lists — Topic & Weekly MCQ Assessment

Topic: Dynamic Arrays in Python Lists

5 Qs • 20 min • Pass 70%

Array Traversal and In-Place Manipulation — Topic & Weekly MCQ Assessment

Topic: Array Traversal and In-Place Manipulation

5 Qs • 20 min • Pass 70%

PBCP • 2 Sets • 10 Qs

Module 8: Git, GitHub and Professional Development Workflow

Module Guide & Sample MCQs →

Python .gitignore Best Practices — Topic & Weekly MCQ Assessment

Topic: Python .gitignore Best Practices

5 Qs • 20 min • Pass 70%

Reviewing Python Code in PRs — Topic & Weekly MCQ Assessment

Topic: Reviewing Python Code in PRs

5 Qs • 20 min • Pass 70%

PBCP • 2 Sets • 10 Qs

Module 10: Advanced SQL and Database Design

Module Guide & Sample MCQs →

B-Tree Indexes and Query Performance — Topic & Weekly MCQ Assessment

Topic: B-Tree Indexes and Query Performance

5 Qs • 20 min • Pass 70%

Database Normalization (1NF, 2NF, 3NF) — Topic & Weekly MCQ Assessment

Topic: Database Normalization (1NF, 2NF, 3NF)

5 Qs • 20 min • Pass 70%

PBCP • 25 Sets • 125 Qs

Module 11: Python Database Connectivity and SQLAlchemy

Module Guide & Sample MCQs →

Python Database Drivers (DB-API 2.0) — Topic & Weekly MCQ Assessment

Topic: Python Database Drivers (DB-API 2.0)

5 Qs • 20 min • Pass 70%

PostgreSQL Connectivity with psycopg 3 — Topic & Weekly MCQ Assessment

Topic: PostgreSQL Connectivity with psycopg 3

5 Qs • 20 min • Pass 70%

Database Connection Lifecycle Management — Topic & Weekly MCQ Assessment

Topic: Database Connection Lifecycle Management

5 Qs • 20 min • Pass 70%

Cursors and Executing SQL Statements — Topic & Weekly MCQ Assessment

Topic: Cursors and Executing SQL Statements

5 Qs • 20 min • Pass 70%

CRUD Operations Using Raw Python — Topic & Weekly MCQ Assessment

Topic: CRUD Operations Using Raw Python

5 Qs • 20 min • Pass 70%

Parameterized Queries and SQL Injection Prevention — Topic & Weekly MCQ Assessment

Topic: Parameterized Queries and SQL Injection Prevention

5 Qs • 20 min • Pass 70%

PBCP • 3 Sets • 15 Qs

Module 12: MongoDB and NoSQL Fundamentals

Module Guide & Sample MCQs →

BSON Document Storage Format — Topic & Weekly MCQ Assessment

Topic: BSON Document Storage Format

5 Qs • 20 min • Pass 70%

Python Integration with PyMongo — Topic & Weekly MCQ Assessment

Topic: Python Integration with PyMongo

5 Qs • 20 min • Pass 70%

Asynchronous MongoDB Driver Fundamentals (Motor) — Topic & Weekly MCQ Assessment

Topic: Asynchronous MongoDB Driver Fundamentals (Motor)

5 Qs • 20 min • Pass 70%

PBCP • 27 Sets • 135 Qs

Module 13: Django Fundamentals and Architecture

Module Guide & Sample MCQs →

Django Framework Architecture (MTV) — Topic & Weekly MCQ Assessment

Topic: Django Framework Architecture (MTV)

5 Qs • 20 min • Pass 70%

Django vs Flask vs FastAPI Comparison — Topic & Weekly MCQ Assessment

Topic: Django vs Flask vs FastAPI Comparison

5 Qs • 20 min • Pass 70%

Python Virtual Environment Setup for Django — Topic & Weekly MCQ Assessment

Topic: Python Virtual Environment Setup for Django

5 Qs • 20 min • Pass 70%

Django Installation and Version Management — Topic & Weekly MCQ Assessment

Topic: Django Installation and Version Management

5 Qs • 20 min • Pass 70%

Project Creation with django-admin — Topic & Weekly MCQ Assessment

Topic: Project Creation with django-admin

5 Qs • 20 min • Pass 70%

Application Creation with startapp — Topic & Weekly MCQ Assessment

Topic: Application Creation with startapp

5 Qs • 20 min • Pass 70%

PBCP • 25 Sets • 125 Qs

Module 14: Django Advanced Development and REST API Fundamentals

Module Guide & Sample MCQs →

REST Architecture Principles — Topic & Weekly MCQ Assessment

Topic: REST Architecture Principles

5 Qs • 20 min • Pass 70%

HTTP Methods (GET, POST, PUT, PATCH, DELETE) — Topic & Weekly MCQ Assessment

Topic: HTTP Methods (GET, POST, PUT, PATCH, DELETE)

5 Qs • 20 min • Pass 70%

HTTP Status Codes (2xx, 3xx, 4xx, 5xx) — Topic & Weekly MCQ Assessment

Topic: HTTP Status Codes (2xx, 3xx, 4xx, 5xx)

5 Qs • 20 min • Pass 70%

HTTP Request Headers (Content-Type, Accept, Authorization) — Topic & Weekly MCQ Assessment

Topic: HTTP Request Headers (Content-Type, Accept, Authorization)

5 Qs • 20 min • Pass 70%

JSON Request and Response Payloads — Topic & Weekly MCQ Assessment

Topic: JSON Request and Response Payloads

5 Qs • 20 min • Pass 70%

Django REST Framework (DRF) Installation and Architecture — Topic & Weekly MCQ Assessment

Topic: Django REST Framework (DRF) Installation and Architecture

5 Qs • 20 min • Pass 70%

PBCP • 30 Sets • 150 Qs

Module 15: Django Authentication, Security and Advanced APIs

Module Guide & Sample MCQs →

Django Built-In Authentication System — Topic & Weekly MCQ Assessment

Topic: Django Built-In Authentication System

5 Qs • 20 min • Pass 70%

Default Django User Model — Topic & Weekly MCQ Assessment

Topic: Default Django User Model

5 Qs • 20 min • Pass 70%

Custom User Model (AbstractUser and AbstractBaseUser) — Topic & Weekly MCQ Assessment

Topic: Custom User Model (AbstractUser and AbstractBaseUser)

5 Qs • 20 min • Pass 70%

User Registration REST API — Topic & Weekly MCQ Assessment

Topic: User Registration REST API

5 Qs • 20 min • Pass 70%

User Login and Credential Verification API — Topic & Weekly MCQ Assessment

Topic: User Login and Credential Verification API

5 Qs • 20 min • Pass 70%

Secure Password Hashing (PBKDF2 and Argon2) — Topic & Weekly MCQ Assessment

Topic: Secure Password Hashing (PBKDF2 and Argon2)

5 Qs • 20 min • Pass 70%

PBCP • 22 Sets • 110 Qs

Module 16: Django Production Development and Backend Architecture

Module Guide & Sample MCQs →

Scalable Django Project Structure — Topic & Weekly MCQ Assessment

Topic: Scalable Django Project Structure

5 Qs • 20 min • Pass 70%

Feature-Based Application Separation — Topic & Weekly MCQ Assessment

Topic: Feature-Based Application Separation

5 Qs • 20 min • Pass 70%

Service Layer Pattern in Django — Topic & Weekly MCQ Assessment

Topic: Service Layer Pattern in Django

5 Qs • 20 min • Pass 70%

Repository / Selector Data Access Abstraction — Topic & Weekly MCQ Assessment

Topic: Repository / Selector Data Access Abstraction

5 Qs • 20 min • Pass 70%

Custom Request-Response Middleware — Topic & Weekly MCQ Assessment

Topic: Custom Request-Response Middleware

5 Qs • 20 min • Pass 70%

Django Signals and Decoupled Hooks — Topic & Weekly MCQ Assessment

Topic: Django Signals and Decoupled Hooks

5 Qs • 20 min • Pass 70%

PBCP • 27 Sets • 135 Qs

Module 17: FastAPI Fundamentals and API Development

Module Guide & Sample MCQs →

FastAPI Architecture, Starlette and ASGI Use Cases — Topic & Weekly MCQ Assessment

Topic: FastAPI Architecture, Starlette and ASGI Use Cases

5 Qs • 20 min • Pass 70%

FastAPI and Uvicorn Environment Setup — Topic & Weekly MCQ Assessment

Topic: FastAPI and Uvicorn Environment Setup

5 Qs • 20 min • Pass 70%

Scalable FastAPI Project Organization — Topic & Weekly MCQ Assessment

Topic: Scalable FastAPI Project Organization

5 Qs • 20 min • Pass 70%

Path Operations (GET, POST, PUT, PATCH, DELETE) — Topic & Weekly MCQ Assessment

Topic: Path Operations (GET, POST, PUT, PATCH, DELETE)

5 Qs • 20 min • Pass 70%

Typed Path Parameters — Topic & Weekly MCQ Assessment

Topic: Typed Path Parameters

5 Qs • 20 min • Pass 70%

Query Parameters and Filtering — Topic & Weekly MCQ Assessment

Topic: Query Parameters and Filtering

5 Qs • 20 min • Pass 70%

PBCP • 25 Sets • 125 Qs

Module 18: FastAPI Advanced Development and Database Integration

Module Guide & Sample MCQs →

Modular FastAPI Application Architecture — Topic & Weekly MCQ Assessment

Topic: Modular FastAPI Application Architecture

5 Qs • 20 min • Pass 70%

Feature Routing with APIRouter — Topic & Weekly MCQ Assessment

Topic: Feature Routing with APIRouter

5 Qs • 20 min • Pass 70%

Service Layer Business Logic Separation — Topic & Weekly MCQ Assessment

Topic: Service Layer Business Logic Separation

5 Qs • 20 min • Pass 70%

Repository Pattern for Data Access — Topic & Weekly MCQ Assessment

Topic: Repository Pattern for Data Access

5 Qs • 20 min • Pass 70%

SQLAlchemy 2.0 Integration with FastAPI — Topic & Weekly MCQ Assessment

Topic: SQLAlchemy 2.0 Integration with FastAPI

5 Qs • 20 min • Pass 70%

Request-Scoped Database Session Dependency (yield) — Topic & Weekly MCQ Assessment

Topic: Request-Scoped Database Session Dependency (yield)

5 Qs • 20 min • Pass 70%

PBCP • 1 Sets • 5 Qs

Module 19: Microservices Architecture and Distributed Systems

Module Guide & Sample MCQs →

Production gRPC in Python (grpcio, Protobuf Versioning, Deadlines, Interceptors & Streaming) — Topic & Weekly MCQ Assessment

Topic: Production gRPC in Python (grpcio, Protobuf Versioning, Deadlines, Interceptors & Streaming)

5 Qs • 20 min • Pass 70%

PBCP • 31 Sets • 155 Qs

Module 20: Redis, Celery, RabbitMQ and Kafka

Module Guide & Sample MCQs →

Redis In-Memory Data Store Introduction — Topic & Weekly MCQ Assessment

Topic: Redis In-Memory Data Store Introduction

5 Qs • 20 min • Pass 70%

Redis Data Types (Strings, Lists, Sets, Hashes, Sorted Sets) — Topic & Weekly MCQ Assessment

Topic: Redis Data Types (Strings, Lists, Sets, Hashes, Sorted Sets)

5 Qs • 20 min • Pass 70%

Core Redis CLI and redis-py Commands — Topic & Weekly MCQ Assessment

Topic: Core Redis CLI and redis-py Commands

5 Qs • 20 min • Pass 70%

Application Response and Query Caching — Topic & Weekly MCQ Assessment

Topic: Application Response and Query Caching

5 Qs • 20 min • Pass 70%

Cache Expiration and TTL Management — Topic & Weekly MCQ Assessment

Topic: Cache Expiration and TTL Management

5 Qs • 20 min • Pass 70%

Cache Invalidation and Consistency — Topic & Weekly MCQ Assessment

Topic: Cache Invalidation and Consistency

5 Qs • 20 min • Pass 70%

PBCP • 29 Sets • 145 Qs

Module 21: Python Testing and Quality Engineering

Module Guide & Sample MCQs →

Software Testing Fundamentals — Topic & Weekly MCQ Assessment

Topic: Software Testing Fundamentals

5 Qs • 20 min • Pass 70%

Testing Pyramid (Unit, Integration, Functional) — Topic & Weekly MCQ Assessment

Topic: Testing Pyramid (Unit, Integration, Functional)

5 Qs • 20 min • Pass 70%

Test-Driven Development (TDD) Fundamentals — Topic & Weekly MCQ Assessment

Topic: Test-Driven Development (TDD) Fundamentals

5 Qs • 20 min • Pass 70%

Python Built-In unittest Framework — Topic & Weekly MCQ Assessment

Topic: Python Built-In unittest Framework

5 Qs • 20 min • Pass 70%

Pytest Setup, Configuration and Execution — Topic & Weekly MCQ Assessment

Topic: Pytest Setup, Configuration and Execution

5 Qs • 20 min • Pass 70%

Writing Expressive Pytest Test Functions — Topic & Weekly MCQ Assessment

Topic: Writing Expressive Pytest Test Functions

5 Qs • 20 min • Pass 70%

PBCP • 2 Sets • 10 Qs

Module 22: Docker, Linux, Nginx and CI/CD

Module Guide & Sample MCQs →

Writing Multi-Stage Python Dockerfiles — Topic & Weekly MCQ Assessment

Topic: Writing Multi-Stage Python Dockerfiles

5 Qs • 20 min • Pass 70%

End-to-End Python Backend Deployment — Topic & Weekly MCQ Assessment

Topic: End-to-End Python Backend Deployment

5 Qs • 20 min • Pass 70%

PBCP • 34 Sets • 170 Qs

Module 23: Python Coding Challenges and Backend Technical Interviews

Module Guide & Sample MCQs →

Interview Review: Core Python Types, Mutability and Operators — Topic & Weekly MCQ Assessment

Topic: Interview Review: Core Python Types, Mutability and Operators

5 Qs • 20 min • Pass 70%

Interview Review: Lists, Tuples, Sets and Dictionary Internals — Topic & Weekly MCQ Assessment

Topic: Interview Review: Lists, Tuples, Sets and Dictionary Internals

5 Qs • 20 min • Pass 70%

Interview Review: Functions, *args/**kwargs, LEGB Scope and Recursion — Topic & Weekly MCQ Assessment

Topic: Interview Review: Functions, *args/**kwargs, LEGB Scope and Recursion

5 Qs • 20 min • Pass 70%

Interview Review: Python OOP, MRO, Duck Typing and ABCs — Topic & Weekly MCQ Assessment

Topic: Interview Review: Python OOP, MRO, Duck Typing and ABCs

5 Qs • 20 min • Pass 70%

Interview Review: Decorators, Generators, Iterators and Context Managers — Topic & Weekly MCQ Assessment

Topic: Interview Review: Decorators, Generators, Iterators and Context Managers

5 Qs • 20 min • Pass 70%

Interview Review: CPython Memory, Reference Counting, GC and GIL — Topic & Weekly MCQ Assessment

Topic: Interview Review: CPython Memory, Reference Counting, GC and GIL

5 Qs • 20 min • Pass 70%

PBCP • 3 Sets • 15 Qs

Module 24: Final Industry Capstone Project and Placement Readiness

Module Guide & Sample MCQs →

Capstone Module 9: Celery + RabbitMQ/Kafka Background Email Notifications — Topic & Weekly MCQ Assessment

Topic: Capstone Module 9: Celery + RabbitMQ/Kafka Background Email Notifications

5 Qs • 20 min • Pass 70%

Capstone Module 10: Admin Moderation & Platform Governance APIs — Topic & Weekly MCQ Assessment

Topic: Capstone Module 10: Admin Moderation & Platform Governance APIs

5 Qs • 20 min • Pass 70%

Capstone Milestone 17: Dual Service-Based & Product-Based / GCC Bar-Raiser Viva (DSA + Python LLD + HLD Defense) — Topic & Weekly MCQ Assessment

Topic: Capstone Milestone 17: Dual Service-Based & Product-Based / GCC Bar-Raiser Viva (DSA + Python LLD + HLD Defense)

5 Qs • 20 min • Pass 70%

GAIP • 17 Sets • 85 Qs

Module 1: Python Programming Fundamentals

Module Guide & Sample MCQs →

Python Installation, Interpreter, Execution and Virtual Environments — Topic & Module Assessment

Topic: Python Installation, Interpreter, Execution and Virtual Environments

5 Qs • 20 min • Pass 70%

Variables, Identifiers, Keywords and Comments — Topic & Module Assessment

Topic: Variables, Identifiers, Keywords and Comments

5 Qs • 20 min • Pass 70%

Numeric, String, Boolean and None Data Types — Topic & Module Assessment

Topic: Numeric, String, Boolean and None Data Types

5 Qs • 20 min • Pass 70%

Type Conversion and Type Checking — Topic & Module Assessment

Topic: Type Conversion and Type Checking

5 Qs • 20 min • Pass 70%

Operators and Expressions — Topic & Module Assessment

Topic: Operators and Expressions

5 Qs • 20 min • Pass 70%

Conditional Statements and Loops — Topic & Module Assessment

Topic: Conditional Statements and Loops

5 Qs • 20 min • Pass 70%

GAIP • 19 Sets • 95 Qs

Module 2: Advanced Python, OOP and Software Engineering

Module Guide & Sample MCQs →

Classes, Objects, Constructors and Instance Variables — Topic & Module Assessment

Topic: Classes, Objects, Constructors and Instance Variables

5 Qs • 20 min • Pass 70%

Encapsulation, Inheritance and Polymorphism — Topic & Module Assessment

Topic: Encapsulation, Inheritance and Polymorphism

5 Qs • 20 min • Pass 70%

Abstraction, Interfaces and Composition — Topic & Module Assessment

Topic: Abstraction, Interfaces and Composition

5 Qs • 20 min • Pass 70%

Class Methods and Static Methods — Topic & Module Assessment

Topic: Class Methods and Static Methods

5 Qs • 20 min • Pass 70%

Magic Methods and Properties — Topic & Module Assessment

Topic: Magic Methods and Properties

5 Qs • 20 min • Pass 70%

Iterators and Generators — Topic & Module Assessment

Topic: Iterators and Generators

5 Qs • 20 min • Pass 70%

GAIP • 3 Sets • 15 Qs

Module 3: Mathematics, Statistics and Data Analysis for AI

Module Guide & Sample MCQs →

Norms and Vector Magnitude (L1, L2, Max Norm) — Topic & Module Assessment

Topic: Norms and Vector Magnitude (L1, L2, Max Norm)

5 Qs • 20 min • Pass 70%

Probability Distributions (Uniform, Bernoulli, Gaussian, Categorical/Softmax) — Topic & Module Assessment

Topic: Probability Distributions (Uniform, Bernoulli, Gaussian, Categorical/Softmax)

5 Qs • 20 min • Pass 70%

Information Theory for LLMs: Entropy, Cross-Entropy Loss, KL Divergence & Perplexity — Topic & Module Assessment

Topic: Information Theory for LLMs: Entropy, Cross-Entropy Loss, KL Divergence & Perplexity

5 Qs • 20 min • Pass 70%

GAIP • 19 Sets • 95 Qs

Module 4: NumPy, Pandas, Data Visualization and SQL

Module Guide & Sample MCQs →

NumPy Arrays, Dimensions, Shapes and Data Types — Topic & Module Assessment

Topic: NumPy Arrays, Dimensions, Shapes and Data Types

5 Qs • 20 min • Pass 70%

Array Indexing, Slicing and Broadcasting — Topic & Module Assessment

Topic: Array Indexing, Slicing and Broadcasting

5 Qs • 20 min • Pass 70%

Vectorized Operations — Topic & Module Assessment

Topic: Vectorized Operations

5 Qs • 20 min • Pass 70%

Matrix Operations and Linear Algebra with NumPy — Topic & Module Assessment

Topic: Matrix Operations and Linear Algebra with NumPy

5 Qs • 20 min • Pass 70%

Pandas Series and DataFrames — Topic & Module Assessment

Topic: Pandas Series and DataFrames

5 Qs • 20 min • Pass 70%

Reading CSV, Excel, JSON and Parquet — Topic & Module Assessment

Topic: Reading CSV, Excel, JSON and Parquet

5 Qs • 20 min • Pass 70%

GAIP • 1 Sets • 5 Qs

Module 5: Machine Learning Fundamentals

Module Guide & Sample MCQs →

Feature Scaling and Categorical Encoding (ColumnTransformer) — Topic & Module Assessment

Topic: Feature Scaling and Categorical Encoding (ColumnTransformer)

5 Qs • 20 min • Pass 70%

GAIP • 1 Sets • 5 Qs

Module 7: Natural Language Processing Fundamentals

Module Guide & Sample MCQs →

Text Normalization and Unicode Preprocessing — Topic & Module Assessment

Topic: Text Normalization and Unicode Preprocessing

5 Qs • 20 min • Pass 70%

GAIP • 22 Sets • 110 Qs

Module 8: Transformers and Attention Architecture

Module Guide & Sample MCQs →

Limitations of Traditional Sequence Models — Topic & Module Assessment

Topic: Limitations of Traditional Sequence Models

5 Qs • 20 min • Pass 70%

RNN, GRU and LSTM Overview — Topic & Module Assessment

Topic: RNN, GRU and LSTM Overview

5 Qs • 20 min • Pass 70%

Transformer Architecture Overview — Topic & Module Assessment

Topic: Transformer Architecture Overview

5 Qs • 20 min • Pass 70%

Encoder and Decoder Roles — Topic & Module Assessment

Topic: Encoder and Decoder Roles

5 Qs • 20 min • Pass 70%

Self-Attention Intuition and Contextual Representations — Topic & Module Assessment

Topic: Self-Attention Intuition and Contextual Representations

5 Qs • 20 min • Pass 70%

Query, Key and Value (Q, K, V) Projections — Topic & Module Assessment

Topic: Query, Key and Value (Q, K, V) Projections

5 Qs • 20 min • Pass 70%

GAIP • 20 Sets • 100 Qs

Module 11: LLM APIs and Application Development with Python

Module Guide & Sample MCQs →

Model Provider API Fundamentals (Responses & Messages Contracts) — Topic & Module Assessment

Topic: Model Provider API Fundamentals (Responses & Messages Contracts)

5 Qs • 20 min • Pass 70%

API Keys, SecretStr and Environment Configuration — Topic & Module Assessment

Topic: API Keys, SecretStr and Environment Configuration

5 Qs • 20 min • Pass 70%

Python SDK Integration and Client Lifecycle — Topic & Module Assessment

Topic: Python SDK Integration and Client Lifecycle

5 Qs • 20 min • Pass 70%

Request and Response Lifecycle Inspection — Topic & Module Assessment

Topic: Request and Response Lifecycle Inspection

5 Qs • 20 min • Pass 70%

Text Generation APIs — Topic & Module Assessment

Topic: Text Generation APIs

5 Qs • 20 min • Pass 70%

Streaming Responses (Sync & Async Iterators) — Topic & Module Assessment

Topic: Streaming Responses (Sync & Async Iterators)

5 Qs • 20 min • Pass 70%

GAIP • 2 Sets • 10 Qs

Module 12: Hugging Face and Open-Source LLM Ecosystem

Module Guide & Sample MCQs →

Transformers Library Core (`AutoModel` & `AutoConfig`) — Topic & Module Assessment

Topic: Transformers Library Core (`AutoModel` & `AutoConfig`)

5 Qs • 20 min • Pass 70%

Enterprise Cloud AI Platforms Overview (AWS Bedrock, Azure OpenAI & Vertex AI — Service-Based MNC Delivery) — Topic & Module Assessment

Topic: Enterprise Cloud AI Platforms Overview (AWS Bedrock, Azure OpenAI & Vertex AI — Service-Based MNC Delivery)

5 Qs • 20 min • Pass 70%

GAIP • 2 Sets • 10 Qs

Module 13: Embeddings and Semantic Search

Module Guide & Sample MCQs →

Open-Source Embedding Models (Sentence-Transformers, BGE, E5, Nomic) — Topic & Module Assessment

Topic: Open-Source Embedding Models (Sentence-Transformers, BGE, E5, Nomic)

5 Qs • 20 min • Pass 70%

Embedding L2 Normalization — Topic & Module Assessment

Topic: Embedding L2 Normalization

5 Qs • 20 min • Pass 70%

GAIP • 20 Sets • 100 Qs

Module 14: Vector Databases and Information Retrieval

Module Guide & Sample MCQs →

Vector Database Fundamentals — Topic & Module Assessment

Topic: Vector Database Fundamentals

5 Qs • 20 min • Pass 70%

Vector Indexing and Exact vs Approximate Similarity Search — Topic & Module Assessment

Topic: Vector Indexing and Exact vs Approximate Similarity Search

5 Qs • 20 min • Pass 70%

Approximate Nearest Neighbor (ANN) Algorithms: HNSW and IVF — Topic & Module Assessment

Topic: Approximate Nearest Neighbor (ANN) Algorithms: HNSW and IVF

5 Qs • 20 min • Pass 70%

FAISS (Facebook AI Similarity Search) — Topic & Module Assessment

Topic: FAISS (Facebook AI Similarity Search)

5 Qs • 20 min • Pass 70%

Chroma Vector Store — Topic & Module Assessment

Topic: Chroma Vector Store

5 Qs • 20 min • Pass 70%

Qdrant Vector Database — Topic & Module Assessment

Topic: Qdrant Vector Database

5 Qs • 20 min • Pass 70%

GAIP • 1 Sets • 5 Qs

Module 15: Complete RAG Application Development

Module Guide & Sample MCQs →

Text Cleaning, De-Hyphenation and Normalization — Topic & Module Assessment

Topic: Text Cleaning, De-Hyphenation and Normalization

5 Qs • 20 min • Pass 70%

GAIP • 1 Sets • 5 Qs

Module 16: Advanced RAG, Retrieval Optimization and RAG Security

Module Guide & Sample MCQs →

RAG Performance, Caching and Cost Optimization — Topic & Module Assessment

Topic: RAG Performance, Caching and Cost Optimization

5 Qs • 20 min • Pass 70%

GAIP • 1 Sets • 5 Qs

Module 17: AI Agents and Tool Calling

Module Guide & Sample MCQs →

Connecting Pure Python Functions as Safe Tools — Topic & Module Assessment

Topic: Connecting Pure Python Functions as Safe Tools

5 Qs • 20 min • Pass 70%

GAIP • 2 Sets • 10 Qs

Module 19: Model Context Protocol and Enterprise AI Integrations

Module Guide & Sample MCQs →

Building an MCP Server in Python (FastMCP / mcp SDK) — Topic & Module Assessment

Topic: Building an MCP Server in Python (FastMCP / mcp SDK)

5 Qs • 20 min • Pass 70%

Connecting an MCP Client in Python — Topic & Module Assessment

Topic: Connecting an MCP Client in Python

5 Qs • 20 min • Pass 70%

GAIP • 1 Sets • 5 Qs

Module 20: Fine-Tuning LLMs and Model Adaptation

Module Guide & Sample MCQs →

Instruction and Chat Dataset Formatting — Topic & Module Assessment

Topic: Instruction and Chat Dataset Formatting

5 Qs • 20 min • Pass 70%

GAIP • 1 Sets • 5 Qs

Module 22: GenAI Security, Privacy and Responsible AI

Module Guide & Sample MCQs →

Sensitive Information and System-Prompt Disclosure Prevention — Topic & Module Assessment

Topic: Sensitive Information and System-Prompt Disclosure Prevention

5 Qs • 20 min • Pass 70%

GAIP • 5 Sets • 25 Qs

Module 23: Production Deployment, Observability and System Design

Module Guide & Sample MCQs →

FastAPI Fundamentals and Lifespan Architecture for AI Backends — Topic & Module Assessment

Topic: FastAPI Fundamentals and Lifespan Architecture for AI Backends

5 Qs • 20 min • Pass 70%

Async Endpoints vs Event-Loop Blocking Pitfalls — Topic & Module Assessment

Topic: Async Endpoints vs Event-Loop Blocking Pitfalls

5 Qs • 20 min • Pass 70%

Authentication and Workspace RBAC in FastAPI — Topic & Module Assessment

Topic: Authentication and Workspace RBAC in FastAPI

5 Qs • 20 min • Pass 70%

Async PostgreSQL + pgvector Database Integration — Topic & Module Assessment

Topic: Async PostgreSQL + pgvector Database Integration

5 Qs • 20 min • Pass 70%

Production LLM Observability Platforms (Langfuse / Phoenix / OpenTelemetry GenAI Semantic Conventions) — Topic & Module Assessment

Topic: Production LLM Observability Platforms (Langfuse / Phoenix / OpenTelemetry GenAI Semantic Conventions)

5 Qs • 20 min • Pass 70%

GAIP • 11 Sets • 55 Qs

Module 24: Capstone, System Design and Placement Preparation

Module Guide & Sample MCQs →

Technical Interview Review: Python Programming, Typing & OOP — Topic & Module Assessment

Topic: Technical Interview Review: Python Programming, Typing & OOP

5 Qs • 20 min • Pass 70%

Technical Interview Review: Python Data Structures & Algorithms — Topic & Module Assessment

Topic: Technical Interview Review: Python Data Structures & Algorithms

5 Qs • 20 min • Pass 70%

Technical Interview Review: NumPy, Pandas & SQL Data Prep — Topic & Module Assessment

Topic: Technical Interview Review: NumPy, Pandas & SQL Data Prep

5 Qs • 20 min • Pass 70%

Technical Interview Review: NLP & Transformer Architecture — Topic & Module Assessment

Topic: Technical Interview Review: NLP & Transformer Architecture

5 Qs • 20 min • Pass 70%

Technical Interview Review: FastAPI, SSE, Docker & Production Ops — Topic & Module Assessment

Topic: Technical Interview Review: FastAPI, SSE, Docker & Production Ops

5 Qs • 20 min • Pass 70%

Machine Coding #2: Strict Pydantic Structured Information Extractor — Topic & Module Assessment

Topic: Machine Coding #2: Strict Pydantic Structured Information Extractor

5 Qs • 20 min • Pass 70%

Sample Python Mock Questions & Explanations

SAMPLE Q1 • Introduction to Programming

In Core Python 3.12, what is the primary production engineering use case of 'Introduction to Programming'?

Reveal Solution Explanation

'Introduction to Programming' is used in production Core Python 3.12 specifically for: Breaking complex backend business rules (like tiered utility billing) into deterministic input -> process -> output steps before coding.

SAMPLE Q2 • Introduction to Programming

Which critical pitfall MUST a Python backend developer avoid when working with 'Introduction to Programming'?

Reveal Solution Explanation

A frequent real-world bug with 'Introduction to Programming' is: Jumping straight into typing syntax without handling zero, negative, or empty boundary inputs in your algorithm.

SAMPLE Q3 • Introduction to Programming

Which technical scope accurately describes the core mechanics of 'Introduction to Programming'?

Reveal Solution Explanation

Core technical coverage of 'Introduction to Programming' comprises: Programming concepts, step-by-step algorithms, flowcharts, dry-running, and structured problem-solving.

SAMPLE Q4 • Introduction to Programming

When completing the hands-on verification lab for 'Introduction to Programming', what is the expected engineering deliverable?

Reveal Solution Explanation

Practical mastery of 'Introduction to Programming' is verified through: Write step-by-step pseudocode and dry-run edge cases for a tiered Electricity Bill Calculator.

SAMPLE Q5 • Introduction to Programming

During a Python Backend technical interview on 'Introduction to Programming', what demonstrates job-ready production competency?

Reveal Solution Explanation

Interviewers evaluate internal understanding (Programming concepts, step-by-step algorithms, flowcharts, dry-running, and structured problem-solving), pitfall awareness, and clean Python implementation.

Related Career Programs

Python Backend Development Training Course

6 Months (24 Weeks) + 3 Months Revision, Doubt & OA/HackerRank Support • ₹45,000 + 18% GST

Generative AI & Agentic AI Training Course (Python)

6 Months (24 Weeks) + 3 Months Revision, Doubt & OA/HackerRank Support • ₹45,000 + 18% GST

Browse Other Technology Mock Tests

Learn. Practise. Prove. Get Career-Ready.

Ready to Build Your IT Career?

Explore industry-led programmes and develop practical skills through training, assessments and interview preparation.