A Mathematical Modeling of Object Oriented Programming Language : a case study on Java programming language SCI论文 用java阐述了面向对象语言的数学模型



A Mathematical Modeling of Object Oriented Programming Language : a case study on Java programming language
Manoj Kumar Srivastav*, Dr.Asoke Nath
Designation : Student * ,Organization : Indira Gandhi National Open University*,
Email ID* : mksrivastav2011@rediffmail.com,
Designation : Associate Professor, Organization : Department of Computer Science, St. Xavier s College
(Autonomous), Kolkata, India Email ID : asokejoy1@gmail.com
The basic objective of any computer program is to get Abstract - Srivastav et al already developed method to
optimal solution of the given problem. The same problem describe procedural language using mathematical
can be solved in different ways even though the output model. As a case study the authors taken C-language
of the program may exactly be the same. The same as the procedural language. Using simple concept the
problem can be solved using different languages also. So authors tried to develop some unified mathematical
therefore, the main point to be noted here is to get the model to explain procedural language. In the present
solution of a problem in minimum time and to solve work the authors made an attempt to describe Object
many problems in some stipulated time to make the Oriented language using simple mathematical model.
solution optimal. The class, object defined using simple concept of
optimality test of decision function. The inheritance 1.1 Introduction to Procedural language:
In procedural language a program comprises of several also describe in terms of set concept.
instructions. A program creates a set of instructions and
Keywords - [class, object, mathematical modeling, the computer carries them out. So, a procedural language
is divided into functions and each function has clearly object oriented language, Procedural language].
defined interface to other function in the program. The
idea of breaking a program into functions can be further 1. INTRODUCTION
extended by grouping a number of functions together into Any mathematical problem depends on the process of its
a larger entity called a module which is a group of computation. It is mainly depends on the number of steps
components. Dividing a program into functions and taken to solve a problem and the time required to solve a
modules is termed as structured programming. If the size problem. A mathematical problem can be solved using
of the program grows even larger and more complex then various methods/algorithms but we want to find a best
procedural language may produce of the following type possible solution out of all those solutions. One can claim
of problems. that a problem can have an optimal solution if it is
(a) Reuse of same code is restricted. giving an optimal value. The optimal solution may be
(b) Unrelated functions and data provide a poor model obtained if the number of steps to solve a problem is
optimal and the time taken to solve a problem will be
minimum. Now optimal solution and feasible solution
2. RELATION AMONG TIME, COST AND can be defined in the context of any Object oriented
AREA OF A RELATED PROBLEM programming language as follows:
(i) Optimal solution: values of the decision variable Relation between time, cost and coverage of a related
which satisfied the condition in lowest effort/cost. problem in programming language: (ii) Feasible solution: all possible solutions that include Let T =total time for computation of a problem
exception handling such as divide by zero, A=total coverage area of the related problem exceeding array Index upper bound ,format error , Ce =total expenditure cost to prepare a problem data type error etc. These type of exceptional Cv = total valuation cost a problem after preparing it. handling generally not possible in procedural 2.1Expenditure cost on solving a problem in a language such as in C-language. programming language follows the following rule: All the programming language follows the time and 2.1.1Note: The relationship between Procedural space complexity of a program. The following cases can language and Object Oriented language can be further occur during the running of a program: explored as follows:
134
(object-oriented programming language) C++(reason)...Contains commonly used mathematical operations – ...Unified Modeling Language (UML) – Graphical ...
c programming language 28页 免费 THE C PROGRAMMING...modeling with mathematical equations and object-...ne object-oriented languages for physical modeling....
On the interaction of object-oriented design patterns...Mathematical and Computer Sciences Loyola University ...of view of a particular programming language. Gam...
Analogue Electronics Data Structure Assembly Programming Language Digital Circuit ...Mathematical modeling INTERNET Programming Object Oriented Programming Database ...
ProgrammingLanguage计算机基础程序语言_计算机软件及应用...languages Object-oriented Languages What is OBJECT?...? A program is considered a mathematical function...
The investigated modelling technique supports programming in equations instead of...language, ObjectMath (Object-oriented Mathematical language for ScientiIIc ...
Oriented Programming 1.1 Introduction 1.2 Object-...3 1.1 Introduction 1 Machine Language: Binary ...expressions are similar to ordinary mathematical ...
With the MATLAB language, you can program and ...object-oriented programming (OOP), and debugging ...MATLAB contains mathematical, statistical, and ...
using the Modelica/Dymola programming language in an object-oriented ...lengthy derivations of mathematical equations governing component characteristics. ...
If the term ‘‘object-oriented programming language’’ means anything, it...abstract data type would require a mathematical ‘‘abstract’’ specification...
热门文档