Selection

Selection is a program deciding which set of instructions to run based on whether a condition is true or false, often written as an if-then structure: if it is raining, bring an umbrella, otherwise leave it at home. Selection is what lets a program react differently to different situations instead of doing the exact same thing every time it runs.

This explanation is AI-generated and can occasionally be wrong.

Vibistic AI

🔒 We never store your messages. The free built-in AI runs through Vibistic's own server, on Cloudflare's own AI infrastructure. You can also add your own API key to send messages straight from your browser to your AI provider instead.

  • Ask a question about Selection, like "can you give me another example?"

Your notes

Test your knowledge

This test is AI-generated and can occasionally be wrong. If something looks off, use Report below.

No API key configured yet. Clicking below will ask whether to add one or take a free version of this test when one is available.

Midterm

This test is AI-generated and can occasionally be wrong. If something looks off, use Report below.

No API key configured yet. Clicking below will ask whether to add one or take a free version of this test when one is available.

Final

This test is AI-generated and can occasionally be wrong. If something looks off, use Report below.

No API key configured yet. Clicking below will ask whether to add one or take a free version of this test when one is available.