Difference between revisions of "HTTLACS: Ch 1 Exercises"
From WLCS
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
# What is a '''program'''? | # What is a '''program'''? | ||
# What does '''debugging''' mean? | # What does '''debugging''' mean? | ||
− | # Define '''syntax errors''', runtime errors''', and '''semantic errors''' | + | # Define '''syntax errors''', '''runtime errors''', and '''semantic errors''' |
− | # What is the difference between a '''formal language''' and a natural language'''? | + | # What is the difference between a '''formal language''' and a '''natural language'''? |
# Write the print statement that prints the following "YOURNAME is a rock star!" | # Write the print statement that prints the following "YOURNAME is a rock star!" | ||
# Write a program that says “All work and no play makes Jack a dull boy” 10 times. | # Write a program that says “All work and no play makes Jack a dull boy” 10 times. |
Latest revision as of 20:28, 18 October 2010
Directions:
- Open a text editor (Applications->Accessories->gEdit Text Editor)
- Put your name at the top
- Save the file as YOURLASTNAME_ch1.txt
- Complete the exercises below in this file. If you use DrPython, then be sure to copy your code back into this file
- Be sure to number each of your answers!!
References:
Exercises:
- Define the words high-level language and low-level language to a middle-schooler
- What is a program?
- What does debugging mean?
- Define syntax errors, runtime errors, and semantic errors
- What is the difference between a formal language and a natural language?
- Write the print statement that prints the following "YOURNAME is a rock star!"
- Write a program that says “All work and no play makes Jack a dull boy” 10 times.
Submit:
- Submit the file to School Web Lockers