



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Lab; Class: Full Course Title: Program Design and Development; Subject: COMPUTER SCIENCE; University: University of Arizona; Term: Summer 2006;
Typology: Lab Reports
1 / 5
This page cannot be seen from the preview
Don't miss anything!




Solo or Pair? This lab must be completed individually. Please establish your account and complete all work in the lab on Wednesday
Use these instructions to login (also in section B #1. Logging on to Windows): Press CTRL-ALT-DEL. The legal notice will be displayed. Read it. Click OK. This will bring up the logon window. Enter your username and password. Then click OK. If you have problems logging on, check that your username and password are correct and that the CSC domain is chosen (if this last option doesn’t show, click the Options button). Check that caps lock is not on and use the digits across the top of the keyboard, not on the keypad. The first time you logon, you will be required to change your password from the first six (6) capitalized characters of your student ID to something else. The password you choose should be something hard to guess. It must be at least 6 characters long and should contain at least 3 of the 4 following character groups: lower case letters, upper case letters, digits, special characters (punctuation). Your name or username should not be part of your password. The new password will have to be entered twice for confirmation. (Note that your Windows password and your Unix (lectura) password are two different things. You can use the same password on both systems, in fact it is recommended, but changing one does NOT change the other.)
Click the Eclipse Icon Eclipse.exe to creates a folder named workspace on your h: Drive where you will be storing your projects, which you can later access from anywhere with ssh. Eclipse will start and offer a Welcome page, which you should close. While in Eclipse, select Windows > Preferences > Expand Java > Select Compiler Change the Compiler compliance level: from 1.4 to 5
Create a new project by clicking on File > New > Project Make sure Java Project is selected, and then click Next Name your project with a name indicating the lab# and your name: Lab1_Chris
Once everything is typed in, save the file by going to File > Save (or Ctrl-S for short). Saving the file compiles the code into a class file and updates the error messages. Fix any errors you may have before you go on. Next, go to Run >Run As > Java Application At the bottom of the screen in the Console box, you should see some output that says Welcome. What is your name? Click on the console window to the right of this prompt Type in your name and press the enter key o If you can't input anything, try clicking on the line below the prompt as you probably typed println rather than print. The program should respond with Hi your name. I hope you are doing well! The dialog should look like this (with a different name unless your name is Jane):
Welcome. What is your name: Jane Hello Jane! I hope you are well Make sure you print out the file Welcome.java with File > Print > Click the Print Button
Rick will hand back your corrected paper and pencil solution, simply retype it, run it, and make sure it works Print out this file while in 930 GS (should have the C Sc watermark)
____/ 2 Handed in hard copy of Welcome and it looks correct ____/ 2 Handed in hard copy of Grade Point Average and it looks correct ____/ 2 Handed in hard copy of BankAccount messages ___ / 2 You have your name in a comment at the top and a brief description of the program ___ / 2 Each file is formatted (use Ctrl+Shift+F or choose Source > Format)