1. For each of the 5 bugs in the Caesar Cipher app, explain what the bug was, how to fix it, and the type of error (semantic or syntax). If you wish, you can take a picture of your corrected blocks and then annotate it to identify and describe the bugs you fixed.
In the caesarEncrypt function, the result was being output as the plain_alphabet variable and not the plaintext variable. This is a semantic error that could be solved by replacing the plain_alphabet block with the plaintext block. The next bug was that in the caesarDecrypt function, the loop was set from 1 to 5. This is a semantic error and could be fixed by changing the loop to go from 1 to the length of the cipher alphabet. The next bug is that in the caesarDecrypt function, the result is ciphertext. This is a semantic error and could be fixed by changing the result to plaintext. The next bug is that encrypt button changes the Plain Textbox Text. This is a semantic error and could be fixed by making the button change the Cipher Textbox Text instead. The last bug is that in the caesarEncrypt function the loop is from 1 to the length of the plain alphabet. This is a semantic error and could be fixed by setting the loop to be from 1 to the length of the plaintext.