|← Bus Architecture||Social Network →|
There are three computer language translators. These are the Assembler, Compiler and Interpreter. The assembler plays the role of translating the code of a program into machine understandable instructions. It operates using low-level language. The compile and interpreter translate instructions written in a high-level language into a machine language. Although the two translators help to convert source program into machine code, they use different techniques for translation. First, while a compiler translates source program into machine code as whole, the interpreter uses a line-by-line translation approach (Bangia, 2005). In this regard, a compiler can only convert a program into machine code if there are no syntax errors in the entire program. This is not the case for an interpreter, which checks syntax errors on a single line and converts that section of the program. Therefore, a compiler executes faster compared to an interpreter.
A nonprocedural language is a high-level language in which users write instructions focusing on what they want a computer to do. In this regard, programmers focus less on adhering to the traditional programming logic, as is the case in the structured-software design. Nonprocedural languages enhance productivity since programmers work using few lines of code. The design of structured software entails procedures that work on a separately stored data. In this regard, the creation and modeling of data occurs independently of data. This differs from the design of object-oriented software in which data and procedures are one entity. In the structured design, a programmer first considers how a system will function and then develops code to meet those functions (Unhelkar, 2005). On the other hand, a programmer using the object-oriented design focuses on attaining the collaboration of various objects that constitute the software. The objects have more importance than the algorithm. The fundamentals of Object-oriented design portray this software architecture as outside the realm of structured design.