Homework 1

This is the archived website of SI 413 from the Fall 2013 semester. Feel free to browse around; you may also find more recent offerings at my teaching page.

1 Comparing and Contrasting Languages

List the programming languages you are familiar with or have used before. For each one, answer the following:

  1. What are the most important features or characteristics of this language?
  2. For what purposes is this language most useful?
  3. What are drawbacks to programming in this language?

2 Course Policy

Read over the course policy. Tell me one thing that you like or that you don't like about it.

3 Stages of Compilation

List the main stages of compilation, from source code to an executable program. (This is not too hard to find in your textbook.)

An interpreted language is one like bash or PHP that is directly executed instead of being compiled. Circle which stages in your list would be significantly different for an interpreted language.

4 Errors

Give me a code snippet that causes some kind of error. Do you think it is an error in syntax or semantics, and why?

Requirement: Everyone must turn in a unique example. You can work together, but you still need to come up with as many examples as Midshipmen!