Introduction |
This first "programming" assignment is not a "programming" assignment at all;
it is designed to ensure that you know the fundamentals of using the
computing infrastructure for this course, both on your own machine (if you
have one) and the computers in our labs.
Primarily it concerns starting to learn to use the Eclipse Integrated
Development Environment (IDE) for Python and Java, which is available on both
the Microsoft Windows and Mac Operating System.
Knowing how to use these tools is an important first step towards being
able to complete the remaining programs in this course.
Subsequent programming assignments will have much less of a cookbook flavor; instead, they will focus on designing, writing, and debugging programs using some of the libraries we will discuss. But, these assignments will assume that you are already an experienced Eclipse user, who knows all the tools and skills covered in this assignment, and can easily apply them when writing his/her own actual programs. So, treat this assignment very seriously: you will not want to still be learning this material at the same time that you are writing your early programs. Now is the time to begin mastering these important tools and skills. I recommending doing all parts of this assignment twice: first reading the instructions carefully, and again working without the written instructions (to s determine whether you have internalized them). Finally, read and follow these instructions carefully. It would be an excellent idea to print a copy of this web page, read through it, and highlight any details that you think are important (and might forget as you are working on the assignment) or that you are confused about. If you have any questions about these instructions, for example, if you think they are in error, or just confusing, please contact your instructor or better yet, post on one of the MessageBoard forums. You may want to first read through the Eclipse section of the Windows Operating System & Eclipse IDE web page (which is also accessible on the Handouts web page). It includes lots of useful information about using the Eclipse IDE using Java (my ICS-21 students learn about Eclipse and Java this way). |
Part 2: Using the Eclipse IDE |
Read parts 3a, 3b, 4a, and 4b, following their instructions.
If you have any questions, feel free to ask for help from me, any
staff member, or other students.
Please cross the "question asking threshold" quickly; get into the habit of
being able to ask us questions, especially in lab.
To do this assignment, you must have already downloaded and installed Python, Java and the Eclipse IDE on your own computer (or be using one of the UCI Lab machines, where it has already been downloaded/installed). In the first part of writing programs with each language, you will start a new project and write a trivial program; in the second part you will download prewritten programs and correct them. |
Part 3a: Using the Eclipse IDE with Java: A New Project |
Before starting, put Eclipse in the Java perspective (choose the Java
icon on the top right of the Eclipse window -but below the menu line).
|
Part 4a: Using the Eclipse IDE with Python: A New Project |
Before starting, put Eclipse in the Python perspective (choose the PyDev
icon on the top right of the Eclipse window -but below the menu line).
|
Bottom Line |
You will be writing many programming assignments during the quarter, requiring
you to create new projects or modify existing ones.
You should be able to manipulate both kinds of projects easily in Eclipse,
either with Java or Python.
Also, whenever you want to write a small program to test out your understanding of Java or Python, you should have a very low threshold to quickly creating a project and writing the experimental code that you want to test. |