Programming & LogicClasses 7–7150 min

Coding & Creative Logic

Master Lists & Arrays, Zero-Indexing, List Updating, Searching Algorithms, Functions with Parameters, Return Values, 2D Grids, and Game Loops!

Course Chapters & Learning Modules

Total 10 interactive modules with guided checkpoint challenges.

1

Module 1 — Lists and Arrays

Learn what lists and arrays are, why they organize related data under one variable, and how to measure length.

Open Chapter →
2

Module 2 — Indexing

Master zero-based indexing, positive and negative position offsets, and preventing IndexError crashes.

Open Chapter →
3

Module 3 — Add and Remove Items

Explore dynamic list mutation: append(), insert(), remove(), pop(), index shifting, and list resizing.

Open Chapter →
4

Module 4 — Searching in Lists

Search algorithms: membership testing with 'in', linear searching, index lookup, match counting, and handling 'not found'.

Open Chapter →
5

Module 5 — Functions with Parameters

Build reusable code blocks: function definitions (def), parameter placeholders, argument passing, and clean logic.

Open Chapter →
6

Module 6 — Return Values

Send results back: return vs. print, capturing values in variables, expression chaining, and early returns.

Open Chapter →
7

Module 7 — 2D Grids

Model 2D spaces: lists of lists, row and column coordinates, grid traversal with nested loops, and cell updates.

Open Chapter →
8

Module 8 — Game Loop Logic

Build interactive loops: Input -> Update -> Render, game state management, frame rates, and safe exit conditions.

Open Chapter →
9

Module 9 — Mini Logic Project: Treasure Grid Hunt

Synthesize lists, 2D grids, functions, return values, movement validation, and game loop logic into a working game.

Open Chapter →
10

Module 10 — Combined Revision & Test

Synthesize all Class 7 Topic 1 concepts: lists, indexing, searching, functions, return values, 2D grids, and complete the 10-Question Checkpoint Quiz.

Open Chapter →

Learn With Pragati AI Today

Adopt your interactive companion, write live code, and earn verifiable school credentials.