How readable?

We need your help with an investigation into readable code

If you are a computer programmer with about 10 minutes to spare, we would like to show you some snippets of source code and ask you questions about them. The aim is to investigate how code syntax, structure and style affect readability.

If you are willing to take part, please select a programming language from the list below. You will be shown code snippets in this language, so it should be the one with which you are most familiar.

Javascript Ruby Python