HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy

Courses

Teacher-curated, self-paced courses. Looking for a guided sequence through a full topic? See Learning Paths.

All CoursesLearning Paths
12 courses
Logic Circuits, Logic Expressions and Truth Tables New
Computer Science · High School (9–10) · Boolean Logic
FreeCh 10 · 3/3

How many rows does a truth table need for three inputs? How do words become a circuit?

  • Write a rule as a logic expression
  • Draw it as a circuit of gates and as a truth table
  • Go from any one form to the others, up to three inputs
3Lessons10Problems2Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
NAND, NOR and XOR Gates and Truth Tables New
Computer Science · High School (9–10) · Boolean Logic
FreeCh 10 · 2/3

How can two switches control one stair light? Can you name a logic gate from its outputs alone?

  • Meet the NAND, NOR and XOR gates
  • Set out truth tables in the standard order
  • Name an unknown logic gate from its truth table
3Lessons10Problems2Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
NOT, AND and OR Gates New
Computer Science · High School (9–10) · Boolean Logic
FreeCh 10 · 1/3

Why does a street lamp need a NOT gate? When does an AND gate give 1?

  • Learn the symbols of the logic gates
  • Find what NOT, AND and OR give for every input
  • Join two gates and work out the output
3Lessons10Problems2Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
SQL: SUM, COUNT, AND, OR and Reading Query Output New
Computer Science · High School (9–10) · Databases and SQL
FreeCh 9 · 3/3

Can one line of SQL count the records for you? How do you find members under 12 or over 65?

  • Count records with COUNT and add up a field with SUM
  • Join two conditions with AND or OR
  • Read a script's output, complete it and find its error
3Lessons10Problems2Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
SQL Queries: SELECT, WHERE and ORDER BY New
Computer Science · High School (9–10) · Databases and SQL
FreeCh 9 · 2/3

How do you ask a database for only the records you want? How do you show the newest first?

  • Choose fields with SELECT and FROM
  • Choose records with WHERE and sort them with ORDER BY
  • Work out the exact output, then run it in Python
3Lessons10Problems2Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
Database Tables, Data Types and Primary Keys New
Computer Science · High School (9–10) · Databases and SQL
FreeCh 9 · 1/3

Why should a phone number not be stored as a number? Why must one field never repeat?

  • Define a table with its fields and records
  • Choose a data type for each field and a primary key
  • Use validation to keep wrong data out
3Lessons10Problems2Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
Arrays and Files in Pseudocode New
Computer Science · High School (9–10) · Programming
FreeCh 8 · 3/3

How can one name hold a whole seating plan? What keeps your data after a program stops?

  • Declare and fill one-dimensional arrays with loops
  • Use two-dimensional arrays for rows and columns
  • Open, read, write and close text files
3Lessons10Problems2Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
Procedures, Functions and Strings in Pseudocode New
Computer Science · High School (9–10) · Programming
FreeCh 8 · 2/3

Is a variable inside a procedure seen outside it? What makes a program easy for others to read?

  • Define procedures and functions with parameters
  • Use MOD, DIV, ROUND, RANDOM and string routines
  • Write a long program another person can read
3Lessons10Problems2Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
Variables, Selection and Loops in Pseudocode New
Computer Science · High School (9–10) · Programming
FreeCh 8 · 1/3

How does a program choose what to do next? How is a REPEAT loop different from WHILE?

  • Write variables, decisions and loops in pseudocode
  • Compare each step with the Python you may know
  • Trace a program by hand to see what it outputs
3Lessons10Problems2Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
Standard Algorithms: Totals, Searching, Sorting and Validation New
Computer Science · High School (9–10) · Algorithms and Problem-Solving
FreeCh 7 · 3/3

How does a bubble sort put a list in order? Why should a program never trust what you type?

  • Find totals, counts and the highest, in pseudocode and Python
  • Search for a name and put values in order
  • Check the data a user types in before using it
3Lessons10Problems2Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
Pseudocode, Trace Tables and Testing New
Computer Science · High School (9–10) · Algorithms and Problem-Solving
FreeCh 7 · 2/3

Can you run a program without a computer? Why test a program with wrong data on purpose?

  • Write and read pseudocode step by step
  • Follow an algorithm by hand in a trace table
  • Choose test data, then find and fix errors in an algorithm
3Lessons10Problems2Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
Planning a Program: Life Cycle, Decomposition and Flowcharts New
Computer Science · High School (9–10) · Algorithms and Problem-Solving
FreeCh 7 · 1/3

Why does a programmer often go back a stage? How do you split a big system into parts?

  • Meet the four stages of the program development life cycle
  • Break a system into sub-systems with structure diagrams
  • Read and draw flowcharts with the standard symbols
3Lessons10Problems2Python Labs1Question Set1Mock Test
StemPy LabStemPy Lab
How courses work:A guide for learners and teachers