Explore

Before you write a program

by Froga

The ideas the Program a siege lab assumes: what an instruction is, why input() never gives you a number, what a loop actually repeats, and the difference between printing an answer and returning one. Ten minutes.

You're previewing this room. Log in or create a free account to answer the questions and track your progress.

Unless something tells it otherwise, a program runs its instructions…

multiple choice

one at a time, from the top down
all at once
in whatever order is fastest
starting from the last line
Log in to answer

Ready to test yourself?

Sign up free to answer, score points, and build your streak.

Before you write a program · Froga