Preview

List and Explain the Characteristics of an Operating System

Good Essays
Open Document
Open Document
6127 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
List and Explain the Characteristics of an Operating System
| | | |
A compiler is a computer program that implements a programming language specification to "translate" programs, usually as a set of files which constitute the source code written in source language, into their equivalent machine readable instructions (the target language, often having a binary form known as object code). This translation process is called compilation. We compile the source program to create the compiled program. The compiled program can then be run (or executed) to do what was specified in the original source program.
The source language is always a higher-level language in comparison to machine code, written using some mixture of English words and mathematical notation, assembly language being the lowest compilable language (an assembler being a special case of a compiler that translates assembly language into machine code). Higher-level languages are the most complex to support in a compiler/interpreter, not only because they increase the level of abstraction between the source code and the resulting machine code, but because increased complexity is required to formalize those abstract structures.
The target language is normally a low-level language such as assembly, written with somewhat cryptic abbreviations for machine instructions, in this cases it will also run an assembler to generate the final machine code. But some compilers can directly generate machine code for some actual or virtual computer e.g. byte-code for the Java Virtual Machine.
Another common approach to the resulting compilation effort is to target a virtual machine. That will do just-in-time compilation and byte-code interpretation and blur the traditional categorizations of compilers and interpreters.
For example, C and C++ will generally be compiled for a target `architecture'. The draw-back is that because there are many types of processor there will need to be as many distinct compilations. In contrast Java will target a Java Virtual Machine, which is an

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Homework Week 2

    • 743 Words
    • 3 Pages

    A compiler translates one computer language into another. It also pics up errors in the program being put together.…

    • 743 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    pt1420 exam review

    • 738 Words
    • 3 Pages

    What is used to translate high level language programs to machine language (or machine code)? Compiler…

    • 738 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Inch and Lt

    • 1077 Words
    • 5 Pages

    A: The machine code is the language which the computer hardware understands and executes. It is preferable to write programs in a high level language such as C ++ because it is much easier to understand and learn this machine language.…

    • 1077 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    •Name and describe the only language that computers understand and explain how the instructions that people write for computers get into that form…

    • 322 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    To apply the stored-program concept, central processing unit (CPUs) are designed to recognize instructions encoded as bit patterns. This collection of instructions along with the encoding system is called the machine language. An instruction expressed in this language is called a machine-level instruction or, more commonly, a machine instruction.…

    • 458 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Week 1 Homework

    • 843 Words
    • 5 Pages

    A linker takes one or more machine code modules generated by a compiler and combines them into a single executable program.…

    • 843 Words
    • 5 Pages
    Good Essays
  • Good Essays

    The compiler adds a symbol table to the executable so that variable names from the source code can be understood. The compiler avoids optimizing operations so that lines of code in the executable can be related to the original lines of source code.…

    • 567 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Death of a Salesman

    • 820 Words
    • 4 Pages

    An excellent father will make every effort to constantly do what is best for his family. He will put his needs last, ensuring that his family is well cared for and not lacking for any necessities. And, most significantly, a first-class father will make his family his main concern, coming before his job, his friends, or even himself. In Arthur Miller's Death of a Salesman, Willy Loman is a prime example of a horrific father in every way mentioned previously. Not only is Willy Loman not a good father and spouse, but he furthers his failure by being a typical anti-hero and by failing to accomplish the American Dream. There for I believe the play is not necessarily what Miller and Kazan perceive it to be. Here I will be discussing Willy Lomans discraceful actions towards his family and finally expose the actual theme of the play.…

    • 820 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Computer Concepts Exercises

    • 2338 Words
    • 10 Pages

    011000 The list of codes for a microprocessor’s instruction set is called machine language. (Answer: True)…

    • 2338 Words
    • 10 Pages
    Good Essays
  • Satisfactory Essays

    Intro to Computers

    • 340 Words
    • 2 Pages

    Most computer software falls into one of three categories: compilers and other translator programs, software applications, and system software. Describe and give examples of each. [RQ, no. 2]…

    • 340 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Compilation: programs are translated into machine code which can directly execute on the computer. Compiler analyzes the whole code and generates the machine code which makes it very fast process. And due to this, compiled programs don’t require any second application or package to run it. The time takes to create a program from compilation is relatively faster than interpretation. As a disadvantage, compilation process is hardware specific into which machine it get compiled. Architecture of the computer affects…

    • 1672 Words
    • 7 Pages
    Better Essays
  • Good Essays

    which is the tiny data processor in the computer, and then the program could be written…

    • 1671 Words
    • 7 Pages
    Good Essays
  • Powerful Essays

    Compiler, in computer science, computer program that translates source code, instructions in a program written by a software engineer, into object code, those same instructions written in a language the computer 's central processing unit (CPU) can read and interpret. Software engineers write source code using high level programming languages that people can understand. Computers cannot directly execute source code, but need a compiler to translate these instructions into a low level language called machine code.…

    • 4020 Words
    • 17 Pages
    Powerful Essays
  • Satisfactory Essays

    Compiler translates a high-level program in a separate machine language program while the interpreter is a program that both translates and executes the instructions in a high-level language program.…

    • 256 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Mobile Cloning

    • 4981 Words
    • 20 Pages

    compilers are used to generate software that can run on computers with a new architecture or on specialpurpose devices that cannot host their own compilers.…

    • 4981 Words
    • 20 Pages
    Good Essays