logo

Object-Oriented Programming Implementation and Testing

   

Added on  2024-04-24

51 Pages4099 Words332 Views
Contents
LO3 is the implementation of object-oriented programming......................................................................3
Implementation of an objected oriented solution on the design prepared [P3.1, M2]...........................3
Standards of Programming with commenting on effective code [P3.2]................................................12
Implement object behaviors using control structures to meet the design algorithms [P3.3, D2].........20
Make effective use of an Integrated Development Environment (IDE), including code and screen
templates [P3.4]....................................................................................................................................23
LO4 Be able to test and document object-oriented programming solutions............................................29
Critically reviews and test an object orientated programming solution you developed for the given
scenario [P4.1].......................................................................................................................................29
Analyze actual test results against expected results to identify discrepancies [ P 4.2]..........................40
Evaluate independent feedback on a developed objects oriented programmer solution and make
recommendations for improvements [P4.3].........................................................................................43
Create on-screen help to assist the users of a computer program [P 4.4].............................................44
Create documentation for the support and maintenance of a computer program [P4.5]....................47
Conclusion.................................................................................................................................................51
Lists of figures:
Figure 1coding of Main Class.......................................................................................................................3
Figure 2 coding of Login Page......................................................................................................................3
Figure 3 coding of Registration page...........................................................................................................4
Figure 4coding of Standard Calculator page................................................................................................6
Figure 5 coding of Scientific Calculator page...............................................................................................8
Figure 6 coding of Programmer Calculator page.......................................................................................10
Figure 7 coding of Programmer Calculator page.......................................................................................12
Figure 8 Naming Conventions....................................................................................................................12
Figure 9 Multiline Comments....................................................................................................................13
Figure 10 Multiline Comments stating the beginning of entry point of application.................................14
Figure 11 Comments stating the array to be returned to the registered users.........................................14
Figure 12 Comments stating the validation, checking the length of entered string and performing the
numeric calculation...................................................................................................................................15
Figure 13 Comments stating the conversation of decimal to binary, decimal to hexadecimal and
performing each and specific calculation in programmer calculator.........................................................15
Figure 14 Comments for storing values in the array and performing calculation......................................16
Figure 15 Comments for Performing mean and median...........................................................................17
Object-Oriented Programming Implementation and Testing_1
Figure 16 Comments for sine cosine and tangent calculation in scientific calculator................................17
Figure 17 Comments for addition subtraction, square-root, division and multiplication in the standard
calculator...................................................................................................................................................18
Figure 18 Comments for checking performed operation in the standard calculator.................................19
Figure 19 Event Handling...........................................................................................................................19
Figure 20 initializing an array for registering users....................................................................................20
Figure 21 if else code in program..............................................................................................................21
Figure 22 Switch-case code in program.....................................................................................................21
Figure 23 for each loop code in program...................................................................................................22
Figure 24 while loop code in program.......................................................................................................22
Figure 25 For-Loop code in program.........................................................................................................23
Figure 26 Visual Studio IDE........................................................................................................................23
Figure 27 Login page..................................................................................................................................24
Figure 28 Register Page.............................................................................................................................24
Figure 29 after logging window.................................................................................................................25
Figure 30 Registered user window............................................................................................................26
Figure 31 Calculator options......................................................................................................................26
Figure 32 StandardCalculator....................................................................................................................27
Figure 33 ScientificCalculator....................................................................................................................27
Figure 34 ProgrammerCalculator..............................................................................................................28
Figure 35 AdvanceCalculator.....................................................................................................................29
Figure 36 Test case 1: login page...............................................................................................................31
Figure 37 test case 2: registration.............................................................................................................32
Figure 38 List of registered users...............................................................................................................32
Figure 39 Testing for invalid username or password.................................................................................34
Figure 40 after logging in this will show up...............................................................................................34
Figure 41 option page for calculator..........................................................................................................35
Figure 42: calculator page.........................................................................................................................36
Figure 43 giving input to calculate the result.............................................................................................36
Figure 44 calculated area and perimeter...................................................................................................37
Figure 45: input entered............................................................................................................................38
Figure 46 output.......................................................................................................................................38
Figure 47 test case 1login page.................................................................................................................41
Figure 48: test case 2Registration page.....................................................................................................41
Figure 49 test case 3 Registration..............................................................................................................42
Figure 50 test case 4Login page.................................................................................................................42
Figure 51 test case 5List page....................................................................................................................43
Figure 52 login page..................................................................................................................................45
Object-Oriented Programming Implementation and Testing_2
LO3 is the implementation of object-oriented
programming
Implementation of an objected oriented solution on the design
prepared [P3.1, M2]
Figure 1coding of Main Class
Object-Oriented Programming Implementation and Testing_3
Figure 2 coding of Login Page
Figure 3 coding of Registration page
Object-Oriented Programming Implementation and Testing_4
Object-Oriented Programming Implementation and Testing_5
Figure 4coding of Standard Calculator page
Object-Oriented Programming Implementation and Testing_6
Object-Oriented Programming Implementation and Testing_7
Figure 5 coding of Scientific Calculator page
Object-Oriented Programming Implementation and Testing_8

End of preview

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

Related Documents
Object Oriented Programming: Advanced Scientific Calculator Design and Implementation
|57
|6282
|499

Order and Components - Thesis and Dissertation Guide
|8
|967
|75

Unit 9: Software Development Life Cycle
|46
|9041
|1314

Unit 1: Programming Submission PDF
|36
|7565
|62

The assignment submission is entirely my own work and I understand the consequences of plagiarism
|75
|6901
|487

Database Design & Development Assignment 2
|75
|6962
|200