Question text
Functions Operators Monadic Dyadic / Reduce + Conjugate Plus ⌿ ReduceFirst - Negation Subtraction ¨ Each × Signum Multiply ⍨ Flip ÷ Reciprocal Divide ⍤ Rank | Magnitude Modulo ∵ Bitwise ⌈ Ceiling Maximum ∘ Compose ⌊ Floor Minimum parallel ⍟ Logarithm BaseLogarithm ⍳ Iota IndexOf ⍴ Shape Reshape Control ⊢ Self Right if (a) { ⊣ Self Left result = Equals } ≠ Not equals < Less than if (a) { > Greater than resultIfTrue ≤ Less than or equal } else { ≥ Greater than or equal resultIfFalse ⌷ Index } ⊂ Encose Partition ⊃ Disclose Pick when { ∧ And/GCD (conditionA) { resultIfA } ∨ Or/LCM (conditionB) { resultIfB } ⍲ Nand (1) { elseResult } ⍱ Nor } ~ Not Without , Ravel Concatenate while (a) { ⍪ Table ,[0] code ↑ First Take } ↓ DropFirst Drop ? Random Draw unwindProtect { ⌽ Reverse Rotate mainCode ⊖ ReverseMajor RotateMajor } { unwind } ⍉ Transpose Reorder ≡ Match :foo → "test" ⍝ throw ≢ Size NotMatch ∊ Find ⍷ FindMap ⍋ GradeUp ⍒ GradeDown / Select ⌿ SelectFirst ⍕ String ⍎ Parse ∪ Unique UniqueBoth ∩ Intersect ! Factorial Binomial
Welcome to Learn Kap. Solve the programming problems by typing into the input box. You might want to open the Kap Reference to another tab.
Some problems are solvable with one symbol only, so for example this is perfectly fine: myFun ⇐ ⌽
Use the arrow buttons to navigate between questions.
Click the "Check" button to check your answer.
You can skip up to 2 questions by clicking the forward arrow without answering.
The grid at the bottom shows the status of each question: green = correct, red = incorrect, yellow = skipped.
Learn Kap is under development. Known issues:
Credits:
the Learn Kap quiz: Teppo Saari
the Kap programming language: Elias Mårtensson