Skip to content
Geek Candy
Geek Candy

Tidbits and snippets for Computing Teachers

  • About
  • Year 8 Codebreaking
  • Python resources
  • Cyber Qs
  • Javascript Lessons
  • Pseudocode
  • VIBECODED TOOLS

Recent Posts

  • Pedagogy Quick Read – converted to an audio file
  • AQA A Level Computer Science Paper 1 – Skeleton Code 2026 – Ant Simulation
  • Javascript examples
  • A* algorithm visualiser
  • AQA Computer Science A level Paper 1 – hints and tips

Pages

  • About
  • CFG Questions
  • Cybersecurity questions
  • Home Page
  • JDoodle embed
  • Python resources

Useful links

Trinket Python Editor Unity Example

Category: Probability

Computing

Heads Tails Heads – probability problem

geekcandy·8 July 2015

Problem: Write a problem to simulate the tossing of a sequence of successive coin tosses. Search the suitably generated sequence to find a particular pattern, e.g., HTH. Report where this sequence was…

Read more Heads Tails Heads – probability problem →
© Geek Candy 2025

Search

© 2026 Geek Candy