Which of the following is the correct order of the stages of compilation?
NEW 1.2.2 Application generation

Quiz
•
Computers
•
2nd Grade
•
Medium
Matt Hunt
Used 18+ times
FREE Resource
52 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Lexical Analysis > Syntax Analysis > Optimisation > Code Generation
Lexical Analysis > Syntax Analysis > Code Generation > Optimisation
Syntax Analysis > Lexical Analysis > Code Generation > Optimisation
Syntax Analysis > Lexical Analysis > Optimisation > Code Generation
Answer explanation
Compilation is the translation process that produces object code, intermediate code or machine code from high level source code. Compilation involves analysing the language structure of the source program, determining if it is valid, and producing suitable code for the CPU to execute. The stages of compilation are 1) Lexical Analysis, 2) Syntax Analysis, 3) Code Generation, 4) Optimisation.
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which is the best definition of backup utilities?
Provides a way to recover data if the original copy gets lost, deleted or corrupted
Reduces the amount of space information takes up on a storage device
Helps to consolidate the parts of the files back together
Helps to detect and remove malicious programs
Answer explanation
Utility software are system programs that perform a specific task in the operation of the computer. For example file backup, virus checking or a compression program. They are typically designed to keep your computer safe and in good working order. Backup utilities provide a way to recover data in case the original copy gets lost, deleted or corrupted.
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following is a disadvantage of closed source software?
Support is normally free
The company tends to provide free updates
The company is obliged to provide software that is fit for purpose
The software cannot be changed
Answer explanation
Closed source software (often called proprietary) is a type of computer program for which the software code is not shared with the public for anyone to look at or make changes to. Closed / Proprietary file types are often only able to be opened if you own a version of the software they were originally made in.
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which is the best definition of 'file managers'?
Helps to detect and remove malicious programs
Reduces the amount of space information takes up on a storage device
Allows directories, folders and files and to created, moved, copied, deleted and renamed
Helps to consolidate the parts of the files back together
Answer explanation
Utility software are system programs that perform a specific task in the operation of the computer. For example file backup, virus checking or a compression program. They are typically designed to keep your computer safe and in good working order. File managers allow directories, folders and files and to created, moved, copied, deleted and renamed.
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which is the best definition of compilation?
Turns Assembly code into machine code
Turns source code into machine code
Translates intermediate code into machine code
The process of language statements being checked against the rules of the language
Answer explanation
Compilation is the translation process that produces machine code from source code through many stages including lexical analysis, syntax analysis, code generation and linking library routines.
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which is the best definition of lexical analysis?
The translation process that produces an equivalent program in a low-level language
Ensures that executables programs are optimised at least as much as the compiler can predict
The process of language statements being checked against the rules of the language
Puts each code statement into the form best suited to the syntax analyser
Answer explanation
Lexical analysis is the stage in compilation of a program that puts each statement into the form best suited to the syntax analyser. The standard components of each statement, such as PRINT, IF etc., are replaced by their tokens (a unique fixed length code) and programmer-defined names are entered into a symbol table. The lexical analyser also removes unnecessary characters such as spaces, tabs and coder comments.
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which word should be used in this sentence? High level … can be translated into machine code using a compiler.
flowcharts
pseudocode
source code
assembly code
Answer explanation
High level source code can be translated into machine code using a compiler.
Create a free account and access millions of resources
Similar Resources on Quizizz
52 questions
Edexcel GCSE Computer Science Topic 3

Quiz
•
2nd Grade
50 questions
UAS APOTEKER

Quiz
•
1st - 3rd Grade
50 questions
Introducción a la Programación

Quiz
•
1st - 3rd Grade
52 questions
MH 1.2.2 Applications Generation

Quiz
•
2nd Grade
50 questions
CAT - Gr 10 - Hardware & Software

Quiz
•
KG - University
50 questions
Quiz 1 Digital Literacy, Careers in IT, Information Technology

Quiz
•
2nd Grade
50 questions
Databricks Certified Data Engineer Quiz part 2

Quiz
•
1st Grade - University
55 questions
*Computer Science Test*

Quiz
•
KG - Professional Dev...
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade