Specs
Write a program that allows the user to enter two bit strings of length 1 to 5 and compute the result using the binary logical operations, AND, OR, XOR, and XNOR. The program must also allow the user to apply the unary operations NOT, RSHIFT, LSHIFT, RCIRC, or LCIRC, entering a shift or circulate amount if necessary. In the case of the unary operations, the user should not have to enter a second, unnecessary bit string. Use textboxes and labels rather than input boxes and message boxes. Include Clear and Exit buttons as well. Use a combo box so that the user can make a choice of which operation to perform. See this demo program as a model when starting this assignment. You may also refer to this Eqv/XNOR demo program for help with one part of this assignment. A copy of the demo program project is located in our class template folder.
Preconditions:
Save the form and project files as "BitStringFlickingCalculatorJD"
with the proper file extensions (.frm & .vbp, respectively) and with your
initials substituted for JD. Save the whole project in a newly created folder
named "Bit String Flicking Calculator".
Your program must follow the Visual Basic Documentation & Coding Standards. Review them carefully before you submit your final program. Please submit printouts of the code and the form image stapled together with the code on top. Write your name and period number in pen or pencil on the top paper as well. Also, you should temporarily set the Visible property of any hidden objects (labels, textboxes, etc.) to True, so that they appear on the printout which you submit for a grade.
It is recommended that you complete the following related worksheets before this assignment: worksheet #1, worksheet #2