Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
Problems
/
Python for Science and Maths
/
Biology by Computer
Biology by Computer
Python Programming
+ Upload a Problem
More in Python for Science and Maths
NumPy Arrays
Graphs with matplotlib
Solving Equations
Calculus by Computer
Simulation and Randomness
Data Analysis with pandas
Chemistry by Computer
Biology by Computer
All Levels
High School (9–10)
High School (11–12)
Undergraduate
General
All
Easy
Medium
Hard
Sort
Mixed
Newest first
Oldest first
A to Z
21 problems
Type:
Any
Conceptual
Numerical
1.
Meera runs a simulation of 100 crosses twice and gets two different counts.
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
StemPy Lab
Easy
2.
Dev simulates Tt with tt using random.choice(mum) + random.choice(mum), where mum = "Tt" and dad =…
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
StemPy Lab
Medium
3.
A program crosses Tt with Tt for 2000 plants.
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
StemPy Lab
Easy
4.
In RrYy with RrYy, each gene alone gives a 3:1 ratio.
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer
StemPy Lab
Medium
5.
A round yellow plant is crossed with rryy.
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer
StemPy Lab
Hard
6.
Mendel's RrYy with RrYy cross gave 315 round yellow, 108 round green, 101 wrinkled yellow and 32…
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer
StemPy Lab
Medium
7.
A plant is RRYy. Its gametes come from product(g[:2], g[2:]).
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer
StemPy Lab
Easy
8.
Kiran writes def phenotype(g): return "tall" if g == "TT" else "short" and counts the phenotypes of…
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer
StemPy Lab
Medium
9.
In the second generation, Mendel counted 787 tall and 277 short pea plants.
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer
StemPy Lab
Medium
10.
Ravi's program joins the gametes with a + b but forgets to sort them.
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer
StemPy Lab
Easy
11.
Sana has a tall pea plant and does not know if it is TT or Tt.
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer
StemPy Lab
Easy
12.
Duckweed spreads over a village pond. Nisha counts the fronds every 3 days: Fit a logistic curve…
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
StemPy Lab
Hard
13.
Ritu fits a straight line to her counts with slope, intercept = np.polyfit(t, np.log(N), 1), with t…
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
StemPy Lab
Medium
14.
A culture has 3000 cells at 10:00 and 48 000 cells at 12:00.
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
StemPy Lab
Easy
15.
Counts of a yeast culture every hour are 50, 100, 195, 360, 560, 700 and 760 cells.
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
StemPy Lab
Easy
16.
Sanjay steps a logistic population with r = 0.8 per hour, K = 300 cells and N₀ = 5 cells, for 12…
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
StemPy Lab
Medium
17.
A population of algae in a tank grows logistically from 20 cells, with r = 0.4 per hour and a…
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
StemPy Lab
Medium
18.
Aditi plots ln N against t in minutes for a culture with a doubling time of 40 min.
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
StemPy Lab
Medium
19.
A culture starts with 400 cells and doubles every 25 minutes.
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
StemPy Lab
Medium
20.
A strain of bacteria grows as N = N₀ eʳᵗ with r = 1.8 per hour.
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
StemPy Lab
Easy
21.
In a culture kept by Meera's class, each Paramecium divides by binary fission about every 8 hours.
New
High School (11–12), High School (9–10), Undergraduate, General · Biology by Computer, Simulation and Randomness
StemPy Lab
Easy