My chosen topic Interpreters and Compilers Compiler: Translates source code from high-level languages into object code and then into machine code ready to be processed by the CPU. The whole program is translated into machine code before it is run. Disadvantages: Source code is easier to write in a high-level language, but the program will not run with syntax errors which can make it more difficult to write the code. Code needs to be recompiled when the code is changed. Designed for a specific type of processor. Interpreter: Translates source code from high level languages into machine code ready to be processed by the CPU. The program is translated line by line as the program is running. Advantages: Easy to write source code because the program will always run, stopping when it finds a syntax error. Code does not need to be recompiled when code is changed, and it is easy to try out commands when the program has paused after finding an error. This makes interpreted languages very easy for beginner programmers to learn to write code. Disadvantages: Translation software is needed at run-time. Speed of execution is slower. Code is not optimised. Source code is needed. two
Q1 What is a node?
A) A type of network hub
B) Any device connected to a network
C) A type of netowrk switch