SLR 5 EXAM QUESTIONS
暂无描述。系统推荐的高质量记忆内容,适合每天坚持背诵学习。
卡片预览 (20 张)
Explain the difference between general-purpose and special-purpose software.
General-purpose software performs many tasks (e.g., word processors). Special-purpose software performs one specific task (e.g., software for ATMs).
Give one advantage of bespoke software.
It is tailored to the exact needs of a business, improving efficiency.
Give one disadvantage of bespoke software.
It is expensive and takes longer to develop compared to off-the-shelf solutions.
Explain the purpose of utility software.
Utilities perform maintenance tasks that help manage and optimise system performance.
Give an example of a file management utility and describe its purpose.
File compression reduces file size to save storage space.
Why is antivirus software important?
It detects and removes malware to protect system integrity.
Explain one advantage of open-source software.
It is free to use and can be modified by anyone to suit their needs.
Explain one advantage of closed-source software.
It usually comes with official support and regular updates.
Explain one disadvantage of open-source software.
Support may be unreliable or community-based only.
Describe the role of an assembler.
It converts assembly language into machine code.
Give Two difference between a compiler and an interpreter.
A compiler translates the whole program at once, while an interpreter translates line-by-line. Error Handling:Reports all syntax errors at the end of the entire compilation process. Stops and reports errors immediately as soon as a faulty line is encountered
Explain why interpreted programs often run slower than compiled ones.
Each instruction must be translated during execution, causing delays.
Describe what occurs during lexical analysis.
Source code is broken into tokens, and comments/whitespace are removed.
Explain the purpose of syntax analysis.
It checks whether the program follows grammar rules of the language.
Explain why optimisation is used during compilation.
To make the final code more efficient without changing its behaviour.
Explain the purpose of a linker.
It combines object files and links required libraries to create an executable.
Explain the role of the loader.
It loads the executable program into memory and prepares it for execution.
Give one difference between static and dynamic libraries.
Static libraries are included in the final executable; dynamic libraries are loaded during program execution.
Give one advantage of dynamic libraries.
They save memory because multiple programs can share the same library code.
Explain why programmers use libraries.
They provide pre-written and tested code, speeding up development.