aimnova.
DashboardMy LearningPaper MasteryStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aimnova.

AI-powered study platform for smarter revision, past-paper analysis and examiner-style feedback.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.8afc4e3

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesComputer Science HLTopic 4.3Genetic algorithms
Back to Computer Science HL Topics
4.3.74 min read

Genetic algorithms (Computer Science HL)

IB Computer Science • Unit 4

Smart study tools

Turn reading into results

Move beyond passive notes. Answer real exam questions, get AI feedback, and build the skills that earn top marks.

Get Started Free

Contents

  • Breeding a solution
  • The cycle
  • Getting it wrong
  • Exam-style question
The big idea: A genetic algorithm searches for a good solution by imitating evolution: keep a population of candidates, score them, let the best ones combine, mutate a few, repeat.

It does not solve the problem — it searches a space too large to check exhaustively.

Where it earns its place

  • The search space is far too large to try every option
  • There is no formula that gives the answer directly
  • But any candidate can be scored — you can tell a good one from a bad one
  • A good enough answer is acceptable; the perfect one is not required
  • Timetabling, route planning, aerial design, circuit layout

Free preview

This is the free notes preview

You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:

  • FlashcardsLock in vocabulary and key terms with spaced repetition.
  • Practice questionsAnswer exam-style questions and get instant AI marking.
  • Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
  • Personalised study planA daily plan built around your exam date and weak areas.
Start Studying Free Full access to Aimnova Pro · cancel anytime
1

Population

2

Fitness

3

Selection

4

Crossover

5

Mutation

Crossover and mutation do different jobs: Crossover recombines what the population already has — it explores between existing solutions.

Mutation introduces something genuinely new. Without it the population converges on a blend of its starting material and can never reach anything outside it.

Study smarter, not longer

Most students waste 40% of study time on topics they already know. Our AI tracks your progress and optimizes every minute.

Try Smart Study FreeYour first topic is free to keep • No credit card required
SettingToo lowToo high
Mutation rateConverges early on a local optimumBecomes a random search — good solutions are destroyed
Population sizeToo little variety to recombineEach generation is slow
Selection pressureGood solutions spread too slowlyThe population becomes clones and the search stalls
The fitness function is the whole design: The algorithm optimises the fitness function exactly — the same failure mode as a reinforcement reward.

Score a timetable only on "no clashes" and it may return one that puts every lesson at 8am. It satisfied what you asked for.
No guarantee of the best answer: A genetic algorithm returns a good solution, not a provably optimal one, and two runs can give different answers.

Saying that is usually worth a mark — it is the honest limitation.

How this is tested — you must name the five stages in order and justify the approach from the size of the search space. It comes up two ways:

Paper 1 Section A

  • Describe how a genetic algorithm works, 4-6 marks
  • Name the stages of the cycle
  • State the role of mutation

Paper 1 Section B — case study

  • Justify a genetic algorithm for a scenario
  • Explain a limitation of the result
The classic trap: Omitting mutation, or describing it as noise. Crossover only recombines what is already present — mutation is the only source of anything new, and the only escape from a local optimum.

One generation: score, select, cross over, mutate, repeat.

Interactive diagram

Explore the labelled diagram, charts and maps for this topic in full study mode.

Claim your free topic
IB-style questionDescribe[6 marks]

A school must build a timetable from thousands of possible arrangements. Describe how a genetic algorithm would approach this, and state one limitation.

Model answer plan

See the mark-by-mark plan — for / against / judgement, with marking guidance — in study mode.

Claim your free topic

IB Exam Questions on Genetic algorithms

Practice with IB-style questions filtered to Topic 4.3.7. Get instant AI feedback on every answer.

Practice Topic 4.3.7 QuestionsBrowse All Computer Science HL Topics

How Genetic algorithms Appears in IB Exams

Examiners use specific command terms when asking about this topic. Here's what to expect:

Define

Give the precise meaning of key terms related to Genetic algorithms.

AO1
Describe

Give a detailed account of processes or features in Genetic algorithms.

AO2
Explain

Give reasons WHY — cause and effect within Genetic algorithms.

AO3
Evaluate

Weigh strengths AND limitations of approaches in Genetic algorithms.

AO3
Discuss

Present arguments FOR and AGAINST with a balanced conclusion.

AO3

See the full IB Command Terms guide →

Related Computer Science HL Topics

Continue learning with these related topics from the same unit:

4.1.1Types of machine learning
4.1.2Hardware for machine learning
4.2.1Data cleaning
4.2.2Feature selection
View all Computer Science HL topics

Improve your exam technique

Command terms, paper structure, and mark-scheme tips for Computer Science HL

Previous
4.3.6Reinforcement learning
Next
Neural networks4.3.8

Don’t just read about Genetic algorithms — practice it

Apply what you learned with real exam-style questions. AI feedback shows exactly how to improve your answers.

Practice NowView All Computer Science HL Topics