Skip to content
Sign in
Computer PPSC

If the code for JAVA is LCXC what is the code for BASIC?

Tap an option to check the answer. You can also press A–D.

Explanation
Each letter is shifted forward by 2 positions in the alphabet: J->L, A->C, V->X, A->C. Applying the same +2 shift to BASIC: B->D, A->C, S->U, I->K, C->E, giving DCUKE. Related facts: Letter-shift (Caesar) coding is the simplest coding-decoding pattern. Always derive the rule from the given example first, then apply it to the new word. Watch for wrap-around (e.g. Y+2 = A) in longer shifts. TABLELetterShift +2ResultB+2DA+2CS+2UI+2KC+2E Exam tip: Write the alphabet positions above the letters when the shift is not obvious at a glance.