Which stage of the software development process involves the use of a compiler?
- Writing source code
- Debugging
- Running the program
- Translating source code into machine code
Which of the following is not a common feature of an IDE?
- Colour-coding commands
- De-bugging tools
- Run-time environment
- Conversion to hexadecimal
How does an interpreter contribute to the portability of code?
- Interpreters generate machine code for specific hardware architectures
- Interpreters make code less portable across different platforms
- Code interpreted by an interpreter is hardware-independent
- Portability is not affected by the use of interpreters
Which characteristic is more commonly associated with high-level programming languages?
- High portability
- Low portability
In high-level programming languages, what is the primary advantage of using variables?
- Variables are not supported in high-level languages
- They provide a way to store data in use by the program
- Variables only store constant values
- Variables are only used in low-level programming languages
What is a key characteristic of low-level programming languages?
- They are easy to understand for beginners
- Require a high-level compiler for execution
- Provide a high level of abstraction
- Directly correspond to the hardware architecture of a computer
What is the primary role of a compiler in the context of high-level programming languages?
- To execute the program directly
- To convert high-level code into machine code
- To interpret the code line by line during runtime
- To provide a user-friendly interface for programming
What are the primary components of an Integrated Development Environment (IDE)?
- Only a text editor
- Compiler and linker
- Text editor, debugger, and compiler
- Compiler, interpreter, and operating system
What is the purpose of error highlighting in an IDE?
- To ignore syntax errors in the code
- To automatically correct errors during runtime
- To visually identify and locate syntax or logical errors in the code
- To prevent the compilation of code with errors
When it comes to error handling, how do high-level programming languages typically differ from low-level languages?
- Low-level languages have built-in error prevention mechanisms
- Both high-level and low-level languages handle errors in the same way
- Low-level languages do not support error handling
- High-level languages provide more sophisticated error handling mechanisms