Title: Syntax and Semantic Errors

Author: Tammy VanDeGrift and Kate Deibel

Date: March 29, 2004

Technique: Approximate Analogies

Before Class Preparation Time: LOW

Class Completion Time: LOW

In-Class Analysis Time: LOW

Out-Of-Class Analysis Time: MEDIUM

Assessment Goals:
Topics:
Purpose:

This CAT allows instructors to find out if students understand the differences between a syntax and a semantic error and to discover relationships between these concepts in another domain.


Activity:

Imagine a game or sport you like to play. Or, if you're a musician, use musical scores for this analogy. Now, in that new domain (games, sports, or music) describe what the difference between a syntax error and a semantic error would be. Give concrete examples of a syntax error and a semantic error.

Be sure to explain the concept of an analogy to the students if they are unfamiliar with the term. You might need to give the students examples.


Solution:

Here are some sample responses:

Let's look at a sport. Syntax errors in a sport would be violations of the rules of the game. For example, if the sport is soccer then the players (other than the goalie) catching the ball with their hands would be a syntax error. A semantic error would be poor execution of a play or a poor strategy to win the game. For example, the soccer team might have a play to kick the ball to a certain person to score and a semantic error would be the team failing to get this person the ball at the appropriate location.

Let's look at music. If a musician is composing a piece, a syntax error would be an error in writing down the appropriate notes or dynamics. A semantic error would correspond to someone trying to play a piece of music and playing the wrong notes according the written music.


Instructor Responses: Response Analysis:

Read through the analogies and sort or mark them as "Good," "Questionable," or "Wrong." Read through the piles again to make sure that you have not accidently misclassified a response.

Choose three or four of the best examples from the "Good" pile. Emphasize not only the correctness of the analogy, but also the understandability and creativity of the response. Also consider a few marginal responses that highlight confusions you want to address.



Variant Uses of Activity:
Device-Enabled: Straightforward to Enable

Related Topics: