Senior Secondary · 11-12 · Programming
What is a variable in programming?
A named location in memory used to store a value that can change
What is a loop used for in programming?
To repeat a block of code multiple times
What does 'zero-indexed' mean for a list or array?
The first element is at position (index) 0, not 1
What is an if/else statement used for?
To make a program choose between two different blocks of code to run, based on a condition
What does this code print? print(3 + 4 * 2)
11
Free, offline, no account needed — runs entirely in your browser.