12 October 2026

Spallanzani's Digestion Experiment — Can We Build an Artificial Stomach?

 


Spallanzani's Digestion Experiment — Can We Build an Artificial Stomach?

Classic Biology Experiments | Hemel Private Tuition | GCSE and A-Level Biology

What happens to your food after you swallow it? Does your stomach simply dissolve everything in acid, or is something much more interesting taking place?

Imagine placing a piece of boiled egg into a test tube, adding a little liquid, and leaving it at body temperature. A few hours later, the egg white has started to disappear.

Now imagine repeating the experiment with exactly the same egg white but changing just one ingredient. This time, almost nothing happens.

Why?

The answer takes us back more than 240 years to an Italian scientist who helped change our understanding of digestion: Lazzaro Spallanzani.

In my teaching laboratory at Hemel Private Tuition, I enjoy taking historical experiments and adapting them so that students can investigate the science themselves. This is a particularly good example because it combines biology, chemistry, scientific history and experimental design.

We are going to build a simple artificial stomach, investigate the enzyme pepsin, and discover why the acidic conditions inside the stomach matter so much.

Chapter 12: Digestive System and Nutrition -  ppt download

MeisterDrucke - Kunstdrucke, Gemälde & Reproduktionen

1. The Scientist Who Challenged the Old Ideas About Digestion

During the eighteenth century, scientists did not fully understand what happened to food inside the stomach.

Some believed digestion was primarily a mechanical process, rather like grinding food into smaller pieces. Others thought fermentation or putrefaction might be responsible.

Spallanzani wanted experimental evidence.

Building on the work of earlier investigators, including René-Antoine Ferchault de Réaumur, he carried out a remarkable series of experiments involving food and gastric juices.

He investigated digestion both inside and outside the body. Some of his experiments involved swallowing small containers of food and subsequently examining their contents. By modern standards, some of these methods were decidedly unpleasant!

But the question he was investigating was extremely important:

Could food be broken down by the chemical action of gastric juice, even without the mechanical movements of the stomach?

His investigations helped establish that digestion was a chemical process and that gastric juice could act on food outside the body.

PMC
+1

This was a major step towards modern digestive physiology.

There is an important historical distinction, however. Spallanzani did not discover pepsin. That came later, with Theodor Schwann's work in 1836. Our artificial stomach is therefore a modern investigation inspired by Spallanzani's approach, rather than an exact recreation of his original experiments.

ERA
+1

2. What Actually Happens Inside Your Stomach?

When we eat a meal, several processes occur.

Our teeth break food into smaller pieces, increasing the surface area available for digestion. Saliva begins the chemical digestion of starch, and swallowing transports the food into the stomach.

Inside the stomach, muscular contractions mix the food with gastric juice.

Gastric juice contains several important substances, but two are particularly relevant to our experiment.

Hydrochloric acid

Hydrochloric acid creates the strongly acidic conditions found inside the stomach.

The stomach contents can have a pH of approximately 1–3, although the pH changes during digestion, particularly after eating.

These acidic conditions help to unfold proteins, activate pepsinogen to pepsin, and support the action of pepsin.

The acid also helps reduce the survival of many microorganisms entering with food.

Pepsin

Pepsin is a protease, an enzyme that breaks down proteins.

Proteins are large molecules made from amino acids joined together by peptide bonds.

Pepsin catalyses the hydrolysis of some of these bonds, producing smaller polypeptides and peptides. Further digestion takes place in the small intestine.

The important point is that pepsin works particularly effectively in a strongly acidic environment.

At approximately neutral pH, its activity is much lower.

This gives us an ideal question to investigate experimentally.

Is the digestion of protein caused by stomach acid, pepsin, or a combination of the two?

3. Building Our Artificial Stomach

We can construct a simple model of the stomach using test tubes, cooked egg white, pepsin and carefully prepared solutions.

The egg white is especially useful because it contains protein and is easy to obtain.

Heating the egg changes its protein structure. The proteins denature and aggregate, producing the familiar white, firm material found in a hard-boiled egg.

When pepsin breaks down these proteins, the structure may gradually soften or partly disappear.

This makes the digestion process potentially visible.

Equipment

  • Five or more test tubes or small laboratory sample containers

  • Test-tube rack

  • Hard-boiled egg white

  • Laboratory-grade pepsin solution

  • Prepared dilute hydrochloric acid or an appropriate pH 2 buffer

  • Neutral pH 7 buffer

  • Distilled water

  • Water bath maintained at 37°C

  • Thermometer or digital temperature probe

  • pH meter or suitable pH indicator strips

  • Measuring cylinders or pipettes

  • Forceps, small knife and ruler

  • Stopwatch or timer

  • Protective glasses and gloves

For accurate results, use commercially supplied pepsin suitable for educational laboratory experiments, following the supplier's instructions.

The acidic solutions must be prepared and checked by the supervising teacher. Pupils should not handle concentrated hydrochloric acid, and no one should taste or consume any of the experimental materials.

The five experimental conditions

The most useful arrangement is to keep the temperature at 37°C while changing whether pepsin is present and whether the solution is acidic.

Tube

Conditions

Purpose

A

Pepsin + pH 2 buffer

Artificial stomach

B

Pepsin + pH 7 buffer

Does pepsin work at neutral pH?

C

pH 2 buffer, no pepsin

Can acid digest protein on its own?

D

Water, no pepsin

Negative control

E

Pepsin + pH 2 buffer at 20°C

How does lower temperature affect digestion?

Ensure that the final volume of liquid is the same in every tube. Where pepsin is omitted, replace its solution with an equal volume of an appropriate control liquid. Check the actual pH after all reagents have been mixed.

The fifth tube is a temperature comparison, so its other conditions should match those of Tube A.

This simple arrangement enables students to explore two fundamental aspects of enzyme activity: pH and temperature.

4. Carrying Out the Experiment

Step 1 — Prepare the protein

Hard-boil an egg, allow it to cool, and separate the white from the yolk.

Cut the egg white into uniform pieces, perhaps approximately 5 mm cubes.

This sounds straightforward, but it introduces an important experimental issue: surface area.

A large cube contains more protein than a small cube, but also has a different surface-area-to-volume ratio.

If one test tube contains a much smaller piece of egg, it might appear to digest more quickly simply because more of its protein is exposed relative to its volume.

For this reason, the pieces should be as similar as possible.

For more quantitative work, use a balance to select pieces of approximately equal initial mass.

Step 2 — Prepare the test tubes

Label the tubes clearly.

Add equal amounts of the appropriate solutions, then add the same mass of egg white to each tube.

A practical starting point is to use 10 ml of total liquid and a small piece of cooked egg white in each tube. The concentration of pepsin should follow the educational reagent supplier's guidance, and preliminary testing will help determine whether a visible change can be obtained within the lesson period.

Step 3 — Control the temperature

Place Tubes A–D in a water bath at 37°C.

Keep Tube E at approximately 20°C.

Why 37°C?

Because it is close to normal human core body temperature.

The stomach is a warm environment, and the activity of digestive enzymes is influenced by temperature.

A controlled water bath is preferable to a beaker of warm water because the temperature remains much more stable.

Step 4 — Observe the changes

Record observations at regular intervals.

For example:

  • 0 minutes

  • 30 minutes

  • 60 minutes

  • 120 minutes

  • 240 minutes

Photographing each tube from the same angle, with the same lighting and a ruler beside it, makes the comparisons more useful.

Depending on the pepsin activity, protein preparation and conditions, measurable changes might take several hours. The experiment can also be left for a supervised longer observation period using suitable laboratory procedures.

Step 5 — Analyse the results

Students should record whether the egg white has:

  • changed shape;

  • softened;

  • fragmented;

  • reduced in apparent size;

  • or remained largely unchanged.

For stronger scientific evidence, we need to move beyond simple visual observations. We will return to quantitative measurements shortly.

5. What Results Should We Expect?

ILLUSTRATIVE EXPECTED RESULTS — NOT ACTUAL EXPERIMENTAL DATA

Illustrative extent of visible egg-white breakdown

Hypothetical visual breakdown scores after four hours, from 0 meaning no visible change to 5 meaning extensive breakdown. Actual results depend on enzyme activity and substrate preparation.

01.252.53.755A: Pepsin + acidB: Pepsin, pH 7C: Acid onlyD: Water onlyE: Pepsin + acid, 20°C
These scores only illustrate the pattern we might predict. They must not be treated as measured results or used as evidence that a particular quantity of egg white will disappear.

Tube A should generally show the greatest digestion because both the enzyme and favourable acidic conditions are present.

Tube B contains pepsin, but at neutral pH, where its activity is greatly reduced.

Tube C contains acid but no pepsin. The acid may affect the structure of the protein, but it does not carry out the same catalytic hydrolysis as pepsin.

Tube D should provide a useful comparison because neither the enzyme nor the acid is present.

Tube E should usually digest more slowly than Tube A, because the lower temperature reduces the rate of enzyme-catalysed reactions.

However, students should be prepared for some surprising results.

Small pieces of solid boiled egg white do not always show dramatic visible changes within a single lesson. Enzyme concentration, available surface area, the physical condition of the protein and the duration of the experiment all affect the outcome.

If stronger results are required, a prepared cloudy egg-white protein suspension can offer a more sensitive method. As protein particles are digested, the suspension may become clearer. This approach has been used in published biology teaching investigations.

American Physiological Society
+1

6. Why Does Pepsin Need Acid?

This is probably the most important scientific question in the entire investigation.

Enzymes are proteins with specific three-dimensional structures.

Their activity depends on the shape and chemical properties of the active site, where substrate molecules bind and the reaction is catalysed.

Changes in pH can alter the electrical charges of particular amino-acid groups within an enzyme.

These changes may affect the shape of the protein, the binding of the substrate and the chemical steps of catalysis.

Pepsin has evolved to function in the unusual environment of the stomach, where many other enzymes would perform poorly.

For A-level students, this leads to a more sophisticated discussion about how the ionisation of amino-acid side chains affects enzyme function.

There is another important detail: pepsin is initially secreted as an inactive precursor called pepsinogen.

The acidic environment helps convert pepsinogen into active pepsin, with active pepsin then helping activate additional pepsinogen.

This arrangement helps protect the stomach's own cells from premature enzyme activity.

It is therefore misleading to say simply that stomach acid dissolves food.

The stomach is a controlled chemical environment in which acid and enzymes work together.

7. Turning the Experiment into a Proper Scientific Investigation

One of the differences between demonstrating an experiment and teaching students how to become scientists is the quality of the measurements.

It is easy to place egg white into a series of test tubes and observe what happens.

It is much more interesting to ask how we can obtain reliable, quantitative evidence.

Investigation A — Measuring the loss of protein mass

We could measure the initial mass of each egg-white sample.

After a fixed period, the remaining solid could be removed, gently rinsed using a standardised procedure, blotted consistently and weighed again.

The percentage change in mass can be calculated using:

Percentage mass loss = (Initial mass − Final mass) / Initial mass × 100

For example, suppose an egg-white sample initially weighs 0.50 g and the remaining mass after digestion is 0.32 g.

Percentage mass loss = (0.50 − 0.32) / 0.50 × 100

Percentage mass loss = 36%

This would indicate that the mass of the recovered solid has decreased by 36%.

But there is a problem.

Some protein may break into small fragments, making recovery difficult. The egg white may also absorb liquid or lose material through handling.

Consequently, mass loss is only an approximate measure of digestion, not a direct measurement of the number of peptide bonds broken.

That limitation is itself an excellent discussion point for A-level Biology.

Investigation B — Using a light sensor or colorimeter

A more sophisticated approach involves using a cloudy suspension of heat-denatured egg-white protein.

As the pepsin breaks down suspended protein particles, the liquid may become more transparent.

A light sensor can measure the light transmitted through the suspension.

This is particularly interesting in my laboratory because I can use PASCO data-logging equipment to record changes over time, rather than relying entirely on what students can see.




A simple arrangement would include a constant LED light source, a sample container and a light sensor aligned on the opposite side.

We would need to control the following:

  • The wavelength and intensity of the light source

  • The distance between the light source and detector

  • The size and position of the sample container

  • The initial concentration of the protein suspension

  • The temperature of the reaction

  • The pH and pepsin concentration

The result could be a graph of transmitted light intensity against time.

A rising light intensity would suggest increasing transparency, consistent with digestion of suspended protein particles.

However, light transmission is an indirect measurement. It can be influenced by sedimentation, bubbles and changes in particle size. Appropriate blanks, controls and repeated trials would therefore be important.

A published classroom investigation demonstrates this general approach using egg-white protein and light measurements.

American Physiological Society

Investigation C — Finding the optimum pH

Instead of comparing only pH 2 and pH 7, we could investigate a range of pH values.

For example:

pH 1, 2, 3, 4, 5, 6 and 7.

Keep temperature, pepsin concentration and protein quantity constant.

Using appropriate buffer solutions, students could measure the initial rate of digestion at each pH and plot their results.

This could produce a characteristic enzyme activity curve, with a maximum in strongly acidic conditions.

For A-level students, the shape of this curve can be related to the enzyme's structure and catalytic mechanism.

Investigation D — What happens when the temperature increases?

We could compare enzyme activity at:

20°C, 30°C, 37°C, 45°C and 60°C.

The rate of an enzyme-catalysed reaction often increases with temperature initially because molecules possess more kinetic energy and collisions occur more frequently.

However, at sufficiently high temperatures, the structure of the enzyme becomes disrupted and its activity decreases.

Pepsin, like other enzymes, can undergo thermal inactivation.

There is a useful distinction here.

At low temperatures, an enzyme usually works more slowly. At sufficiently high temperatures, it may become irreversibly inactivated.

A particularly interesting extension would be to expose one pepsin sample to an elevated temperature for a controlled period, cool it to 37°C, and then test its activity against an unheated control.

If the previously heated enzyme has lost activity, cooling alone may not restore it.

That helps students distinguish between slowing a reaction and damaging an enzyme.

8. The Examination Connection — GCSE and A-Level Biology

This experiment provides an opportunity to teach considerably more than the function of the stomach.

At GCSE, students should understand enzymes, digestion, optimum conditions and the effect of temperature and pH on activity.

They also need to understand fair testing and how to identify variables.

For this experiment:

Variable type

Example

Independent variable

pH of the reaction mixture

Dependent variable

Rate of protein digestion

Control variables

Temperature, enzyme concentration, protein mass, surface area and reaction volume

We could ask students to explain why the experiment includes a tube containing acid but no pepsin.

A strong answer would explain that it allows us to distinguish the effect of acid alone from the action of pepsin in acidic conditions.

At A-level, the investigation becomes considerably richer.

Students can consider enzyme structure, active sites, hydrolysis, reaction rates, repeatability and the limitations of the chosen measurement method.

They might also investigate why pepsin is adapted to the stomach while other digestive enzymes, such as trypsin, function in the different pH environment of the small intestine.

A challenge for students

Suppose a student carries out the experiment and discovers that egg white in Tube B, containing pepsin at pH 7, has lost some mass.

Does that prove pepsin is working efficiently at neutral pH?

No.

The student would need to consider experimental uncertainty, physical fragmentation, changes in water content and the possibility that the pH changed during the experiment.

One observation does not automatically establish the explanation.

This is exactly the type of scientific reasoning that separates a basic descriptive answer from a high-quality examination response.

9. What If the Experiment Does Not Work as Expected?

One lesson I have learnt from teaching practical science over many years is that real experiments seldom behave quite as neatly as the diagrams in textbooks.

Sometimes the change is slower than expected.

Sometimes a test tube becomes cloudy.

Sometimes a sample appears to swell instead of shrinking.

And sometimes there seems to be no observable difference between two conditions.

These are not necessarily failures.

They are opportunities to ask better questions.

Perhaps the pepsin concentration was too low.

Perhaps the egg-white cubes had too little exposed surface area.

Perhaps the temperature was not maintained consistently.

Or perhaps the solution was not at the pH that we thought it was.

I particularly enjoy asking students what they would change if they repeated the investigation.

This encourages them to think about the method rather than treating practical work as a sequence of instructions that must produce a predetermined answer.

In examination questions, students are often asked to identify experimental limitations or suggest improvements.

These questions are much easier to understand when students have actually encountered such problems.

10. Safety in the Teaching Laboratory

Although this is a straightforward biology investigation, it requires sensible laboratory precautions.

Pepsin is a protein enzyme and should be treated as a potential sensitiser. Powdered enzyme should not be handled in a way that creates dust or aerosols.

For school-age students, I would use a prepared pepsin solution wherever possible.

Dilute hydrochloric acid can still irritate or damage skin and eyes depending on its concentration, so the teacher should prepare the solutions, check the relevant safety data sheets and carry out a suitable risk assessment.

The important precautions include using eye protection, avoiding skin contact, using small quantities and keeping all materials clearly labelled.

A thermostatically controlled water bath is preferable to direct heating or naked flames.

All egg and enzyme mixtures should be treated as laboratory materials and disposed of appropriately after the investigation. They must never be eaten or tasted.

I would also avoid leaving protein mixtures at 37°C overnight without suitable laboratory controls because unwanted microbial growth can occur. For longer investigations, the teacher should plan storage, supervision and disposal before starting.

The original historical methods involving swallowing or retrieving objects from the digestive system are not appropriate to reproduce.

Our modern artificial stomach gives us an effective way to investigate the same scientific principles without resorting to those historical procedures.

11. Why This Experiment Is More Interesting Than Simply Learning About Enzymes

A student can learn the following sentence from a textbook:

Pepsin is a protease that digests proteins in the acidic conditions of the stomach.

That is an important fact.

But what does it really mean?

When the student places identical protein samples into different test tubes, they begin to see why the conditions matter.

The acid-only tube shows why acid is not the complete explanation.

The neutral-pH tube demonstrates the importance of the enzyme's working environment.

The lower-temperature tube introduces reaction rates.

And the water-only control establishes a baseline.

The student is no longer simply being told that pepsin works in the stomach.

They are gathering evidence to explain how and why it works.

This is the real value of practical science.

Could we build an even more realistic artificial stomach?

Our simple test-tube model does not reproduce everything that happens in the human body.

The real stomach is a muscular organ that continually mixes food and gastric secretions.

It also regulates the secretion of acid and enzymes, protects its lining with mucus and transfers partially digested food into the small intestine.

A more ambitious model could introduce gentle stirring to represent mechanical mixing.

We could compare stationary samples with samples mixed at a constant speed.

Would the stirred samples digest more quickly because fresh substrate surfaces are continually exposed to the enzyme?

This introduces another variable: the relationship between mechanical processes and chemical digestion.

Interestingly, it brings us back to the questions that occupied Spallanzani and the early investigators of digestion.

The difference is that we now have the equipment and scientific understanding to investigate them quantitatively.

12. Practical Biology at Hemel Private Tuition

One of the advantages of teaching science in my own laboratory in Hemel Hempstead is that students can move beyond diagrams and videos.

We can build the apparatus, conduct experiments, take measurements and discuss the results together.

With data logging, microscopy, digital imaging and laboratory equipment, we can investigate many aspects of GCSE and A-level Biology that students may otherwise encounter only on paper.

I believe there is a fundamental difference between watching someone else perform an experiment and actually taking responsibility for conducting it yourself.

Students learn to handle equipment, make decisions, interpret unexpected observations and explain the evidence they have collected.

Those skills are valuable not only for examinations but for anyone who wants to understand how science works.

At Hemel Private Tuition, I offer individual tuition in Biology, Chemistry, Physics and Mathematics, together with other GCSE and A-level subjects.

Lessons can focus on examination preparation, strengthening understanding or gaining experience of practical science.

For students who find biology difficult because it seems to involve too many disconnected facts, practical investigations provide a way to bring those ideas together.

Conclusion — A Stomach in a Test Tube

More than two centuries ago, Lazzaro Spallanzani helped scientists understand that digestion involved chemical action rather than simply grinding or fermenting food.

Today, we can investigate that central idea using little more than egg white, an enzyme, carefully prepared solutions and a controlled water bath.

Yet behind this apparently simple experiment lie some of the most important principles in biology:

Enzymes are catalysts. Their activity depends on their environment. Experimental controls matter. Scientific explanations must be supported by evidence.

Perhaps the most valuable part of the experiment is not watching the egg white disappear.

It is understanding why it disappears in one test tube but not another.

Science becomes much more memorable when students discover the explanation for themselves.

If you are studying GCSE or A-level Biology and would benefit from a more practical, investigative approach, visit Hemel Private Tuition to find out more.

11 October 2026

Business Studies in the Real World: Why Do Profitable Businesses Still Run Out of Money?

 

Business Studies in the Real World: Why Do Profitable Businesses Still Run Out of Money?

A business can be making a profit and still be unable to pay its bills. How?

It sounds like a contradiction.

If a business is profitable, surely it has money?

This is one of the most important misconceptions to clear up in GCSE and A-level Business Studies. Profit and cash are not the same thing.

In fact, a business can look successful on paper, have plenty of customers, make substantial sales and even report a healthy profit — yet still fail because it does not have enough cash available when its bills have to be paid.

Understanding why takes us into some of the most useful topics in Business Studies:

  • revenue and costs;

  • profit;

  • cash inflows and outflows;

  • cash-flow forecasting;

  • working capital;

  • liquidity;

  • credit;

  • and the dangers of growing too quickly.

And unlike some topics that can initially seem rather theoretical, cash flow is something that every real business has to manage.

Start With a Simple Question: What Is Profit?

At its simplest:

Profit = Revenue - Total costs

Suppose a small business sells £10,000 worth of products during October.

The total costs associated with those sales are £7,000.

Its profit is therefore:

£10,000 - £7,000 = £3,000

That sounds healthy.

But there is a problem.

What if the customers have not actually paid the £10,000 yet?

This is where the difference between profit and cash flow becomes crucial.

Sales Do Not Necessarily Mean Cash in the Bank

Imagine a small company supplying equipment to other businesses.

During October it makes sales worth £10,000.

However, because its customers are businesses, it allows them 60 days' credit.

The customers receive their goods now but do not have to pay until December.

Meanwhile, our business still has bills.

Suppose during October it has to pay:

  • £2,500 in wages;

  • £1,500 to suppliers;

  • £1,000 in rent and other premises costs;

  • £500 for electricity, insurance, software and other expenses.

That means £5,500 has to leave the bank account during October.

But very little of the £10,000 from October's sales may actually have arrived.

The business might therefore be profitable according to its accounts while simultaneously watching the balance in its bank account fall.

That is the key idea:

Profit measures financial performance over a period. Cash flow is concerned with when money actually enters and leaves the business.

Timing matters.

The Cash-Flow Problem Gets Worse

Now suppose the business is successful.

Orders increase.

That sounds like excellent news.

The company receives £20,000 of orders for November.

To fulfil those orders, however, it needs to buy more materials. It may need employees to work additional hours. It may even need another employee.

The business therefore spends more money.

Yet many of its customers still have 60 days to pay.

Success has actually increased the immediate pressure on cash.

This produces one of the most interesting ideas in business finance:

A Business Can Grow Too Quickly

Students often assume that growth is automatically good.

More customers = more sales = more profit = better business.

Real business is rarely quite that simple.

Rapid growth can create enormous demands for cash.

Imagine a company wins a major new contract.

To fulfil it, the company needs:

  • £15,000 of additional stock;

  • two new employees;

  • extra delivery costs;

  • additional equipment;

  • increased insurance;

  • perhaps larger premises.

The customer, meanwhile, might not pay the invoice for 60 or even 90 days.

Where does the money come from to finance everything in the meantime?

That is one reason why working capital becomes particularly important as businesses grow.

What Is Working Capital?

At A level, students need to become comfortable with the concept of working capital.

A commonly used calculation is:

Working capital = Current assets - Current liabilities

Current assets include things such as:

  • cash;

  • inventories;

  • trade receivables — money owed by customers.

Current liabilities include short-term obligations such as:

  • trade payables;

  • short-term borrowing;

  • other bills falling due.

A business needs sufficient working capital to support its day-to-day activities.

The important point is that having substantial current assets does not necessarily mean that all of those assets are immediately available as cash.

A warehouse containing £50,000 of stock sounds valuable.

But you cannot normally use a box of unsold products to pay Friday's wages.

Similarly, £30,000 owed by customers is valuable — but it is not much help today if those customers are not required to pay for another two months.

This brings us to liquidity.

Profitability and Liquidity Are Different Questions

Profitability asks something like:

Is the business generating a satisfactory profit from its activities?

Liquidity asks:

Can the business meet its short-term financial obligations as they fall due?

A business can therefore be:

profitable but illiquid.

That distinction becomes particularly important at A level, where simply stating that "the business is making a profit" is rarely sufficient analysis.

You need to ask what is happening underneath the headline figure.

Why Cash-Flow Forecasts Matter

This is where a cash-flow forecast becomes useful.

A simple monthly cash-flow forecast might include:

Opening balance + Cash inflows - Cash outflows = Closing balance

And:

Net cash flow = Cash inflows - Cash outflows

Suppose our business begins November with £4,000 in the bank.

During November:

Cash inflows = £3,000

Cash outflows = £8,000

Therefore:

Net cash flow = £3,000 - £8,000 = -£5,000

The closing balance becomes:

£4,000 - £5,000 = -£1,000

That negative closing balance should immediately attract the manager's attention.

The forecast is effectively saying:

Unless something changes, we are going to run out of cash.

That does not necessarily mean the business is unprofitable.

It means management needs to act before the problem occurs.

What Could the Business Do?

There is rarely one perfect answer in Business Studies.

That is part of what makes the subject interesting.

The business might try to negotiate longer payment terms with suppliers.

If customers have 60 days to pay but suppliers require payment within 30 days, changing supplier terms could reduce the mismatch.

Alternatively, the business might encourage customers to pay more quickly.

For example:

"2% discount if payment is made within seven days."

That sacrifices a little revenue but could substantially improve cash flow.

Is that worthwhile?

It depends.

The business could also consider:

  • an overdraft;

  • a short-term bank loan;

  • injecting additional owner's capital;

  • delaying non-essential expenditure;

  • leasing equipment rather than buying it outright;

  • improving inventory management;

  • chasing overdue invoices more quickly;

  • requiring deposits or staged payments.

Notice how each solution has consequences.

Borrowing can improve cash flow — but creates interest costs.

Offering discounts can accelerate payment — but reduces the amount received.

Reducing inventory can release cash — but increases the danger of running out of stock.

Delaying investment protects today's cash — but might restrict tomorrow's growth.

This is where Business Studies moves beyond memorising definitions.

The Best Business Answers Usually Include "It Depends"

Consider this exam question:

"Assess whether a business experiencing cash-flow problems should offer customers a discount for early payment."

A weak answer might say:

"Yes, because customers will pay sooner and cash flow will improve."

That is not wrong.

But it is incomplete.

A stronger student starts asking questions.

How large is the discount?

How serious is the cash shortage?

What proportion of customers would take the discount?

How profitable is the business?

Could an overdraft cost less than the lost revenue?

Are customers already paying promptly?

How important is maintaining the relationship with those customers?

Could the business negotiate better terms with suppliers instead?

Suddenly, a simple financial concept has become a business decision.

That is exactly what GCSE and particularly A-level Business questions increasingly require students to do.

A Practical Example: A Tuition Business

Cash-flow principles apply just as much to a small service business as they do to a manufacturer.

Consider a private tuition business.

There may be regular costs for:

  • premises;

  • heating and electricity;

  • insurance;

  • equipment;

  • software subscriptions;

  • website hosting;

  • teaching resources;

  • computers and cameras;

  • laboratory equipment.

Now imagine that lessons take place throughout September but invoices are not paid until the end of October.

The teaching has already been delivered and many of the costs have already been incurred.

The business may have earned the revenue, but the cash has not yet arrived.

Now compare that with a system where lessons are paid for in advance.

The underlying service may be identical.

The timing of the cash flow is completely different.

This is why payment terms are not simply an administrative detail. They can be an important financial decision.

Another Example: The Successful Café

Imagine a café becomes unexpectedly popular.

Customers are queueing out of the door.

Revenue rises.

Surely cash flow cannot be a problem because most customers pay immediately?

Possibly — but growth can still create difficulties.

The café might need:

  • a second coffee machine;

  • additional refrigerators;

  • more tables;

  • additional employees;

  • substantially more stock;

  • perhaps an extension to the premises.

Suppose that investment costs £40,000.

The café may become substantially more profitable in the future, but the £40,000 might need to be spent before those additional profits arrive.

Again, we have the same fundamental issue:

When does the money come in, and when does it have to go out?

This Is Why Context Matters in Business Exams

One of the biggest differences I find between students who struggle with Business Studies and those who become confident is how they use the case study.

It is relatively easy to learn:

Cash flow = movement of money into and out of a business.

But that definition alone does not answer most worthwhile business questions.

The real skill is recognising what the concept means for this particular business.

If the case study tells you that:

  • customers receive 90 days' credit;

  • suppliers demand payment within 30 days;

  • sales are growing rapidly;

  • the business has very little cash available;

those facts should be connected.

A good answer might explain:

Rapid sales growth could actually worsen the firm's short-term cash position because it may have to finance additional inventory and operating costs for up to 90 days before receiving payment from customers.

That is analysis.

The student has moved from:

definition -> context -> consequence.

And stronger answers can go further:

definition -> context -> consequence -> further consequence -> judgement.

Try This Mini Case Study

A small manufacturer currently has £20,000 in cash.

It wins a new contract worth £100,000.

Excellent news?

Perhaps.

To complete the order it needs to spend:

  • £35,000 on materials;

  • £15,000 on additional labour;

  • £5,000 on transport and other costs.

The customer will pay the £100,000 invoice 90 days after delivery.

Questions to think about

  1. Why might winning the £100,000 contract create a cash-flow problem?

  2. Does the contract appear profitable?

  3. How much additional finance might the company need before receiving payment?

  4. What sources of finance could it consider?

  5. Would you advise the company to accept the contract?

The fifth question is the most interesting.

There is not enough information for an automatic "yes".

You might want to know:

  • whether the £20,000 cash is already needed elsewhere;

  • whether suppliers offer credit;

  • how reliable the customer is;

  • whether the business can obtain short-term finance;

  • the cost of borrowing;

  • whether there are other contracts to fulfil;

  • whether accepting this contract could lead to further business.

That is much closer to how real business decisions are made.

What Examiners Are Looking For

Students sometimes approach Business Studies as though success depends upon memorising an enormous collection of definitions.

Definitions matter. You need the vocabulary of the subject.

But high-quality answers require much more.

You need to be able to look at a business and ask:

What does this information actually mean?

If sales increase by 30%, do not simply write:

"Revenue will increase."

Ask what else could happen.

Does production need to increase?

Will variable costs rise?

Will additional employees be required?

Does the business have sufficient capacity?

Will more inventory be needed?

Could cash flow deteriorate before the additional revenue is received?

Could quality suffer if expansion happens too quickly?

Could borrowing be required?

Every answer creates another possible consequence.

That is how business analysis develops.

From GCSE to A Level

For a GCSE student, the central lesson from this topic is:

Cash and profit are different, and businesses need enough cash to survive.

At A level, we can extend this much further into:

  • working capital;

  • liquidity;

  • trade receivables and payables;

  • inventory management;

  • sources of finance;

  • ratio analysis;

  • cash conversion;

  • growth strategies;

  • financial risk;

  • and the relationship between finance and operational decisions.

The underlying principle, however, remains surprisingly simple:

A profitable business can still fail if it cannot pay its bills when they become due.

Business Studies at Hemel Private Tuition

This is how I like to approach Business Studies tuition.

Learning definitions is necessary, but it is only the beginning.

Whether I am teaching GCSE or A level, I want students to understand how the ideas connect to businesses in the real world.

We can take a concept such as cash flow and move from:

"What does cash flow mean?"

to:

"Why is this business short of cash?"

then:

"What could management do about it?"

and finally:

"Which option would you recommend — and why?"

That progression is particularly important when students begin tackling longer questions requiring analysis, evaluation and a justified conclusion.

The aim is not simply to remember Business Studies.

It is to think like someone making a business decision.

Conclusion: Profit Does Not Pay the Bills — Cash Does

A profitable business is not necessarily a financially secure business.

A full order book can be wonderful news.

Rapidly increasing sales can be wonderful news.

A major new customer can be wonderful news.

But every one of those things can create a cash-flow problem if money has to leave the business long before customer payments arrive.

That is why good managers do not simply ask:

"Are we making a profit?"

They also ask:

"Will we have enough cash to meet our commitments next week, next month and three months from now?"

It is a deceptively simple question.

But answering it properly brings together finance, operations, marketing, growth and strategy.

And that is exactly why cash flow is such a good example of Business Studies in the Real World.

10 October 2026

Build Your Own Network File Server — Give Your Raspberry Pi a Job That Is Actually Useful

 


Build Your Own Network File Server — Give Your Raspberry Pi a Job That Is Actually Useful

A Raspberry Pi is often introduced as a small computer for learning Python, experimenting with electronics or perhaps running a simple web server.

But it can do something much more ordinary — and surprisingly useful.

It can become your own network file server.

Instead of keeping a document on one computer, photographs on another and coursework on a USB memory stick that you cannot quite remember where you left, you can create a central storage location that several computers can access across your network.

Better still, we can build it using Linux and then access the files from a Windows PC.

That introduces several important Computer Science ideas at once:

  • client-server computing;

  • network protocols;

  • IP addresses;

  • file systems;

  • authentication;

  • permissions;

  • network shares;

  • persistent services;

  • interoperability between different operating systems.

And unlike some classroom networking exercises, at the end you have built something you might genuinely continue using.


What Exactly Is a File Server?

Imagine I have several computers in my tuition and media environment.

One might contain teaching resources. Another might be used for video editing. A laptop might be used elsewhere in the house.

Without a server, I could copy files between them using USB drives or cloud storage.

That works — but there is another approach.

Put the files in one central location and allow the other computers to request them across the network.

The machine containing the files is the server.

The machines accessing them are clients.

Conceptually:

Windows PC → network → Linux server → storage

The important point is that the server does not necessarily have to be a huge machine in a data centre.

For a home network, classroom or small organisation, a Raspberry Pi can perform the same fundamental role.

That is an excellent demonstration of an important idea:

"Server" describes a role, not necessarily a particular type of computer.

A Raspberry Pi can be a client one moment and provide a server service the next.


Why Not Just Use Google Drive or OneDrive?

That is a perfectly reasonable question.

Cloud storage is enormously convenient, but building our own server allows us to investigate what is actually happening underneath the convenient interface.

It also creates an interesting distinction.

With a local file server:

PC → local network → server

With cloud storage, conceptually:

PC → router → Internet → remote data centre

The cloud system provides many additional services, of course, including synchronisation, remote access, redundancy and often version history.

But our small server gives us control.

It also gives students something perhaps even more valuable:

something they can break, investigate and repair.

That is often where the best Computer Science learning occurs.


Enter Samba

There is one immediate complication.

Our server is running Linux while many of the computers accessing it may run Windows.

They need a common way of communicating.

This is where Samba comes in.

Samba is free software that implements the SMB networking protocol used for file and printer sharing.

SMB stands for Server Message Block.

It allows a Linux machine to provide shared folders that Windows machines can access much like folders hosted by another Windows computer.

This is an excellent example of interoperability.

Two computers do not need to run the same operating system.

They need to agree on the protocol.

That principle extends far beyond file servers.

The web works because browsers and web servers agree on protocols such as HTTP and HTTPS.

Email systems use agreed protocols.

SSH allows remote access between many different systems.

Networking depends heavily upon standardisation.


What You Will Need

This project can be completed with:

  • a Raspberry Pi or another Linux computer;

  • Raspberry Pi OS, Ubuntu or a similar Linux distribution;

  • a connection to your local network;

  • a Windows PC;

  • some storage space.

For experimentation, the Pi's existing storage may be adequate.

For a server you intend to use seriously, however, I would normally add an external SSD or other suitable storage device rather than treating a microSD card as a long-term file archive.

Before beginning, update the Linux system:

sudo apt update

and then:

sudo apt upgrade

This is good practice before installing additional software.


Step 1 — Install Samba

On a Debian-based Linux system such as Raspberry Pi OS or Ubuntu, Samba can normally be installed with:

sudo apt install samba

Something important has just happened.

We have not merely installed an application that we open when required.

We have installed software capable of running as a service.

A server needs to sit quietly in the background waiting for clients to make requests.

That distinction between an ordinary application and a continuously available service is worth discussing with Computer Science students.


Step 2 — Create Somewhere to Store the Files

Suppose I want to create a folder called:

SharedFiles

In my home directory I might create it with:

mkdir ~/SharedFiles

I could now place some test files inside it.

For example:

  • a PDF;

  • a photograph;

  • a text document;

  • a spreadsheet.

At this point they are simply ordinary Linux files.

Windows cannot magically see them just because the computers are connected to the same network.

We must explicitly tell Samba that this directory is to be shared.


Step 3 — Configure the Share

Samba's main configuration file is normally:

/etc/samba/smb.conf

Before altering an important configuration file, I strongly recommend making a backup.

For example:

sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.backup

That is a small habit worth developing.

If our configuration goes badly wrong, we have somewhere to return to.

We can then edit the file using an editor such as nano:

sudo nano /etc/samba/smb.conf

Near the bottom we could add a section along these lines:

[SharedFiles]

path = /home/yourusername/SharedFiles

browseable = yes

read only = no

create mask = 0664

directory mask = 0775

Replace yourusername with the actual Linux username and ensure the path matches the folder you created.

What have we done?

We have given the network share a name — SharedFiles — and told Samba where the actual files are stored.

We have also specified some of its behaviour.

Already we are seeing an important server principle:

the name a client sees does not necessarily reveal exactly how the server stores the resource internally.


Step 4 — Users, Passwords and Permissions

Now things become more interesting.

Should anybody connected to your network be able to alter your files?

Probably not.

We therefore need to think about authentication and authorisation.

These words are sometimes confused.

Authentication: Who are you?

Authorisation: What are you allowed to do?

That distinction is extremely important in Computer Science and cybersecurity.

A Samba user can be given a password with:

sudo smbpasswd -a yourusername

You will be asked to create a Samba password.

The precise permissions you choose depend on what you want the server to do.

For a controlled home server, authenticated access is normally preferable to making folders openly writable by everyone on the network.

This also creates an opportunity to investigate Linux file permissions.

For example:

ls -l

will display file ownership and permissions.

Students can then explore what read, write and execute actually mean for files and directories.


Step 5 — Check the Configuration

Before restarting services, it is sensible to check the Samba configuration:

testparm

This is one of those small commands that teaches a much larger lesson.

Validate a configuration before relying upon it.

If an error has slipped into the file, it is much better to discover it here than spend half an hour wondering why Windows cannot connect.


Step 6 — Restart Samba

After changing the configuration, restart the relevant Samba service. On many Debian-based installations this can be done with:

sudo systemctl restart smbd

We can check its state with:

sudo systemctl status smbd

Now our Linux machine should be waiting for SMB connections.

But our Windows computer still needs to know where to find it.


Step 7 — Find the Server's IP Address

On the Linux machine try:

hostname -I

You may see something such as:

192.168.1.42

The exact number will depend upon your network.

This is the Pi's address on the local network.

Notice what we now have.

Server IP address: identifies the machine.

SMB: defines how file-sharing communication takes place.

Share name: identifies the resource being offered.

Username/password: identifies and authenticates the user.

Several Computer Science concepts that can appear rather abstract on a specification have suddenly become parts of one working system.


Step 8 — Move to Windows

Now go to the Windows computer.

Open File Explorer and enter something like:

\\192.168.1.42\SharedFiles

Replace the IP address with the address of your own server.

Windows should ask for credentials if the share requires them.

Enter the appropriate Samba username and password.

And then comes the satisfying part.

A folder stored on a Linux computer appears inside Windows File Explorer.

Try copying a small test file into it.

Return to the Pi and look inside:

~/SharedFiles

The file should be there.

You have just transferred data from Windows to Linux using a network file-sharing protocol.


Make It Feel Like Another Drive

Windows can go one step further.

Instead of entering the server address every time, the share can be mapped as a network drive.

In File Explorer, choose the option to map a network drive and assign it a drive letter.

You might choose something such as:

S:

The Samba share can then appear alongside the computer's local drives.

To the person using the computer it begins to feel almost like another disk installed in the machine.

But physically the files might be several rooms away.

That separation between a resource's logical appearance and its physical location is another powerful computing concept.


An Experiment: What Happens If the Network Disappears?

Now deliberately disconnect the Pi from the network.

Try opening the mapped drive again.

It fails.

Why?

The files have not disappeared.

The storage device has not failed.

Windows simply cannot reach the machine providing the service.

Reconnect it.

The resource becomes available again.

This simple experiment demonstrates an important weakness of centralised network services:

availability depends upon both the server and the network path to it.


A Better Experiment — Measure File Transfer Speed

We can turn this project into a quantitative investigation.

Choose a reasonably large file — perhaps a 1 GB video file.

Measure how long it takes to transfer.

Transfer rate can be estimated using:

transfer rate = file size / transfer time

Suppose a 1,000 MB file takes 20 seconds.

Then:

transfer rate = 1000 / 20 = 50 MB/s

Be careful with units.

Network speeds are often quoted in bits per second, while file transfer software may report bytes per second.

Since:

1 byte = 8 bits

then:

50 MB/s = approximately 400 Mb/s

ignoring some of the complications of prefixes and protocol overhead.

Now compare:

  • Wi-Fi versus Ethernet;

  • small files versus one large file;

  • one client versus several clients;

  • Raspberry Pi storage versus an external SSD.

Suddenly the project has become an experiment in network performance.


Why Won't I Get the Advertised Network Speed?

Suppose you are using Gigabit Ethernet.

That suggests a theoretical maximum of:

1 Gbit/s

or roughly:

125 MB/s

Does that mean your 1 GB file will necessarily transfer at 125 MB/s?

No.

There are numerous potential bottlenecks:

  • storage read speed;

  • storage write speed;

  • network protocol overhead;

  • other network traffic;

  • processor performance;

  • Wi-Fi conditions;

  • cable and switch capability;

  • SMB configuration.

This leads to a useful engineering principle:

The performance of a system is often determined by its bottleneck rather than its fastest component.


Give the Server a Permanent Address

There is another problem worth discovering naturally.

Today the Pi might be:

192.168.1.42

After a restart or after its DHCP lease changes, it could potentially receive a different address.

Our Windows shortcut might then stop working.

This introduces DHCP.

A DHCP server — commonly your router on a home network — automatically allocates network configuration to devices.

For a machine providing a permanent service, however, a predictable address is useful.

One solution is to create a DHCP reservation in the router so that the Pi normally receives the same IP address.

This is another excellent example of why practical work improves understanding.

Students are no longer learning DHCP simply because it appears in a networking topic.

They have discovered a reason for needing to understand it.


What About Backups?

This is where I would add one very important warning.

A file server is not automatically a backup.

If every important document exists only on the server, there is still only one copy.

If the drive fails, those files may be lost.

If files are accidentally deleted, they may be lost.

If malicious software encrypts files that the client can access, the network copy may also be affected.

A sensible system therefore needs a separate backup strategy.

This is a valuable distinction:

Centralised storage improves organisation and access. Backup improves resilience against data loss.

They are related, but they are not the same thing.


Could We Access It Across the Internet?

Technically, yes — but this is where I would stop treating the exercise as a simple file-sharing project.

I would not simply expose SMB directly to the public Internet.

Remote access introduces a much larger security problem.

A safer future project would investigate technologies such as a VPN, allowing an authorised remote device to connect securely to the home network before accessing internal services.

That leads naturally into:

  • encryption;

  • tunnelling;

  • authentication;

  • firewalls;

  • attack surfaces;

  • remote access security.

One project creates the questions for the next.


Why This Is Particularly Useful for A Level Computer Science

For OCR A Level Computer Science H446 students, the value of this exercise goes well beyond learning how to install Samba.

Consider how many specification ideas we have encountered:

Client-server networking

Windows requests a resource from the Linux server.

Protocols

SMB defines how the systems communicate.

IP addressing

The client needs to locate the server.

DHCP

Addresses may be allocated automatically.

Authentication

Users prove who they are.

Access rights

Different users can be permitted different actions.

Operating systems

Linux and Windows manage their files differently but can communicate through agreed standards.

Secondary storage

The choice of storage hardware affects performance and reliability.

Network performance

Bandwidth and bottlenecks affect transfer speeds.

Cybersecurity

A useful service also creates something that needs protecting.

These are no longer disconnected definitions in revision notes.

They are components of something the student has actually built.


Extensions — Turn One File Server Into a Proper Investigation

Once the basic server works, don't stop.

Try creating two shared directories:

Students

and

Teachers

Could they have different permissions?

Could one user have read-only access?

Could another have permission to modify files?

Try creating several Samba users.

What happens when two computers access the same server simultaneously?

Measure file-transfer speeds.

Monitor processor usage during a large transfer.

Compare Ethernet with Wi-Fi.

Attach an SSD.

Investigate RAID — while being very careful not to confuse RAID with backup.

Add automated backups.

Monitor available disk space.

Create logs.

Try accessing the server remotely using SSH while another computer accesses its files through Samba.

At this point the Raspberry Pi is becoming something much more interesting.

It is becoming a small laboratory for learning how real networked computer systems work.


The Bigger Lesson — Computers Do Not Have to Look Like Computers

There is something I particularly like about projects such as this.

Once configured, the Raspberry Pi does not need a monitor, keyboard or mouse.

It can sit on a shelf.

We might administer it using SSH.

Windows computers access it through Samba.

Most of the time nobody needs to physically touch it.

Yet it is still doing useful computing continuously.

That begins to change our perception of what a computer is.

Computers do not always sit on desks displaying graphical interfaces.

They can quietly provide services.

They can store files.

Host websites.

Run databases.

Control equipment.

Collect sensor data.

Stream media.

Manage networks.

That is why I think learning a little Linux is so valuable for Computer Science students.

It opens the door to a side of computing that is largely invisible when our experience is restricted to opening applications on a Windows PC.


Conclusion — Build It, Break It, Understand It

Installing Samba and sharing a folder is not, by itself, particularly revolutionary.

The real educational value comes from everything that happens around it.

Why does the client need an IP address?

Why does the server need authentication?

Why might permissions prevent a file being written?

Why does changing from Wi-Fi to Ethernet alter performance?

Why might the server's address change?

Why isn't a server automatically a backup?

Why can Windows communicate with Linux at all?

Those questions take us straight into the heart of Computer Science.

And perhaps the most valuable moment comes when something does not work.

Instead of immediately searching for a different piece of software, investigate.

Check the IP address.

Check the service.

Check the configuration.

Check the permissions.

Check the network.

Read the error message.

Build it. Break it. Diagnose it. Fix it.

That is how a £50 computer on a shelf can become a surprisingly powerful Computer Science laboratory.


Practical Challenge

If you have a Raspberry Pi or spare Linux computer, see how far you can take the project:

Level 1: Share one folder with Windows.

Level 2: Require a username and password.

Level 3: Map the share as a Windows network drive.

Level 4: Create users with different permissions.

Level 5: Measure transfer performance over Wi-Fi and Ethernet.

Level 6: Add external storage and a genuine backup system.

Level 7: Explain the whole system using the vocabulary of the OCR Computer Science specification.

If you can reach Level 7, you have moved well beyond simply memorising what a file server is.

You understand why it works.

Spallanzani's Digestion Experiment — Can We Build an Artificial Stomach?

  Spallanzani's Digestion Experiment — Can We Build an Artificial Stomach? Classic Biology Experiments | Hemel Private Tuition | GCSE an...