NEW
Font size
WorksheetsSLR5 & 6 Revision Starter Quiz
Total questions: 30
Worksheet time: 15mins
What is an application in the context of computer programs?
A program that can be run on a computer to carry out specific tasks
A translator that converts high-level language to machine code
A program that links object code files together
A collection of programs that are already compiled
What does an assembler do?
Converts high-level language to machine code
Converts assembly language into machine code
Links compiled programs together
Removes extra spaces and comments from source code
What is closed source software?
Software that is free to use and modify
Software sold with a license and restrictions on usage
Software that converts high-level language to machine code
Software that links object code files together
What is the role of a compiler?
Converts assembly language into machine code
Converts high-level language into machine code
Checks syntax errors line by line
Links compiled programs together
What does an interpreter do?
Converts high-level language into machine code
Checks a source program for syntax errors line by line, translates it to machine code, and executes the line
Links object code files together
Removes extra spaces and comments from source code
What is lexical analysis?
The process of linking compiled programs together
The first stage of compilation where extra spaces and comments are removed from the source code
The process of converting high-level language to machine code
The final stage of compilation where machine code is produced
What are libraries in programming?
Programs that convert high-level language to machine code
Programs that are already compiled and can be loaded into a program when required
Programs that check syntax errors line by line
Programs that link object code files together
What is the role of a linker?
Converts high-level language to machine code
Places appropriate machine addresses in the call and links object code files together
Removes extra spaces and comments from source code
Checks syntax errors line by line
Which stage of compilation involves removing extra spaces and comments from the source code?
Code Generation
Lexical Analysis
Compilation
Linking
What is the final stage of compilation called?
Lexical Analysis
Code Optimisation
Linking
Interpretation
What is the main function of interpreters?
To convert assembly language into machine code
To check syntax errors line by line and execute the program
To link object code files together
To remove extra spaces and comments from source code
What is the difference between a compiler and an interpreter?
A compiler converts high-level language to machine code, while an interpreter checks syntax errors line by line and executes the program
A compiler links object code files together, while an interpreter removes extra spaces from source code
A compiler checks syntax errors line by line, while an interpreter converts high-level language to machine code
A compiler removes comments from source code, while an interpreter links object code files together
What is the main purpose of code generation?
To remove extra spaces and comments from source code
To produce an equivalent machine code program
To check syntax errors line by line
To link object code files together
What is the first stage of compilation?
Code Generation
Lexical Analysis
Linking
Interpretation
What is the main function of an assembler?
To convert high-level language to machine code
To convert assembly language into machine code
To link object code files together
To check syntax errors line by line
What is the purpose of lexical analysis in compilation?
To produce machine code
To remove extra spaces and comments, and tokenize the source code.
To link object code files together
To check syntax errors line by line
What is the main function of a compiler?
To convert high-level language to machine code
To check syntax errors line by line
To link object code files together
To remove extra spaces and comments from source code
What is the role of libraries in programming?
To provide pre-compiled programs that can be loaded and run when required
To convert high-level language to machine code
To check syntax errors line by line
To link object code files together
What is the difference between an assembler and a compiler?
An assembler converts assembly language to machine code, while a compiler converts high-level language to machine code
An assembler checks syntax errors line by line, while a compiler links object code files together
An assembler removes comments from source code, while a compiler produces machine code
An assembler links object code files together, while a compiler removes extra spaces from source code
What is the purpose of optimization during code generation?
To add more redundancies to the code.
To make the object code as efficient as possible by removing redundancies.
To convert code from one language to another.
To check for syntax errors in the code.
What happens during syntax analysis in compilation?
Statements, expressions, and tokens are checked for syntax errors using syntax diagrams.
Code is converted from one language to another.
The executable object program is loaded into memory.
The performance of the computer is optimized.
What is the Software Development Life Cycle (SDLC)?
A process for converting code from one language to another.
The various stages in designing and implementing a new computer system.
A method for optimizing the performance of a computer.
A type of Agile Methodology.
What does methodology in software development refer to?
How programmers move from one phase of SDLC to another.
How code is optimized during generation.
How syntax errors are checked in code.
How executable programs are loaded into memory.
What is the main focus of Agile Methodologies?
Producing incremental prototypes of software over short, fast-paced sprints.
Checking for syntax errors in code.
Converting code from one language to another.
Optimizing the performance of the computer.
What is the main feature of Rapid Application Development?
Clearly defined stages completed in linear order
Speedy responses to changes through prototyping and evaluations
Focus on risks and iterative refinement of prototypes
Frequent software releases and checkpoints
Which model focuses on risks and iterative refinement of prototypes until the final product is complete?
Agile Development
Spiral Model
Waterfall Lifecycle
Rapid Application Development
In which methodology do user requirements need to be clear from the start?
Waterfall Lifecycle
Spiral Model
Agile Development
Rapid Application Development
What is the first cycle in the Spiral Model focused on?
Producing a refined prototype
Creating a reduced-functionality mock-up
Developing an initial prototype
Completing the final product
What is the main focus of the Spiral Model?
Frequent software releases
Refining and repeating stages with prototypes
Completing stages in linear order
Speedy responses to changes
Which methodology does not require user requirements to be clear at the start?
Waterfall Lifecycle
Spiral Model
Agile Development
Rapid Application Development
