The code is generated by assigning numerical values to letters according to their position in the alphabet. The letter values are then rearranged to form the final code. Using the same pattern, KTLVPTBA corresponds to 22347221.
Thus, the correct answer is Option (A).