CSC 120(A) - Principles of Computer Science I Prof. Nadeem Abdul Hamid Fall 2004 Lab 1 Thursday, August 26, 2004 Prelab: You should have read over the Prelab (pages 5-9) in the lab manual before coming to the lab session. You do not have to complete the Prelab assignment (page 11) until the actual lab session. Lab session: General instructions: Answers for the lab exercise questions should be answered on a separate piece of paper, which you will turn in at the end of the lab session. Whenever the lab manual says to print out a copy of your program files, however, you should instead submit them through the Coursework section of the VikingWeb page for this course. If you would like for this lab, you may also type the written answers to lab exercise questions in a text file or Microsoft Word document and submit them online. To log into the machines in the computer lab, use your Novell account information. If you have not set up your Novell login account yet, the first time you should be able to use your email username ("nhamid") and the user id (number) that you use to login to VikingWeb as the password. The first time you do this, it will probably ask you to change your password to something more secure. You may then change your password here to match your Berry email password. After the first Novell login, you then get a second login prompt for the local computer workstation. For this, use username "guest" and leave the password blank. After you have logged in, you should be able to access your own private storage space on the network by opening "My Computer" and then double-clicking on the "S:\" drive. If you don't have an "S:\" drive tell the instructor. You should store all your work for labs in this hard drive area, creating folders appropriately to keep it organized. The machines in the lab currently have some restrictions on being able to download and save Java source code from VikingWeb so we will have to work around that for now. I will guide you through that process. Hopefully, this will get fixed soon in the future. Other notes: I will post all handouts, coursework, announcements, lab assignments, etc. on the website for the main course (CSC 120A). I will NOT be posting anything on the website for the lab portion of the course (CSC 120AL), so you only need to check one website for both class activities and labs. Also, I will not be using the Gradebook feature on VikingWeb so please disregard any scores that are displayed there (which will probably always be zeroes). 0. Go through the guide to "Getting Started with BlueJ" to make sure you can properly edit, compile, and run a simple Java program. A link to this document can be found on the VikingWeb "Web Links" page for this course. 1. Complete Lesson 1-1, all exercises. Ask the professor if you need help identifying the components of your computer system. You can find the answers to the first two questions by right-clicking on the "My Computer" icon on the desktop and choosing "Properties" from the pop-up menu. You should be able to figure out the answers to the other exercises having gone through the guide to BlueJ. To find out about the Java system, choose "About BlueJ" from the "Help" menu of the BlueJ program. 2. Lesson 1-2, Exercises 1,2,5,6. 3. Lesson 1-3, all exercises. 4. Lesson 1-4, exercises 1,2,3. For exercise 4, instead of printing your changed file, you should submit it under the Coursework section of the VikingWeb page for this course. Ask the professor for help if you need it. 5. Lesson 1-5, all exercises. 6. Lesson 1-6, all exercises. No postlab activities.