2. What is meant by a logic error?
A mistake in a program that breaks the rules of the language and stops it being translated
A value of the correct type that lies outside the range the program should accept
A mistake in a program that lets it run but makes it produce unexpected output
A value of the wrong type that the program should reject