Answer:
A <u>bug</u> causes the computer program to behave in an incorrect or unexpected way.
Explanation:
Let’s look into the following choices and their (brief) meaning. Please let me know in the comment if you have any questions regarding my answer. (E.g clarification)
<h3>What is “Loop”?</h3>
We all know what loop’s meaning is. In both English and Computer, it means the same thing - <u>to do the things over and over again</u>. Loop in programming languages depend on the languages themselves - there exist the for loop, for in loop, while loop, etc.
<h3>What is “Bug”?</h3>
Bug can have many various meanings, depending on the context. It can mean an insect but since we are on computer topic right now - obviously, we are talking about a bug that happens to a device or software, <u>something that’s not supposed to happen</u> - that’s what a bug is. An example is you are playing a game and somehow, you find a bug that make your car fly although it’s not implemented in the code itself.
<h3>What is “Variable”?</h3>
When we are on computer science, of course, maths will always be in the way. Variables work almost the same as how they work in mathematics. When you let x = 4, you declare that x = 4. Variables simply mean to <u>declare one term/variable/character to another types</u>. Some examples are:
- data = [1,2,3,4,5]
- x = 4, y = 5, z = x+y
<h3>What is “Syntax”?</h3>
When you are writing a code, sometimes you will end up misplace or forget the <em>syntax</em>. See the following simple code in python below:
Can you tell me what is missing? Exactly, the another “ is missing! So the code will not be run and output as an error for not using the correct syntax. Now, you know why your code isn’t running so you add another “ and now you have print(“Hello, World”). Hooray, your code works now.