logo

Examples of Code Errors and GUI Designs in a Calculator Program

3 Pages666 Words268 Views
   

Added on  2019-09-13

About This Document

This text appears to be a series of examples of code and their outputs. The first two examples show errors, one lexical and one syntax. The next four examples show different versions of a calculator interface and a radio button test, with the final example showing nested panels. The actual output from the program is not provided and needs to be filled in by the user.

Examples of Code Errors and GUI Designs in a Calculator Program

   Added on 2019-09-13

ShareRelated Documents
Example 1: Lexical error File Contents (file "input1.txt")Actual Output Window "Calculator" (200, 200) Layout Flow():Textfield 20; Panel Layout Grid(4, 3, 5, 5)| Button "7"; Button "8"; Button "9"; Button "4"; Button "5"; Button "6"; Button "1"; Button "2"; Button "3"; Label ""; Button "0"; End;End.Lexical error! (please provide details)Fill here the output from your program.Example 2: Syntax errorFile Contents (file "input2.txt")Actual Output Window "Calculator" (200, 200) Layout Flow(LEFT):Textfield 20; Panel Layout Grid(4, 3, 5, 5): Button "7"; Button "8"; Button "9"; Button "4": Button "5"; Button "6"; Button "1"; Button "2"; Button "3"; Label ""; Button "0"; End;End.Syntax error! (please provide details)Fill here the output from your program.
Examples of Code Errors and GUI Designs in a Calculator Program_1

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Medical and Surgical Conditions
|1
|7328
|209

Medical and Surgical Conditions
|1
|7328
|223

Medical and Surgical Conditions
|1
|7328
|330

Medical and Surgical Conditions
|1
|7328
|132

Medical and Surgical Conditions
|1
|7328
|498

Medical and Surgical Conditions
|1
|7328
|168