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.
Study material

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

multiple choice

Aone at a time, from the top down
Ball at once
Cin whatever order is fastest
Dstarting from the last line
Log in to answer

Ready to test yourself?

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