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:
231 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
Counting times for a growth experiment, in minutes. What does this print? `import numpy as np; t = np.arange(0, 61, 15); print(len(t), t[-1])` New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
Board Exam
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
Three elements of period 5 are in a table. What does this print? `import pandas as pd; df = pd.DataFrame({"sym": ["Sr", "Ba", "Cd"], "ie": [549, 503, 868]}); print(df["ie"].max())` New
High School (11–12), High School (9–10), Undergraduate, General · Chemistry by Computer, Data Analysis with pandas
Board Exam
StemPy LabStemPy Lab
Easy
The same table is sorted. What does this print? `import pandas as pd; df = pd.DataFrame({"sym": ["Sr", "Ba", "Cd"], "ie": [549, 503, 868]}); print(list(df.sort_values("ie")["sym"]))` New
High School (11–12), High School (9–10), Undergraduate, General · Chemistry by Computer, Data Analysis with pandas
Board Exam
StemPy LabStemPy Lab
Easy
A table has the columns `sym` and `ie`. What does `df["IE"]` do? New
High School (11–12), High School (9–10), Undergraduate, General · Chemistry by Computer, Data Analysis with pandas
Board Exam
StemPy LabStemPy Lab
Easy
A filter is applied to the strontium table. What does this print? `import pandas as pd; df = pd.DataFrame({"sym": ["Sr", "Ba", "Cd"], "ie": [549, 503, 868]}); print(len(df[df["ie"] > 540]))` New
High School (11–12), High School (9–10), Undergraduate, General · Chemistry by Computer, Data Analysis with pandas
Board Exam
StemPy LabStemPy Lab
Easy
A computed column compares each element with the lowest. What does this print? `import pandas as pd; df = pd.DataFrame({"sym": ["Sr", "Ba", "Cd"], "ie": [549, 503, 868]}); df["ratio"] = df["ie"] / df["ie"].min(); print(round(df["ratio"].iloc[0], 2))` New
High School (11–12), High School (9–10), Undergraduate, General · Chemistry by Computer, Data Analysis with pandas
Board Exam
StemPy LabStemPy Lab
Medium
Which line keeps the s-block rows whose `ie` is above 450 kJ/mol? New
High School (11–12), High School (9–10), Undergraduate, General · Chemistry by Computer, Data Analysis with pandas
Board Exam
StemPy LabStemPy Lab
Medium
Strontium, barium and iodine are grouped by block. What does this print? `import pandas as pd; df = pd.DataFrame({"block": ["s", "s", "p"], "ie": [549, 503, 1008]}); print(df.groupby("block")["ie"].mean()["s"])` New
High School (11–12), High School (9–10), Undergraduate, General · Chemistry by Computer, Data Analysis with pandas
Board Exam
StemPy LabStemPy Lab
Medium
Rubidium, strontium, indium and tin, in order of Z. What does this print? `import pandas as pd; s = pd.Series([403, 549, 558, 709]); print(list(s.diff().dropna().astype(int)))` New
High School (11–12), High School (9–10), Undergraduate, General · Chemistry by Computer, Data Analysis with pandas
Board Exam
StemPy LabStemPy Lab
Medium
What does pd.Series([4, 9, 2], index=["a", "b", "c"]).idxmax() give? New
High School (11–12), High School (9–10), Undergraduate, General · Data Analysis with pandas
Board Exam
StemPy LabStemPy Lab
Medium
A DataFrame has 10 rows and 4 columns. What is df.shape? New
High School (11–12), High School (9–10), Undergraduate, General · Data Analysis with pandas
Board Exam
StemPy LabStemPy Lab
Easy
A table has 20 rows, and 3 of them have a missing value. How many rows does df.dropna() keep? New
High School (11–12), High School (9–10), Undergraduate, General · Data Analysis with pandas
Board Exam
StemPy LabStemPy Lab
Easy
Which format string draws a green dashed line? New
High School (11–12), High School (9–10), Undergraduate, General · Graphs with matplotlib
Board Exam
StemPy LabStemPy Lab
Easy
Which graph best shows the populations of five cities? New
High School (11–12), High School (9–10), Undergraduate, General · Graphs with matplotlib
Board Exam
StemPy LabStemPy Lab
Easy
Counting in steps: what does print(np.arange(2, 11, 3)) show? New
High School (11–12), High School (9–10), Undergraduate, General · NumPy Arrays
Board Exam
StemPy LabStemPy Lab
Medium
One number from many: what is the mean that print(np.array([1, 2, 3]).mean()) shows? New
High School (11–12), High School (9–10), Undergraduate, General · NumPy Arrays
Board Exam
StemPy LabStemPy Lab
Easy
Page 1 of 10
…

Showing 1–25 of 231