stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
F453 - revision Flashcards | StudBud
Explore
/
F453 - revision
What is machine code?
A clock speed of 1ghz means
F453 - revision
26 terms
·
StudBud Administration
·
53 plays
Revising F453 Function and purpose of translators
Flashcards
26 cards
F
Practice quiz
P
Host live
L
Questions
26
Answers
1
A clock speed of 1ghz means
1000000000 changes per second
1000 changes per second
1000000 changes per second
1 clock change per second
2
What is machine code?
Binary
Code written in Python, Java etc
Assembly code
Code written by a machine
3
Checks that the code meets the lanugage rules...
Code generation
Lexical analysis
Syntax analysis
4
Reads object file and copies code for any functions used...
Linker
Loader
Library routines
5
What is source code?
Written in a high level language orassembly language.
Low level code
A complete program
Binary code
6
Which of these handles addresses?
Loader
Library routines
Linker
7
What is intermediate code?
Code which needs further translating before it can be run.
Code which is written in assembly language.
High level code
Code that can be run with no further translating.
8
Which includes mnemonics?
Assembly language
Machine code
9
Optimisation occurs at this stage
Code generation
Lexical analysis
Syntax analysis
10
Which of these allows code to be reused?
Linker
Loader
Library routines
11
What type of architecture do most modern CPUs use?
Other
Von Newmann
Harvard
12
Which is written in plain text?
Assembly language
Machine code
13
What translates assembly language to object code?
Assembler
Interpretor
Compiler
14
Best for producing the final program?<em></em>
Compiler
Assembler
Interpreter
15
Which uses descriptive names for data stores?
Machine code
Assembly language
16
Which is best for developing a program?
Interpreter
Compiler
Assembler
17
Which is hard to write and hard to find errors?
Assembly language
Machine code
18
Loads the program into memory
Linker
Loader
Library routines
19
Keywords are replaced by tokens at this stage.....
Syntax analysis
Code generation
Lexical analysis
20
When is incorrect punctuation detected?
Code generation
Syntax analysis
Lexical analysis
21
Which translates the whole program in one go reporting errors all together at the end?
Interpreter
Compiler
Assembler
22
Which stage of compilation are comments stripped out at?
Syntax analysis
Lexical analysis
Code generation
23
What does this code do?
Counts up to a number
Adds two numbers
Multiplies two numbers
Compares two numbers
24
Which reports errors as they occur?
Interpreter
Compiler
Assembler
25
What type of architecture stores instructions and data in the same place in memory?
Harvard architecture
Other
Von Newmann architecture
26
Few errors are detected at this stage...
Syntax analysis
Lexical analysis
Code generation