LAB 1 - Introduction to Computers and Computer Programming
Demonstration of the inside of a computer, learn to locate
- motherboard
- power supply
- RAM
- disk drives
- ports
Verify that your userids are operational.
- Since it's fall semester, the accounts have probably been reset. If this is your first time using the CSU network, you may want to visit
http://cins.ColumbusState.edu/account_student.asp to learn more about setting up your account.
There are also handouts about this in the lab.
- You also need to test your WebCT accounts.
- Make sure that you can login to Cougarnet and send an email.
Greenfoot
(http://www.greenfoot.org/) [ tutorial at http://www.greenfoot.org/doc/tutorial/tutorial.html
- Locate the Greenfoot icon on the desktop and launch it
- Open the Wombats scenario
- Use the "Project Information" to find out more about this scenario
- Place Wombats and leaves on the world
- Click Act to see the execution
- Run the scenerario
- Invoke the methods directly
- Create a new world
- Invoke a world method
- ENJOY.........
BlueJ
(http://www.bluej.org/ [ tutorial at http://www.bluej.org/tutorial/tutorial-201.pdf
- Starting BlueJ - double-click icon.
- Opening a project - select Open from the Project menu and open the people project.
- Look at the different classes - right-mouse click and select Edit to view the code
- Creating objects - select a constructor from the class popup menu.
- Execution - select methods from the object popup menu.
- Editing a class - double-click its class icon.
- Compilation - To compile a class, click the Compile button in the editor. To compile a project, click the Compile button in the project window.
- Help with compiler errors - click the question mark next to the error message.
- ENJOY.........
Running a program from the command line and as applets
Explore sample programs at
Start Java, enter, compile and run a program. Step-by-step instructions appear at http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html.
Getting help to run your first Java program (Seek help from the lab assistants if you have any problems )
Log off
the network by clicking the Start button at the bottom left of the
screen and then click Shut Down…, when the window pops up asking what you want
the computer to do, choose Restart and click OK
You're done!