- Research Article
- 10.1016/j.entcs.2009.12.025
Static Class Elements for Object-Z
- Dec 01, 2009
- Electronic Notes in Theoretical Computer Science
- Thomas Ruhroth + 1 more +1
Static Class Elements for Object-Z
In a society reliant on software, it is imperative that students are provided with appropriate skills in order to deal with ever increasing types of attack. Facilitators should provide students with an understanding both of the theoretical concepts underpinning vulnerabilities and also how to implement remediation strategies in modern object oriented programming languages. Facilities should be provided that allow pupils to demonstrate an understanding of software constructs and practices that can result in problems either from malicious or inadvertent intent, and demonstrate how to defensively program for these in an object oriented programming language. They also need to be able to evaluate security implications and issues relevant to creating secure software. Finally, students need to be able to design and implement applications that use security management techniques. Graduating with these core skills should prepare industry better to deal with the issues they are facing daily.
Static Class Elements for Object-Z
Static Class Elements for Object-Z
Converting a pixel structure into sound imaginations. Part 1
Aim. To identify the connection between visual and sound perception. Methodology. Using Object-Oriented Programming (OOP) of the Python language, we are looking for a way to convert a visual (pixel) display into an audio display. A number of modern and functional libraries are used. Modern methods of “packing” all software components into a single file are used for convenient program deployment on an electronic computing device (computer) with any modern operating system (OS). Results. A software product based on the modern object-oriented programming language and functional libraries was created, which allows to present the pixel structure of a visual image in a sound display format.Research implications. The significance lies in the disclosure of a modern way of “packing” all software components into a single file for convenient program deployment on an electronic computing device (computer) with any modern operating system (OS).
Read moreAlgorithm of the Hybrid Transformation Method for Modeling Dynamic Systems
The paper solves the scientific problem of developing a method algorithm for the study of nonlinear dynamic systems. To increase the accuracy and speed of calculations, the paper proposes an algorithm for the hybrid method of transformations for the study of nonlinear mathematical models of a polynomial structure. The paper presents a method of polynomial transformations for the study of systems with three degrees of freedom, a study of a nonlinear vibration protection system with three degrees of freedom is carried out. The paper presents a hybrid numerical-analytical method for the analysis of nonlinear mathematical models of a general polynomial structure, which makes it possible to study systems with controlled accuracy while reducing the resource intensity of calculations. The method introduces additional complex exponential variables, formulas for calculating the transformation coefficients and the transformed system are presented. An analytical solution is constructed for the transformed system in the resonant and nonresonant cases. For the economical calculation of the right parts of the polynomial structure, formulas are presented and it is proposed to apply Pan's scheme with preliminary processing of the coefficients. The developed algorithm of the method of polynomial transformations makes it possible to construct an approximate analytical solution, taking into account the nonlinear components of higher degrees of the polynomial. The proposed algorithm of the method makes it possible to study the dynamic characteristics of the object under study, special cases of subharmonic, polyharmonic regimes, determine extreme regimes, and resonance with controlled accuracy. The above algorithm is implemented in the created software package using the modern object-oriented programming language C#. The proposed method makes it possible to carry out a qualitative and quantitative analysis of models of dynamic systems.
Read moreNumerical implementation of the S-matrix algorithm for modeling of relief diffraction gratings
A new numerical implementation is developed to calculate the diffraction efficiency of relief diffraction gratings. In the new formulation, vectors containing the expansion coefficients of electric and magnetic fields on boundaries of the grating layer are expressed by additional constants. An S-matrix algorithm has been systematically described in detail and adapted to a simple matrix form. This implementation is suitable for the study of optical characteristics of periodic structures by using modern object-oriented programming languages and different standard mathematical software. The modeling program has been developed on the basis of this numerical implementation and tested by comparison with other commercially available programs and experimental data. Numerical examples are given to show the usefulness of the new implementation.
Read moreDevelopment of an Expert System for Fixing and Maintaining Mine Workings in the Mining Industry
The article is devoted to the development of an expert system, the purpose of which is to optimize the processes of fixing and maintaining mine workings in the mining industry. The paper presents a comprehensive approach based on the application of theoretical, numerical-analytical and empirical research methods, as well as the systematization of primary data and in-depth analysis of the problem. The expert system is developed using modern object-oriented programming languages, which ensures high efficiency and flexibility of the system. The main objective of the system is to provide sound solutions for fixing and maintaining mine workings, depending on the types of rocks and mining conditions. Thus, the expert system allows to reduce the decision-making time in the process of fixing and maintaining mine workings. This is especially important in a dynamically changing mining industry. The development and implementation of an expert system allows you to increase the level of knowledge and skills of specialists in the industry. Interactive interaction with the system contributes to the exchange of experience and the accumulation of knowledge
Read moreUnique Factorization Domains in the Java Computer Algebra System
This paper describes the implementation of recursive algorithms in unique factorization domains, namely multivariate polynomial greatest common divisors (gcd) and factorization into irreducible parts in the Java computer algebra library (JAS). The implementation of gcds, resultants and factorization is part of the essential building blocks for any computation in algebraic geometry, in particular in automated deduction in geometry. There are various implementations of these algorithms in procedural programming languages. Our aim is an implementation in a modern object oriented programming language with generic data types, as it is provided by Java programming language. We exemplify that the type design and implementation of JAS is suitable for the implementation of several greatest common divisor algorithms and factorization of multivariate polynomials. Due to the design we can employ this package in very general settings not commonly seen in other computer algebra systems. As for example, in the coefficient arithmetic for advanced Grobner basis computations like in polynomial rings over rational function fields or (finite, commutative) regular rings. The new package provides factory methods for the selection of one of the several implementations for non experts. Further we introduce a parallel proxy for gcd implementations which runs different implementations concurrently.
Read moreEvolution of Generic Programming in OOPLs
Generic Programming enables program constructs to be reused in a variety of situations. In programming languages, idea of generic programming is being opted through a variety of generic mechanisms. Generic mechanisms are either directly applied to pre-existing language constructs or it provides its own components for generic implementation. In this paper, we present such generic mechanisms in an organized way such that it appears as "one mechanism intensify other". Our aim is to exhibit generic evolution among mainstream object oriented programming languages (OOPLs). Hence, we analyze such approaches for better expressiveness and type-safety of generic programming as they evolved in OOPLs. This brief review article will help developers and researchers to precisely understand the generic mechanism in mainstream OOPLs.
Read moreLanguage and Methodology for Object-Oriented Database Environments
This paper describes an object-oriented database language being implemented at Brown for use on workstations, and demonstrates its use in defining an object-oriented programming environment. The database language is illustrated by specifications of the UNIX file system, Ada packages, program structure, and multiple views of program modules. Each example illustrates a different feature of object-oriented programming methodology. Collectively the examples serve both as an introduction to our database language and as a tutorial for object-oriented system programming.
Read moreHigh-level object oriented programming with array technology
Although classical object-oriented programming languages provide high-level modeling capacities (abstract data type, inheritance etc.), they remain low-level relative to data manipulation. Addressing this problem with object oriented programming languages is an important mission of today's research. Considerable work has already been done, leading to the development of tools such as object query languages, with mixed results. In this paper, we present the key points of a new approach to this problem. We propose an enhancement of object oriented programming at the core level, by integrating Array Programming, a high-level model for computing. Our solution is based on an extension to object oriented programming. This integration of object technology and Array Programming allows for high-level object-oriented programming. At the same time, it opens Array Programming to the powerful world of objects.
Read moreDesign and development of computer networking modules using virtual instruments and object oriented programming
The students' over reliance upon formulas and routine use of technique in problem solving too often lead to poor performance in advanced courses and a high attrition rate in the engineering, technology, and science programs. The students' lack of comprehension of mathematical concepts results in time wastage during laboratory experiments, misinterpretations of lab data and underachievement in standardized science and engineering tests that stress the fundamentals. This problem can be effectively addressed by improving the student's conceptual understanding and comprehension of the topics covered in introductory science and technology courses. One way to achieve this is through interactive learning and teaching and upgrading the existing laboratories with modern equipment. This will require increased funding and resources. But in recent years there is a decrease in resource allocation making it increasingly difficult to modernize the laboratories to provide adequate levels of laboratory and course work and universities are under pressure to look for alternative cost effective methods. One way to achieve this is through interactive learning and teaching through the use of software packages like LabVIEW (Virtual Instruments) and Java/Visual Basic (Object Oriented Programming).LabVIEW and Java/Visual Basic are currently used in a number of engineering schools and industries for simulation and analysis. By introducing virtual instrumentation (LabVIEW) and object oriented programming (Java/Visual Basic) to the existing laboratory facilities and course(s) the students can be well trained with the latest design techniques and computer aided instrumentation, design and process control used throughout industry. This will also allow the students greater interaction with the subject matter and improve his/her skills in the use of number of applied engineering software packages.LabVIEW is based on graphical programming and easy to use. It is an interactive problem-solving environment, where the students can analyze, visualize, and document real-world science and engineering problems. A number of books are available covering the use and application of LabVIEW.LabVIEW also provides an extensive library of virtual instruments and functions to help in programming. It also contains application specific libraries for data acquisition, GPIB and serial instrument control, data analysis, and file input/output with conventional program debugging tools that can be used to set breakpoints, single-step through the program, and animate the execution so that the flow of data can be observed.At South Carolina State University (SCSU), the PC and VI based system concept is used to design and develop a laboratory called Computer Based Virtual Engineering Laboratory (CBVEL). The CBVEL consists of IBM compatible computers with appropriate software and hardware from National Instruments (NI), Simulation software such as C++, Visual Basic, Java, PSPICE, etc., and is connected to School of Engineering Technology and Sciences (SETS) network and existing equipment. Virtual Instrument (VI) and Object Oriented Programming modules for different courses and research areas are currently developed and used to teach various courses. Examples of some of these VIs are Circuit Analysis, Electronics, Communications, Digital Signal processing, Networking, and Digital Filters.This paper discusses design and development of some of the modules such as Number Systems, Internet Protocol Addresses, Address Classes, Subnet Masks, and Sub-netting using LabVIEW and Visual Basic/Java.
Read moreBlockchain-Based Online Voting System
Digital voting is the use of electronic device, such as voting machines or an internet browser to cast vote. It has disadvantages like security of data and potential attacks such as DoS and DDoS attack. One way to solve these security credentials problems is through the blockchain technology. Blockchain technology embraces a decentralized system and the entire database is owned by many users that overcome the disadvantage of centralized system. The existing system has many security, confidentiality, and anonymity issues. These issues can be resolved by using blockchain technology. Here in the proposed system Ethereum blockchain is used, which enables smart contracts. Smart contracts can be written with solidity, which is object oriented programming language. The outcome of the project is it provides privacy by keeping individual’s vote secret by providing a unique transaction id to each voter. Eligibility is made once to vote and the transaction will be highly secure and encrypted.
Read moreReducing calling convention overhead in object-oriented programming on embedded ARM thumb-2 platforms
This paper examines the causes and extent of code size overhead caused by the ARM calling convention in Thumb-2 binaries. We show that binaries generated from C++ source files generally have higher amounts of calling convention overhead, and present a binary file optimizer to eliminate some of that overhead. Calling convention overhead can negatively impact power consumption, flash memory costs, and chip size in embedded or otherwise resource-constrained domains. This is particularly true on platforms using "compressed" instruction sets, such as the 16-bit ARM Thumb and Thumb-2 instruction sets, used in virtually all smartphones and in many other smaller-scale embedded devices. In this paper, we examine the extent of calling convention overhead in practical software, and compare the results of C and C++ programs, and find that C++ programs generally have a higher percentage of calling-convention overhead. Finally, we demonstrate a tool capable of eliminating some of this overhead, particularly in the case of C++ programs, by modifying the calling conventions on a per-procedure basis.
Read moreObject creation in Grace
We are engaged in the design of Grace, a new object-oriented open source programming language aimed at instructors and students in introductory programming courses. Grace aims to include features that have been found useful in software practice, while allowing multiple different teaching approaches without requiring that concepts be introduced to students before they are ready. While many aspects of Grace's design will be familiar to most object-oriented programmers, Grace cleanly separates the concepts of object, class, and type, and so Grace offers more options for creating objects than most other languages. We have written these patterns to explain how Grace programmers should go about creating objects.
Read moreObject-Oriented Programming for Wide-Area Computing
Object-based sequential programming has had a major impact on software engineering. However, object-based concurrent programming remains elusive as an effective programming tool. The class of applications that will be implemented on future high-bandwidth networks of processors will be significantly more ambitious than the current applications (which are mostly involved with transmissions of digital data and images), and object-based concurrent programming has the potential to simplify designs of such applications. Many of the programming concepts developed for databases, object-oriented programming and designs of reactive systems can be unified into a compact model of concurrent programs that can serve as the foundation for designing these future applications.There are several key questions in developing a model of concurrent-objects for wide-area computing. Foremost among the concerns is the difficulty associated with managing concurrent interactions, particularly when a multitude of machines interact. This is the main topic of this research. Additionally, issues of security and fault-tolerance are central to wide-area computing. How can a secure computation be carried out if the data and procedure reside at different machines? If a computation involves several thousand machines — as would be expected for a computation on the world-wide web — is it realistic to allow an unknown party to have exclusive access to a resource? That party may crash requiring a major roll-back effort. Is it reasonable to queue a caller for access to a resource when the resource manager could possibly fail, causing the caller to block? In this case, it may be more efficient to reject the call if the resource is not readily available. We seek a model that allows us to experiment with a variety of questions of this nature.
Read moreRisks of faults intrinsic to software languages: Trade-off between design performance and application safety
Risks of faults intrinsic to software languages: Trade-off between design performance and application safety