1) Question 1: What is the main purpose of a code editor? a) A. To execute machine code b) B. To write and edit source code c) C. To optimise memory d) D. To translate code to machine code 2) Question 2: What does a runtime environment allow you to do? a) A. Translate code into tokens b) B. Run and test a program c) C. Colour code text d) D. Remove comments 3) Question 3: Why is line numbering useful? a) A. Helps code run faster b) B. Helps programmers find specific lines with errors c) C. Stores variables d) D. Makes code colourful 4) Question 4: What does error diagnosis do? a) A. Deletes all comments b) B. Highlights where errors occur c) C. Compiles the program d) D. Writes code automatically 5) Question 5: What is the purpose of colour coding? a) A. To decorate the screen b) B. To improve readability of code c) C. To test variables d) D. To remove whitespace 6) Question 6: What does a debugger do? a) A. Translates source code b) B. Helps test and fix errors c) C. Automatically creates variables d) D. Speeds up execution 7) Question 7: What is tracing used for? a) A. Formatting code b) B. Recording program behaviour during execution c) C. Removing syntax errors d) D. Downloading data 8) Question 8: What do break points allow you to do? a) A. Add comments b) B. Pause the program during execution c) C. Compile code faster d) D. Remove variables 9) Question 9: What does a variable watch tool show? a) A. Memory addresses b) B. Variable values as the program runs c) C. Optimised code d) D. CPU usage 10) Question 10: What is auto-correct used for? a) A. Automatically fixing common typing mistakes b) B. Debugging c) C. Storing arrays d) D. Increasing speed 11) Question 11: What does auto-suggestion help with? a) A. Suggesting code completions b) B. Compiling c) C. Testing code d) D. Deleting variables 12) Question 12: Why is auto-indent useful? a) A. It makes programs run faster b) B. It improves code structure and readability c) C. It tests loops d) D. It removes syntax errors 13) Question 13: What does a linker create? a) A. Colour-coded text b) B. A single executable program c) C. Runtime environment d) D. Line numbers 14) Question 14: What is the job of a loader? a) A. Edit code b) B. Translate Java c) C. Load the program into memory for execution  d) D. Optimise loops 15) Question 15: What is a key feature of a compiler? a) A. Translates one line at a time b) B. Translates the entire program at once c) C. Executes code immediately d) D. Creates colour coding 16) Question 16: Why are interpreters useful for programmers? a) A. They produce executables b) B. They catch errors immediately as code is run c) C. They run faster than compilers d) D. They don't need source code

Software Development (Editors, Debugging, Translators, Tools)

Classifica

Stile di visualizzazione

Opzioni

Cambia modello

Ripristinare il titolo salvato automaticamente: ?