Your result

kody
Join Kody

Silence every signal

Change activity
Boolean AND

Silence every signal

Goal

Make this OR output FALSE in at most 4 flips.

Preview board

Not run

Add instructions, then run your pseudocode.

Pseudocode

0 / 4 instructions

    Ready to run.
    How it works
    Boolean AND

    Evaluate a Boolean condition across several inputs.

    Key rule

    AND needs all inputs true; OR needs at least one; XOR is true for an odd number of true inputs. FLIP negates one input.

    Worked example
    Different example: TRUE AND FALSE is FALSE; TRUE XOR TRUE is FALSE. Flipping a switch changes the expression inputs.
    Win condition

    Complete the pseudocode and concept check.

    Show a hint

    OR stays TRUE while even one input remains TRUE. Compare that with AND.

    Related modules
    Edit text

    Enter one instruction per line. You can use the displayed pseudocode or commands from the reference.

    Command reference

    WELCOME TO KODY

    A little play. A lot of possibility.

    I’m Kody, your coding companion. Your adventure is ready. Let’s find our way around.

    Log in