A Practical Approach for Detecting Logical Error in Object Oriented Environment

By | August 11, 2018

Ghassan Samara, Internet Technology Department Zarqa University, Jordan.

Abstract— A programming language is a formally constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs to control the behavior of a machine or to express algorithms. Most programs that are written by programmers are often compiled correctly with no syntax or semantic errors. However, some other errors appear after the execution of the program (logical error).
Logical Errors (LE) are errors that remain after all syntax errors have been removed. Usually, the compiler does not detect LE, so the produced results are different from what the programmer is expecting. For this reason, discovering and fixing the logical error is very hard and proposes a good topic for research and practice.
Some LE are resulted from the misuse of classes’ objects, and in Software Development Life Cycle (SDLC), it is considered that the software with LE is low-quality software with high maintenance cost.
In this paper, an object-oriented environment that allows the programmer to detect and discover LE to avoid it. This environment will be called Object Behavior Environment (OBEnvironment) will enforce the correct use of objects according to their predefined behaviors by using tools like Xceed Component (that appeal .Net windows form developers for building better applications), Alsing Component (that provides an area to programmer that allows writing correct syntax code by C# language) and, Mind Fusion Component (that provides an area to programmer that allows drawing State Diagrams to show object state).

Keywords-Component; Functional Safety, Reliability, Fault-Tolerance, Multiprocessor Systems, Control.

Citation: Ghassan Samara, “A Practical Approach for Detecting Logical Error in Object Oriented Environment “, The World of Computer Science and Information Technology Journal (WSCIT). 2017 Volume 7, Issue 3. pp. 10.19.

2017, Volume 7, Issue 3.

[1] http://objc.toodarkpark.net/oop.html. Visited on 2/2/2017
[2] http://www.webopedia.com/TERM/O/object_oriented_programming_OOP.html. Visited on 2/2/2017
[3] D. Clark, An Introduction to Object-Oriented Programming with Visual Basic .NET, Apress, 1st edition 2002.
[4]http://www.daniweb.com/forums/thread2019.html. Visited on 2/2/2017
[5] http:/book/Detection of Logical Coupling Based on Product Release History.htm.
[6] http:/book/Modeling the Effect of Technology Trends on the Soft Error Rate of Combinational Logic.htm.
[7] http://www.computerhope.com.htm. Visited on 2/2/2017
[8] Deitel, Microsoft, Programming with C#, Prentice Hall, 2 edition 2005.
[9] G. Christian, Beginning C# 2008: From Novice to Professional, Apress, 2nd edition 2008.
[10] T. Andrew, Pro C# 2008 and the.NET 3.5 Platform, Apress, 4th edition2008.
[11] B. Bernd & Allen H. Dutiot , Object-Oriented Software Engineering, Prentice Hall USA , 2end 2004.

Leave a Reply

Your email address will not be published. Required fields are marked *