HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClassesGroups

>_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 →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data 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
  • Blog

Account

  • Dashboard
  • My Content
  • Profile
  • Log in
© 2026 senLearn. All rights reserved.HelpAboutContactPrivacy PolicyTerms of UseRefund Policy

Quizzes

Quick multiple-choice questions shared by teachers and students.

+ Create a Quiz

Choose a topic to see its subtopics.

Exam:
361 quizzes
A loop follows a culture of *Amoeba* through four divisions. What does it print? `N = 70; for i in range(4):; N = 2 * N; print(N)` New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
Board Exam, PCEP (Python Institute)
StemPy LabStemPy Lab
Easy
A culture of 160 cells doubles every 35 min. What does this print? `print(160 * 2 ** (105 / 35))` New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
Board Exam, PCEP (Python Institute)
StemPy LabStemPy Lab
Easy
One logistic step for a pond of algae. What does it print? `r, K, N, dt = 0.25, 1500, 375, 2; N = N + r * N * (1 - N / K) * dt; print(N)` New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
Board Exam, PCEP (Python Institute)
StemPy LabStemPy Lab
Medium
Green pods (G) are dominant over yellow (g). What gametes does this line list? `print(list("Gg"))` New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
Board Exam, PCEP (Python Institute)
StemPy LabStemPy Lab
Easy
Inflated pods (I) are dominant over constricted ones (i). A function says `"inflated" if g == "II" else "constricted"`. What ratio does it report for the boxes of Ii with Ii? New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
Board Exam, PCEP (Python Institute)
StemPy LabStemPy Lab
Medium
A quartz grain is silica. What does this print? `d = {"Si": 28.09, "O": 16.00}; print(round(d["Si"] + 2 * d["O"], 2))` New
High School (11–12), High School (9–10), Undergraduate, General · Chemistry by Computer
Board Exam, PCEP (Python Institute)
StemPy LabStemPy Lab
Easy
A factory's yield function is called. What does it print? `def pct(actual, theory):; return round(100 * actual / theory, 1); print(pct(42, 48))` New
High School (11–12), High School (9–10), Undergraduate, General · Chemistry by Computer
Board Exam, PCEP (Python Institute)
StemPy LabStemPy Lab
Easy
Copper sulphate solution, 80 mL at 0.35 mol/L: what does this print? `print(0.35 * 80 / 1000)` New
High School (11–12), High School (9–10), Undergraduate, General · Chemistry by Computer
Board Exam, PCEP (Python Institute)
StemPy LabStemPy Lab
Easy
A titration function is called as `end_point(0.1, 20)`, but it is defined as `def end_point(acid_M, acid_mL, base_M, ratio=1)`. What happens? New
High School (11–12), High School (9–10), Undergraduate, General · Chemistry by Computer
Board Exam, PCEP (Python Institute)
StemPy LabStemPy Lab
Medium
Why does assertEqual(0.1 + 0.2, 0.3) fail, while assertAlmostEqual(0.1 + 0.2, 0.3) passes?
High School (11–12), High School (9–10), Undergraduate, General · Testing and Debugging
A-Level, PCEP (Python Institute)
StemPy LabStemPy Lab
Medium
What is "Asha:72".split(":")[1], and what type is it?
High School (11–12), High School (9–10), Undergraduate, General · Files and Data Formats
Board Exam, PCEP (Python Institute), PCAP (Python Institute)
StemPy LabStemPy Lab
Medium
contacts = {"ravi": "98765"}. What does contacts.get("Ravi".lower()) give?
High School (9–10), High School (11–12), Undergraduate, General · Essentials Projects
Board Exam, PCEP (Python Institute)
StemPy LabStemPy Lab
Medium
Splitting at a comma: what does print(len("a,b,,c".split(","))) show?
High School (9–10), High School (11–12), Undergraduate, General · Text Processing
Board Exam, PCEP (Python Institute), PCAP (Python Institute)
StemPy LabStemPy Lab
Medium
count() counts pieces that do not overlap. What does print("banana".count("an")) show?
High School (9–10), High School (11–12), Undergraduate, General · Text Processing
Board Exam, PCEP (Python Institute), PCAP (Python Institute)
StemPy LabStemPy Lab
Easy
What does print(" Hello World ".strip().lower()) show?
High School (9–10), High School (11–12), Undergraduate, General · Text Processing
Board Exam, PCEP (Python Institute), PCAP (Python Institute)
StemPy LabStemPy Lab
Easy
def m(n) returns n when n < 10, and otherwise m(n // 10). What is m(4729)?
High School (9–10), High School (11–12), Undergraduate, General · Recursion
Board Exam, A-Level, IB, PCEP (Python Institute)
StemPy LabStemPy Lab
Medium
def g(n): if n == 1, return 1; else return 2 * g(n - 1). What is g(5)?
High School (9–10), High School (11–12), Undergraduate, General · Recursion
Board Exam, A-Level, IB, PCEP (Python Institute)
StemPy LabStemPy Lab
Medium
A recursive function on a list returns 0 for []. For a longer list it returns 1 + itself on items[1:]. What does it work out?
High School (9–10), High School (11–12), Undergraduate, General · Recursion
Board Exam, A-Level, IB, PCEP (Python Institute)
StemPy LabStemPy Lab
Medium
def p(n): print(n), then p(n - 1) if n > 1. How many lines does p(5) show?
High School (9–10), High School (11–12), Undergraduate, General · Recursion
Board Exam, A-Level, IB, PCEP (Python Institute)
StemPy LabStemPy Lab
Easy
Sorting by a key: what does print(sorted(['kiwi', 'fig', 'banana'], key=len)) show?
High School (9–10), High School (11–12), Undergraduate, General · Searching and Sorting
Board Exam, PCEP (Python Institute), PCAP (Python Institute)
StemPy LabStemPy Lab
Medium
Text and a number do not add. Which error does "5" + 5 give?
High School (9–10), High School (11–12), Undergraduate, General · Errors and Exceptions
Board Exam, PCEP (Python Institute)
StemPy LabStemPy Lab
Easy
A missing key: which error does {"a": 1}["b"] give?
High School (9–10), High School (11–12), Undergraduate, General · Errors and Exceptions
Board Exam, PCEP (Python Institute)
StemPy LabStemPy Lab
Easy
Swapping by unpacking: after a, b = 3, 8 and then a, b = b, a, what is a?
High School (9–10), High School (11–12), Undergraduate, General · Tuples and Sets
Board Exam, PCEP (Python Institute)
StemPy LabStemPy Lab
Easy
A tuple can be a dictionary key. What does print({(1, 2): "A", (3, 4): "B"}[(3, 4)]) show?
High School (9–10), High School (11–12), Undergraduate, General · Tuples and Sets
Board Exam, PCEP (Python Institute)
StemPy LabStemPy Lab
Medium
in looks at the keys. What does print("pen" in {"pen": 10, "ruler": 15}) show?
High School (9–10), High School (11–12), Undergraduate, General · Dictionaries
Board Exam, PCEP (Python Institute)
StemPy LabStemPy Lab
Easy
Page 1 of 15
…

Showing 1–25 of 361