In computer programming, a bug is a problem or mistake in the code that keeps the program from working the way it’s supposed to.
Can you debug the sentences in this activity?
Some bugs are caused by syntax mistakes. That means the wrong word or symbol may have been used in the code, or parts of the code are in the wrong order.
First, print out the worksheet in the materials section. Can you unscramble the syntax in these sentences? Figure out the correct word order of each sentence, and write it on the line that is below each sentence.