There are many programming languages. To execute, they have to be compiled or interpreted. An IDE (integrated development environment) is used to write code, test for errors and translate a program.
What is the purpose of debugging a computer program?
Identifying and fixing errors in the program code
Removing small insects from the computer hardware
Making sure that all lines of code have been written in the correct programming language
Why might a compiler report that there is a syntax error in a particular line of a program?
It is a random error caused by external factors
The program has been typed out in the wrong font
The line contains a typo, eg a ',' instead of a '.'
Which of these methods executes a program by running each line consecutively?
Which method takes a high-level program and converts all lines into a single runnable file?
Which computer language creates a simulated computer called a 'virtual machine'?
What causes run time errors?
Programs that take too long to execute
Mistakes that do not stop a program from running but instruct the system to do something impossible
Programs that expect the operator to perform physical activity
What is a breakpoint?
The location on the hard drive where part of the file system is broken
A feature in some IDEs that allows the program to be paused at that line to check for errors
A human condition where the frustration of not being able to find the cause of an error becomes too much
What is a semantic error?
A mistake in the program code that does not stop the program from running but causes an unexpected result
A miscommunication between two or more developers so that the individual program parts do not work together properly
It is the same as a syntax error
What is a high-level language?
Good use of language when writing essays that are likely to get high marks
An unambiguous language that can be understood by a human being and converted by a computer to a low-level language
A computer language that can be run by the CPU but is very difficult for human beings to understand
What is machine code?
The ID number, found on the back of a computer
A type of bar code
A low-level language that can be broken down into single instructions corresponding to logic circuits inside a computer's CPU