Pregunta de entrevista de Malwarebytes

Name some software patterns. How does event loop work?