• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 1 fuera de 3 páginas
Resumen

Summary OCR Computer Science A-Level notes on Programming Language Translators and Code Generation

Document preview thumbnail
Vista previa 1 fuera de 3 páginas

Summary notes for OCR Computer Science A-Level on Programming Language Translators and Code Generation

Vista previa del contenido

Assembly Code:

Computers execute machine code. This is difficult for human to read, write, and debug.

Assembly code instructions are equivalent to machine code but easier for humans to work with.

Assembler:

Assembly code is a low level language, translating assembly to machine code is done with an assembler.

Each processor has its own instruction set, so object code produced is hardware specific.

Compiler:

Compilers translate a whole program, in a high level language, into machine code through several
stages. Can only run with no Syntax errors.

This resulting code is Object Code.

The object code made is hardware specific.

Interpreter:

Interpreter also translates High-Level to Machine.

Interpreter does line by line, rather than whole program before it can be executed. Done in order needs
to be executed

Advantages of Compilers vs Interpreters:

Compilers Interpreters
Program run many times without recompile Source code run on any machine with the interpreter.
Fast execution time If small error, no need recompile whole.
Executable code not require interpreter to run
Compiled cannot be easily read/copied

Bytecode:

Most languages not solely compiled/interpreted- combination both.

Java= compiled into bytecode, intermediate step between source code and machine code.

Bytecode is interpreted by bytecode interpreter, for example Java Virtual Machine. Virtual Machine=
Emulator.

Información del documento

Nivel de Estudio
Tema
Subido en
4 de febrero de 2024
Número de páginas
3
Escrito en
2023/2024
Tipo
Resumen
$8.22

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
0
Seguidores
0
Artículos
30
Última venta
-




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes