1
1. What program is used to write programs? Fill in on compiler interpreter assembler editor 2. Match the program on the left with its function on 3. Which of the following are examples of translators Compiler Editor Assembler Execution 4. For each of the following computer languages, tick are compiled, interpreted or assembled languages. T Compiled Interpreted PHP C# Python 5. Using which method will result in programs to run Interpreted Compiled Assemb A 49 Compiler Assembler Interpreter Executes one line at a t Translates high level so code into machine co Translates low level asse code into machine co ne circle. n the right. s? Tick two boxes. k as to whether they Tick once per row. Assembled n the slowest? bled 6. What feature in an editor makes tex what feature of a language it is. E.g. on colour for keywords. ____________ 7. Complete the text below with the w A ____________________ takes _____ ____________________ and ________ ____________________ . Object code and libraries using a _______________ ____________________ . This program specific CPU and architecture. High level language compiler Source code object code 8. Some code is written using mnemon instructions that the processor can car a) What type of code is this? _______ b) What program is used to translate __________ Assemblers, Compilers time ource ode embly ode [1] [3] [1] [3] [1] ___ 10 Syntax high compiler so high level language trans object code linker executable program Assem An assembl xt different colours depending on ne colour for variables and another _________________ words beneath. ________________ which is in a _____________ it into is combined with other object code ______ . The result after linking is an m will have been created for a executable program linker translates nics that correspond with rry out. ______________ code this code into machine code? ________ s & Interpreters - Answers [1] [7] [1] [1] ___ 10 hlighting ource code slates mbly ler 169 Licensed to St Joseph's Catholic School, Salisbury, #3431435

A49 Assemblers Compilers and Interpreters

Embed Size (px)

DESCRIPTION

A49 Assemblers Compilers and Interpreters

Citation preview

Page 1: A49 Assemblers Compilers and Interpreters

1. What program is used to write programs? Fill in one circle. compiler interpreter assembler editor

2. Match the program on the left with its function on the right.

3. Which of the following are examples of translators? Tick Compiler Editor Assembler Execution

4. For each of the following computer languages, tick as to whether theyare compiled, interpreted or assembled languages. Tick once

Compiled Interpreted

PHP

C#

Python

5. Using which method will result in programs to run the slowest? Interpreted Compiled Assembled

A 49

Compiler

Assembler

Interpreter

Executes one line at a time

Translates high level source

code into machine code

Translates low level assembly

code into machine code

1. What program is used to write programs? Fill in one circle.

its function on the right.

3. Which of the following are examples of translators? Tick two boxes.

4. For each of the following computer languages, tick as to whether theyare compiled, interpreted or assembled languages. Tick once per row.

Assembled

5. Using which method will result in programs to run the slowest?Assembled

6. What feature in an editor makes text different colours depending onwhat feature of a language it is. E.g. one colour for variables and anothercolour for keywords.

____________________________

7. Complete the text below with the words beneath.

A ____________________ takes ________________________________________ and ________________________________________. Object code is combined with other object codeand libraries using a ________________________________________. This program will have been created for aspecific CPU and architecture.

High level language compilerSource code object code

8. Some code is written using mnemonics that correspond withinstructions that the processor can carry out.

a) What type of code is this? ____________________ code

b) What program is used to translate this code into machine code?_________________

Assemblers, Compilers & Interpreters

Executes one line at a time

Translates high level source

code into machine code

Translates low level assembly

code into machine code

[1]

[3]

[1]

[3]

[1]

___10

Syntax highlighting

compiler source codehigh level language translatesobject code

linkerexecutable program

Assembly

An assembler

6. What feature in an editor makes text different colours depending onwhat feature of a language it is. E.g. one colour for variables and another

____________________________

with the words beneath.

____________________ which is in a____________________ it into

. Object code is combined with other object code____________________. The result after linking is an

. This program will have been created for a

executable program linkertranslates

8. Some code is written using mnemonics that correspond withinstructions that the processor can carry out.

a) What type of code is this? ____________________ code

b) What program is used to translate this code into machine code?_________________

Assemblers, Compilers & Interpreters - Answers

[1]

[7]

[1]

[1]

___10

Syntax highlighting

source codetranslates

Assembly

An assembler

169Licensed to St Joseph's Catholic School, Salisbury, #3431435