100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

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

Rating
-
Sold
-
Pages
3
Uploaded on
04-02-2024
Written in
2023/2024

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









Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
February 4, 2024
Number of pages
3
Written in
2023/2024
Type
Summary

Content preview

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.
£5.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
GeorgeKn

Also available in package deal

Thumbnail
Package deal
Summary notes for OCR Computer Science A-Level (Characteristics of Contemporary Processors- Topic 1-and Operating Systems and Programming Language Translators- Topic 2
-
10 2024
£ 40.10 More info

Get to know the seller

Seller avatar
GeorgeKn Urmston Grammar
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
1 year
Number of followers
0
Documents
30
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions