Instructions PLEASE READ (notice bold and underlined phrases)

Size: px
Start display at page:

Download "Instructions PLEASE READ (notice bold and underlined phrases)"

Transcription

1 Lab Exercises wk02 Lab Basics First Lab of the course Required Reading Java Foundations - Section The Java Programming Language Instructions PLEASE READ (notice bold and underlined phrases) Lab Exercise has three parts: A. Lab Demo Watch Demo, reproduce it, show your TA B. Exercises To be started during the Lab, and completed by deadline C. Submission Submit specified exercise files by deadline 1. You are encouraged to work on these lab exercises in teams of two, however each student must reproduce the demo and show the TA their own running Java Project. Team members should alternate turns at the keyboard typing in the code. You will start working during the lab time, and it is likely that you will complete the demo but need to continue with the exercises later. 2. Submission deadline: 2:30pm Friday Sept 13. You should be able to complete the work if you have completed the required reading for the lab. Some topics discussed in this lab and needed for the exercises to be submitted may be seen later in this week s class! You may submit before the deadline, if you so prefer. You may resubmit again later without penalty provided you resubmit before the deadline. 3. The exercises are roughly presented in sequence so that you gradually advance with the material. It is highly recommended, for your own benefit, that you do ALL the exercises, and in the order provided. You will get lab participation points even if you do not finish all the exercises (but you do have to work on some of the exercises besides the one to submit in order to get full participation points). 4. For this lab, ONLY ONE EXERCISE SHOULD BE SUBMITTED for marking: the last exercise. If working in pairs you should submit only one version of the file and submit it for the group that you define. If you are working individually, you may still need to define a group with you as the only group member. 5. Keep a copy of everything you submit in your files. 6. Before you leave the CSIL labs, make sure that a TA looks at your work in order to receive your attendance and lab active participation marks. 1

2 A. Lab Demo Presented by TAs, and repeated by Students Students must observe demo presented by TA, then reproduce it. Student must have the TA check off demo program completion by end of tutorial for full marks. Marks will be awarded for attendance but only partial marks for incomplete work at the discretion of the TA. Even though students may work in teams, each team member must create a running project based on the demo for full marks. Using Computer Systems in the CSIL To work effectively in the Computing Science Instructional Laboratory (CSIL), it s helpful to understand that several organisations work together to provide computing services to students at SFU. SFU IT Services 1 (ITS) provides general computing support to all of SFU. This includes a home directory 2 that is accessible from any of the ITS Computer Labs 3 across the campus. Individual departments often have their own computing facilities to serve the specialised needs of the courses offered by the department. In Computing Science, this is the CSIL 4. Each CSIL Linux workstation has its own local home directory. The home directory provided by SFU ITS is distinct from the home directory provided by each Linux workstation in CSIL, and each home directory provided by Linux workstations in the CSIL is local to that workstation (although this is being fixed soon). Keep this in mind as you work this semester. You should use your ITS home directory to hold course work so that you can access it from any workstation in CSIL and from different computing labs around the campus. Logging on to Ubuntu and Using Eclipse Log in to an Ubuntu Workstation If the workstation is displaying the Windows login screen, reboot the workstation. At the boot prompt, select Ubuntu linux. Log on to the workstation from the Ubuntu login screen. Use your ITS user id and password. When you first log on to an Ubuntu workstation in the CSIL, you are placed in the local home directory for that workstation. Programs that expect to place data and configuration information in your home directory will use the workstation home directory. Your ITS home directory is mounted under sfuhome. One of the features of linux is the ability to customise your work environment to suit your style of work. There are a few things that you may want to do each time you sit down to a new PC with Ubuntu. Two can be reached through the Settings Manager. Drop the mouse to the bottom of the screen; a pop-up panel will appear. Click on the Settings Manager icon (crossed wrench and screwdriver). I f d e s i r e d, c hange to a left-handed mouse, click on the Mouse and Touchpad category. Under the Devices tab, click on the Left-handed button. The change will take effect immediately. Also if desired, you can change window selection from click-to-focus to focus-follows-mouse, click on the Window Manager category, go to the Focus tab, and click the Focus follows mouse button. The change will take effect immediately. 2

3 The third customisation you may perform is to swap the location of the caps lock and control keys. Open a command shell by clicking on the terminal emulator icon in the bottom panel. Execute the command: setxkbmap -option ctrl:swapcaps The change will take effect immediately. Starting Eclipse Eclipse uses a workspace to hold your programming projects, one directory per project. The workspace itself is simply the top-level directory that holds the directories dedicated to each programming project. You can have more than one eclipse workspace. A common approach is to have a separate eclipse workspace for each course that requires programming. Each assignment can be a separate eclipse project within a workspace. To create an eclipse workspace named Cmpt125 in your ITS home directory, execute the following commands from a Linux command shell: cd ~/sfuhome mkdir Cmpt125 The first command will change directory ( cd ) to your ITS home directory. Tilde ( ~ ) is the unix abbreviation for your home directory. On CSIL linux systems, ~ is the home directory that s local to each workstation. The second command will make a directory ( mkdir ) named Cmpt125. Remember that unix directory names are case-sensitive. Also keep in mind that directory and file names with embedded spaces are inconvenient in a command line environment. To start eclipse, go to the Applications Menu 5 in the upper left of the screen and select Development Eclipse The very first time that you start eclipse on a given workstation, it will take some time to initialise. Allow seconds (it only seems like forever). There will be a number of popup windows related to specific configuration actions. The android development environment is not necessary for Cmpt 125; dismiss the popups asking you to go through android configuration. Similarly, Cmpt 125 will not use the subversion (svn; subclipse) source code management system. Again, you may find you need to wait seconds for the popup windows to respond to clicks. Each time you start eclipse, it will ask you to specify the workspace you want to use. You can simply type a directory name; it will be created if it doesn t exist. For this demo, try clicking Browse... and navigate to the directory you created above called Cmpt125 which you will find in your ~/sfuhome directory. If this is the only eclipse workspace you intend to use, you may want to check the Use this as the default and do not ask again. option Folder, if you prefer Equivalent to the Windows Start menu. 6 In linux window manager terminology, the bars across the top and bottom of the screen are called panels. You can add launchers to a panel for quick access to commonly used programs. 3

4 It s convenient to create a shortcut to launch eclipse. Here s how to add a launcher to the bottom panel 6 Go to the eclipse entry in the Applications Menu. Click and drag the entry down to the bottom panel. Creating an Application Once eclipse has started, you will see the Welcome to Eclipse tab. (You can always get back to this tab by choosing Help Welcome.) Click on Tutorials. In the view that appears, click on Create a Hello World application. Follow the directions that appear in the right-hand subpanel. A few specific directions as you re working: In the Create a Java project step, the New button is the leftmost icon in the row of icons at the top of the eclipse window. Click on the triangle to see the New Java Project choice. After you ve filled in the project name, go down to the section labelled Project Layout and click the button for Use project folder as root for sources and files. This will avoid an extra layer of subdirectories in your project. In the Create your HelloWorld class step, HelloWorld will do fine as the source folder. In the Add a print statement step, notice that eclipse offers you suggestions for completion as you type. This is useful when you can t quite remember the specific name of a method. To save your changes, click on the floppy disk icon in the main toolbar (second from left). Notice that an editor window with unsaved changes has an * next to the file name. When you ve completed the tutorial, you can exit eclipse. Your work is saved in the workspace directory (~/sfuhome/cmpt125). The HelloWorld project will be in the subdirectory HelloWorld. The Java source code is in a file named HelloWorld.java. This is not an accident. Eclipse will insist that the source code for a class SomeClass must be stored in a file named SomeClass.java. However, the name of the project can be anything you like; it does not have to match any of the classes contained in the project. Be aware that eclipse also keeps configuration information in a hidden directory (~/.eclipse) in the local home directory on each workstation. Each time you sit down at a new CSIL workstation, you will need to work through some portion of the initial sequence of popup windows. Logging Out Just log out! Don t shut down the workstation (unless you want to reboot into Windows). 4

5 B. Lab Exercises To be completed by Students Student are responsible for having the TA look at your work by end of tutorial for full marks. Marks will be awarded for attendance and for making progress on the Lab Exercises. The exercises do not need to be completed by the end of the lab for full marks, but some progress needs to be shown. Students may work in teams of two and complete the exercises as a team. 1. Create a new java project called Lab02 a. File New [Select New Project] [Project Name: Lab02] Finish b. You will see a new Project called Lab02 in the Package Explorer. Ensure that it is highlighted by selecting if necessary by clicking on it. 2. Create a new java class called Lab02test a. File New [Select New Class] [Class Name: Lab02test] b. Be sure to select the box labeled Public static void main in order to create your public method called main. This is where your program starts. c. Click on Finish to create the Class file named Lab02test d. This will create a new file in the edit window called Lab02test 3. Make your main method print a message by deleting the To-Do comment that indicates that this is a stub, and replace it with the following statements which will print out a message. You may copy/paste the statements below directly into Eclipse, or type the statements manually into the main method body. System.out.println("Lab02test here.\n"); System.out.println("Hello, ") System.out.println("how "); System.out.println("are \n\n you?"); 4. Save your changes and run your brand new Lab02test Class a. File Save b. Select the Run button which is a round green circle with a white triangle on it. The Run button will compile your java code and report any errors that it finds. Did it find any errors? If a compile error was detected, you will not be able to run your code. c. Can you spot the error? What is missing? Hint: it is described on page 5 of the text. Did you read the text in advance before you came to the lab? If not, try to keep up with the required reading. Doing so will help you learn and save you time. d. Fix the error by adding the missed semicolon on the end of the second call to object System.out s println method: System.out.println("Hello"); e. Now save the changes and hit the run button again. Does your class run now? If not, compare your main method with the above and fix any errors. It should compile and run when correct. 5

6 5. Once you are able to get the code to compile, it will run and produce output will be in the console window at the bottom. Did it print what you expected? What do the escape characters \n do? 6. Edit the code to change println to print, and remove the escape characters on the final print statement. When you are done, the body of main should look like the following: System.out.print("Lab02test here.\n"); System.out.print("Hello, "); System.out.print("how "); System.out.print("are you?"); 7. What is the difference in the output when you use the print method instead of the println method? 8. You are almost done. But before you are finished, you need to remember that all code needs to be properly commented. You will lose marks if you forget to add meaningful comments. Good comments tell the reader what is intended by the code and should be one level higher that the actual code. Your comments should not describe the obvious! 9. Add a comment at the start of your main() method which describes what they intent of this block of code is, and who wrote it. Here is an example: public static void main(string[] args) { // Cmpt125 Lab wk02 Print a friendly hello // Written by Scott with help from his friends // =========================================== System.out.print("Lab02test here.\n"); System.out.print("Hello, "); System.out.print("how "); System.out.print("are you?"); } C. Lab Exercise Submission To be completed by Students Student are responsible for submitting the requested work files by the stated deadline for full marks. Since Lab Exercise solutions will be discussed in class following the submission deadline, late submissions will NOT be accepted. It is the student s responsibility to submit on time. Students may work in teams of two and submit a single set of files on behalf of the group in Canvas. 10. You must submit your final version of file Lab02test.java before the deadline. For students working in the lab with a partner, only one submission is required for the group of two students. Instructions on how to submit your code will be sent out in a separate to the class on Tuesday. Submit early to avoid problems. 6

CSCI 161: Introduction to Programming I Lab 1b: Hello, World (Eclipse, Java)

CSCI 161: Introduction to Programming I Lab 1b: Hello, World (Eclipse, Java) Goals - to learn how to compile and execute a Java program - to modify a program to enhance it Overview This activity will introduce you to the Java programming language. You will type in the Java program

More information

CSCI 161: Introduction to Programming I Lab 1a: Programming Environment: Linux and Eclipse

CSCI 161: Introduction to Programming I Lab 1a: Programming Environment: Linux and Eclipse CSCI 161: Introduction to Programming I Lab 1a: Programming Environment: Linux and Eclipse Goals - to become acquainted with the Linux/Gnome environment Overview For this lab, you will login to a workstation

More information

CPSC 150 Laboratory Manual. Lab 1 Introduction to Program Creation

CPSC 150 Laboratory Manual. Lab 1 Introduction to Program Creation CPSC 150 Laboratory Manual A Practical Approach to Java, jedit & WebCAT Department of Physics, Computer Science & Engineering Christopher Newport University Lab 1 Introduction to Program Creation Welcome

More information

CPS109 Lab 1. i. To become familiar with the Ryerson Computer Science laboratory environment.

CPS109 Lab 1. i. To become familiar with the Ryerson Computer Science laboratory environment. CPS109 Lab 1 Source: Partly from Big Java lab1, by Cay Horstmann. Objective: i. To become familiar with the Ryerson Computer Science laboratory environment. ii. To obtain your login id and to set your

More information

Instructions PLEASE READ (notice bold and underlined phrases)

Instructions PLEASE READ (notice bold and underlined phrases) Lab Exercises wk12 Practice with Linked Lists Required Reading Chapter 13 - Pointers and Linked Lists Lecture Slides on Linked Lists, Presented in class wk11 Instructions PLEASE READ (notice bold and underlined

More information

Guided Tour (Version 3.4) By Steven Castellucci

Guided Tour (Version 3.4) By Steven Castellucci Guided Tour (Version 3.4) By Steven Castellucci This document was inspired by the Guided Tour written by Professor H. Roumani. His version of the tour can be accessed at the following URL: http://www.cse.yorku.ca/~roumani/jbayork/guidedtour.pdf.

More information

CSC116: Introduction to Computing - Java

CSC116: Introduction to Computing - Java CSC116: Introduction to Computing - Java Course Information Introductions Website Syllabus Computers First Java Program Text Editor Helpful Commands Java Download Intro to CSC116 Instructors Course Instructor:

More information

2 Getting Started. Getting Started (v1.8.6) 3/5/2007

2 Getting Started. Getting Started (v1.8.6) 3/5/2007 2 Getting Started Java will be used in the examples in this section; however, the information applies to all supported languages for which you have installed a compiler (e.g., Ada, C, C++, Java) unless

More information

Guided Tour (Version 3.3) By Steven Castellucci as Modified by Brandon Haworth

Guided Tour (Version 3.3) By Steven Castellucci as Modified by Brandon Haworth Guided Tour (Version 3.3) By Steven Castellucci as Modified by Brandon Haworth This document was inspired by the Guided Tour written by Professor H. Roumani. His version of the tour can be accessed at

More information

Eclipse Environment Setup

Eclipse Environment Setup Eclipse Environment Setup Adapted from a document from Jeffrey Miller and the CS201 team by Shiyuan Sheng. Introduction This lab document will go over the steps to install and set up Eclipse, which is

More information

Lab #1: A Quick Introduction to the Eclipse IDE

Lab #1: A Quick Introduction to the Eclipse IDE Lab #1: A Quick Introduction to the Eclipse IDE Eclipse is an integrated development environment (IDE) for Java programming. Actually, it is capable of much more than just compiling Java programs but that

More information

You should see something like this, called the prompt :

You should see something like this, called the prompt : CSE 1030 Lab 1 Basic Use of the Command Line PLEASE NOTE this lab will not be graded and does not count towards your final grade. However, all of these techniques are considered testable in a labtest.

More information

Developing Android applications in Windows

Developing Android applications in Windows Developing Android applications in Windows Below you will find information about the components needed for developing Android applications and other (optional) software needed to connect to the institution

More information

Instructions PLEASE READ (notice bold and underlined phrases)

Instructions PLEASE READ (notice bold and underlined phrases) Lab Exercises wk05 More Debugging with NetBeans Required Reading None Instructions PLEASE READ (notice bold and underlined phrases) Lab Exercise has three parts: A. Lab Demo Watch Demo, reproduce it, show

More information

Laboratory 1: Eclipse and Karel the Robot

Laboratory 1: Eclipse and Karel the Robot Math 121: Introduction to Computing Handout #2 Laboratory 1: Eclipse and Karel the Robot Your first laboratory task is to use the Eclipse IDE framework ( integrated development environment, and the d also

More information

Getting Started (1.8.7) 9/2/2009

Getting Started (1.8.7) 9/2/2009 2 Getting Started For the examples in this section, Microsoft Windows and Java will be used. However, much of the information applies to other operating systems and supported languages for which you have

More information

Using the Zoo Workstations

Using the Zoo Workstations Using the Zoo Workstations Version 1.86: January 16, 2014 If you ve used Linux before, you can probably skip many of these instructions, but skim just in case. Please direct corrections and suggestions

More information

If you don t have the JDK, you will need to install it. 1. Go to

If you don t have the JDK, you will need to install it. 1. Go to Developing Android applications in Windows Below you will find information about the components needed for developing Android applications and other (optional) software needed to connect to the institution

More information

Summer Assignment for AP Computer Science. Room 302

Summer Assignment for AP Computer Science. Room 302 Fall 2016 Summer Assignment for AP Computer Science email: hughes.daniel@north-haven.k12.ct.us website: nhhscomputerscience.com APCS is your subsite Mr. Hughes Room 302 Prerequisites: You should have successfully

More information

CSC116: Introduction to Computing - Java

CSC116: Introduction to Computing - Java CSC116: Introduction to Computing - Java Intro to CSC116 Course Information Introductions Website Syllabus Computers First Java Program Text Editor Helpful Commands Java Download Course Instructor: Instructors

More information

CSC 101 Spring 2010 Lab #8 Report Gradesheet

CSC 101 Spring 2010 Lab #8 Report Gradesheet CSC 101 Spring 2010 Lab #8 Report Gradesheet Name WFU Username Lab Section: A B C D Partner s Name (if you had one): Topic Points Notes Pre-lab questions 20 total - 5 at 4 points each Lab report questions

More information

CSE115 Lab exercises for week 1 of recitations Spring 2011

CSE115 Lab exercises for week 1 of recitations Spring 2011 Introduction In this first lab you will be introduced to the computing environment in the Baldy 21 lab. If you are familiar with Unix or Linux you may know how to do some or all of the following tasks.

More information

One of the hardest things you have to do is to keep track of three kinds of commands when writing and running computer programs. Those commands are:

One of the hardest things you have to do is to keep track of three kinds of commands when writing and running computer programs. Those commands are: INTRODUCTION Your first daily assignment is to modify the program test.py to make it more friendly. But first, you need to learn how to edit programs quickly and efficiently. That means using the keyboard

More information

Eclipse Setup. Opening Eclipse. Setting Up Eclipse for CS15

Eclipse Setup. Opening Eclipse. Setting Up Eclipse for CS15 Opening Eclipse Eclipse Setup Type eclipse.photon & into your terminal. (Don t open eclipse through a GUI - it may open a different version.) You will be asked where you want your workspace directory by

More information

CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup

CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup Purpose: The purpose of this lab is to setup software that you will be using throughout the term for learning about Python

More information

Cmpt 101 Lab 1 - Outline

Cmpt 101 Lab 1 - Outline Cmpt 101 Lab 1 - Outline Instructions: Work through this outline completely once directed to by your Lab Instructor and fill in the Lab 1 Worksheet as indicated. Contents PART 1: GETTING STARTED... 2 PART

More information

Laboratory Exercise #0

Laboratory Exercise #0 Laboratory Exercise #0 This assignment focuses on the mechanics of installing and using Python. The deadline for Mimir submission is 11:59 PM on Monday, January 8. 1. Complete the steps given below to

More information

Tiny Instruction Manual for the Undergraduate Mathematics Unix Laboratory

Tiny Instruction Manual for the Undergraduate Mathematics Unix Laboratory Tiny Instruction Manual for the Undergraduate Mathematics Unix Laboratory 1 Logging In When you sit down at a terminal and jiggle the mouse to turn off the screen saver, you will be confronted with a window

More information

Lab 1: Setup 12:00 PM, Sep 10, 2017

Lab 1: Setup 12:00 PM, Sep 10, 2017 CS17 Integrated Introduction to Computer Science Hughes Lab 1: Setup 12:00 PM, Sep 10, 2017 Contents 1 Your friendly lab TAs 1 2 Pair programming 1 3 Welcome to lab 2 4 The file system 2 5 Intro to terminal

More information

CMSC 201 Spring 2017 Lab 01 Hello World

CMSC 201 Spring 2017 Lab 01 Hello World CMSC 201 Spring 2017 Lab 01 Hello World Assignment: Lab 01 Hello World Due Date: Sunday, February 5th by 8:59:59 PM Value: 10 points At UMBC, our General Lab (GL) system is designed to grant students the

More information

Implement an ADT while using Subversion

Implement an ADT while using Subversion 1 Objectives Learn to use Subversion Implement an ADT while using Subversion In this lab, you learn about the version control tool called Subversion and you will implement a Java class given an interface.

More information

Module 3: Working with C/C++

Module 3: Working with C/C++ Module 3: Working with C/C++ Objective Learn basic Eclipse concepts: Perspectives, Views, Learn how to use Eclipse to manage a remote project Learn how to use Eclipse to develop C programs Learn how to

More information

SVN_Eclipse_at_home. 1. Download Eclipse. a. Go to: and select Eclipse IDE for Java Developers

SVN_Eclipse_at_home. 1. Download Eclipse. a. Go to:  and select Eclipse IDE for Java Developers 1. Download Eclipse SVN_Eclipse_at_home a. Go to: http://www.eclipse.org/downloads/ and select Eclipse IDE for Java Developers b. Select a mirror (which just means select which identical copy you should

More information

At the shell prompt, enter idlde

At the shell prompt, enter idlde IDL Workbench Quick Reference The IDL Workbench is IDL s graphical user interface and integrated development environment. The IDL Workbench is based on the Eclipse framework; if you are already familiar

More information

CMSC 201 Spring 2018 Lab 01 Hello World

CMSC 201 Spring 2018 Lab 01 Hello World CMSC 201 Spring 2018 Lab 01 Hello World Assignment: Lab 01 Hello World Due Date: Sunday, February 4th by 8:59:59 PM Value: 10 points At UMBC, the GL system is designed to grant students the privileges

More information

Introduction to Eclipse

Introduction to Eclipse Introduction to Eclipse In this chapter you install and configure Eclipse. I then use the classical HelloWorld example to show how to effectively create Java programs under Eclipse. I first discuss the

More information

1 Getting Started with Linux.

1 Getting Started with Linux. PHYS-4007/5007: omputational Physics Tutorial #1 Using Linux for the First Time 1 Getting Started with Linux. The information of logging in on the Linux side of the computers in Brown Hall 264 can be found

More information

CSCI 201 Lab 1 Environment Setup

CSCI 201 Lab 1 Environment Setup CSCI 201 Lab 1 Environment Setup "The journey of a thousand miles begins with one step." - Lao Tzu Introduction This lab document will go over the steps to install and set up Eclipse, which is a Java integrated

More information

Java Program Structure and Eclipse. Overview. Eclipse Projects and Project Structure. COMP 210: Object-Oriented Programming Lecture Notes 1

Java Program Structure and Eclipse. Overview. Eclipse Projects and Project Structure. COMP 210: Object-Oriented Programming Lecture Notes 1 COMP 210: Object-Oriented Programming Lecture Notes 1 Java Program Structure and Eclipse Robert Utterback In these notes we talk about the basic structure of Java-based OOP programs and how to setup and

More information

CSC116: Introduction to Computing - Java

CSC116: Introduction to Computing - Java CSC116: Introduction to Computing - Java Course Information Introductions Website Syllabus Schedule Computing Environment AFS (Andrew File System) Linux/Unix Commands Helpful Tricks Computers First Java

More information

EECS 1710 SETTING UP A VIRTUAL MACHINE (for EECS labs)

EECS 1710 SETTING UP A VIRTUAL MACHINE (for EECS labs) EECS 1710 SETTING UP A VIRTUAL MACHINE (for EECS labs) In this tutorial, we will work through the process of setting up a virtual machine on your home desktop/laptop, that reflects the working environment

More information

13 th Windsor Regional Secondary School Computer Programming Competition

13 th Windsor Regional Secondary School Computer Programming Competition SCHOOL OF COMPUTER SCIENCE 13 th Windsor Regional Secondary School Computer Programming Competition Hosted by The School of Computer Science, University of Windsor WORKSHOP I [ Overview of the Java/Eclipse

More information

Computer Essentials Session 1 Lesson Plan

Computer Essentials Session 1 Lesson Plan Note: Completing the Mouse Tutorial and Mousercise exercise which are available on the Class Resources webpage constitutes the first part of this lesson. ABOUT PROGRAMS AND OPERATING SYSTEMS Any time a

More information

Practice Labs User Guide

Practice Labs User Guide Practice Labs User Guide This page is intentionally blank Contents Introduction... 3 Overview... 3 Accessing Practice Labs... 3 The Practice Labs Interface... 4 Minimum Browser Requirements... 5 The Content

More information

Workbook A dialog box will appear asking for you to select your "workspace". Leave the default as is, which should be /home/crsid/workspace.

Workbook A dialog box will appear asking for you to select your workspace. Leave the default as is, which should be /home/crsid/workspace. In this workbook you will learn how to use Eclipse as a development environment for Java programs. Using Eclipse, you will then write a simple Java messaging client which will allow you to send and receive

More information

3 CREATING YOUR FIRST JAVA APPLICATION (USING WINDOWS)

3 CREATING YOUR FIRST JAVA APPLICATION (USING WINDOWS) GETTING STARTED: YOUR FIRST JAVA APPLICATION 15 3 CREATING YOUR FIRST JAVA APPLICATION (USING WINDOWS) GETTING STARTED: YOUR FIRST JAVA APPLICATION Checklist: The most recent version of Java SE Development

More information

Parallel Programming Pre-Assignment. Setting up the Software Environment

Parallel Programming Pre-Assignment. Setting up the Software Environment Parallel Programming Pre-Assignment Setting up the Software Environment Authors: B. Wilkinson and C. Ferner. Modification date: Aug 21, 2014 (Minor correction Aug 27, 2014.) Software The purpose of this

More information

CSC209. Software Tools and Systems Programming. https://mcs.utm.utoronto.ca/~209

CSC209. Software Tools and Systems Programming. https://mcs.utm.utoronto.ca/~209 CSC209 Software Tools and Systems Programming https://mcs.utm.utoronto.ca/~209 What is this Course About? Software Tools Using them Building them Systems Programming Quirks of C The file system System

More information

Semester 2, 2018: Lab 1

Semester 2, 2018: Lab 1 Semester 2, 2018: Lab 1 S2 2018 Lab 1 This lab has two parts. Part A is intended to help you familiarise yourself with the computing environment found on the CSIT lab computers which you will be using

More information

RTMS - Software Setup

RTMS - Software Setup RTMS - Software Setup These instructions are for setting up the RTMS (Robot Tracking & Management System) software. This software will run on your PC/MAC and will be used for various labs in order to allow

More information

YearbookFusion Online A Quick Start Guide

YearbookFusion Online A Quick Start Guide YearbookFusion Online A Quick Start Guide Welcome to YearbookFusion Online. This guide will help you get started and plan out your yearbook process from start to end. Step 1: Launch the Application In

More information

CSC209. Software Tools and Systems Programming. https://mcs.utm.utoronto.ca/~209

CSC209. Software Tools and Systems Programming. https://mcs.utm.utoronto.ca/~209 CSC209 Software Tools and Systems Programming https://mcs.utm.utoronto.ca/~209 What is this Course About? Software Tools Using them Building them Systems Programming Quirks of C The file system System

More information

Eclipse Tutorial. For Introduction to Java Programming By Y. Daniel Liang

Eclipse Tutorial. For Introduction to Java Programming By Y. Daniel Liang Eclipse Tutorial For Introduction to Java Programming By Y. Daniel Liang This supplement covers the following topics: Getting Started with Eclipse Choosing a Perspective Creating a Project Creating a Java

More information

MN Studio Website - User Guide

MN Studio Website - User Guide MN Studio Website - User Guide Version 1.1 MN Studio Website Program 1. Introduction Welcome to the new website program! The MN Studio Website program allows you to create your own website with customized

More information

Computer Science 62 Lab 8

Computer Science 62 Lab 8 Computer Science 62 Lab 8 Wednesday, March 26, 2014 Today s lab has two purposes: it is a continuation of the binary tree experiments from last lab and an introduction to some command-line tools. The Java

More information

Lab 1: Accessing the Linux Operating System Spring 2009

Lab 1: Accessing the Linux Operating System Spring 2009 CIS 90 Linux Lab Exercise Lab 1: Accessing the Linux Operating System Spring 2009 Lab 1: Accessing the Linux Operating System This lab takes a look at UNIX through an online experience on an Ubuntu Linux

More information

ECE QNX Real-time Lab

ECE QNX Real-time Lab Department of Electrical & Computer Engineering Concordia University ECE QNX Real-time Lab User Guide Dan Li 9/12/2011 User Guide of ECE Real-time QNX Lab Contents 1. About Real-time QNX Lab... 2 Contacts...

More information

Computer Basics: Step-by-Step Guide (Session 2)

Computer Basics: Step-by-Step Guide (Session 2) Table of Contents Computer Basics: Step-by-Step Guide (Session 2) ABOUT PROGRAMS AND OPERATING SYSTEMS... 2 THE WINDOWS 7 DESKTOP... 3 TWO WAYS TO OPEN A PROGRAM... 4 DESKTOP ICON... 4 START MENU... 5

More information

Windows XP. A Quick Tour of Windows XP Features

Windows XP. A Quick Tour of Windows XP Features Windows XP A Quick Tour of Windows XP Features Windows XP Windows XP is an operating system, which comes in several versions: Home, Media, Professional. The Windows XP computer uses a graphics-based operating

More information

Refresher workshop in programming for polytechnic graduates General Java Program Compilation Guide

Refresher workshop in programming for polytechnic graduates General Java Program Compilation Guide Refresher workshop in programming for polytechnic graduates General Java Program Compilation Guide Overview Welcome to this refresher workshop! This document will serve as a self-guided explanation to

More information

Do this by creating on the m: drive (Accessed via start menu link Computer [The m: drive has your login id as name]) the subdirectory CI101.

Do this by creating on the m: drive (Accessed via start menu link Computer [The m: drive has your login id as name]) the subdirectory CI101. Creating and running a Java program. This tutorial is an introduction to running a computer program written in the computer programming language Java using the BlueJ IDE (Integrated Development Environment).

More information

Tips from the experts: How to waste a lot of time on this assignment

Tips from the experts: How to waste a lot of time on this assignment Com S 227 Spring 2018 Assignment 1 100 points Due Date: Friday, September 14, 11:59 pm (midnight) Late deadline (25% penalty): Monday, September 17, 11:59 pm General information This assignment is to be

More information

How to set up an Amazon Work Profile for Windows 8

How to set up an Amazon Work Profile for Windows 8 How to set up an Amazon Work Profile for Windows 8 Setting up a new profile for Windows 8 requires you to navigate some screens that may lead you to create the wrong type of account. By following this

More information

Creating Pages with the CivicPlus System

Creating Pages with the CivicPlus System Creating Pages with the CivicPlus System Getting Started...2 Logging into the Administration Side...2 Icon Glossary...3 Mouse Over Menus...4 Description of Menu Options...4 Creating a Page...5 Menu Item

More information

Imperative and Object Oriented Programming. Tutorial 1. Charlie Abela Department of Artificial Intelligence

Imperative and Object Oriented Programming. Tutorial 1. Charlie Abela Department of Artificial Intelligence Imperative and Object Oriented Programming Tutorial 1 Department of Artificial Intelligence charlie.abela@um.edu.mt Tutorial 1 In this tutorial you will be using the BlueJ IDE to develop java classes.

More information

UNic Eclipse Mini Tutorial (Updated 06/09/2012) Prepared by Harald Gjermundrod

UNic Eclipse Mini Tutorial (Updated 06/09/2012) Prepared by Harald Gjermundrod Page 1 of 19 UNic Eclipse Mini Tutorial (Updated 06/09/2012) Prepared By: Harald Gjermundrod Table of Contents 1 EASY INSTALLATION... 2 1.1 DOWNLOAD... 2 1.2 INSTALLING... 2 2 CUSTOMIZED INSTALLATION...

More information

CS Fundamentals of Programming II Fall Very Basic UNIX

CS Fundamentals of Programming II Fall Very Basic UNIX CS 215 - Fundamentals of Programming II Fall 2012 - Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the CS (Project) Lab (KC-265)

More information

Using Eclipse for Java. Using Eclipse for Java 1 / 1

Using Eclipse for Java. Using Eclipse for Java 1 / 1 Using Eclipse for Java Using Eclipse for Java 1 / 1 Using Eclipse IDE for Java Development Download the latest version of Eclipse (Eclipse for Java Developers or the Standard version) from the website:

More information

CSE115 Lab 9 Fall 2016

CSE115 Lab 9 Fall 2016 DUE DATES: Monday recitations: 8:00 PM on 11/13 Wednesday recitations: 8:00 PM on 11/15 Thursday recitations: 8:00 PM on 11/16 Friday recitations: 8:00 PM on 11/17 Saturday recitations: 8:00 PM on 11/18

More information

Once you have installed MobaXterm, open MobaXterm. Go to Sessions -> New Session, and click on the SSH icon.

Once you have installed MobaXterm, open MobaXterm. Go to Sessions -> New Session, and click on the SSH icon. Lab 1 In order to get credit for the lab, you need to be checked off by the end of lab. For nonzero labs, you can earn a maximum of 3 points for lab work completed outside of lab time, but you must finish

More information

Java Programming Constructs Java Programming 2 Lesson 1

Java Programming Constructs Java Programming 2 Lesson 1 Java Programming Constructs Java Programming 2 Lesson 1 Course Objectives Welcome to OST's Java 2 course! In this course, you'll learn more in-depth concepts and syntax of the Java Programming language.

More information

Tutor Handbook for WebCT

Tutor Handbook for WebCT Tutor Handbook for WebCT Contents Introduction...4 Getting started...5 Getting a course set up...5 Logging onto WebCT...5 The Homepage...6 Formatting and designing the Homepage...8 Changing text on the

More information

TinyNet. Creating Virtual Machines

TinyNet. Creating Virtual Machines TinyNet Creating Virtual Machines VirtualBox is a little funny about its configuration files, so we need a separate utility to run VirtualBox using non-standard locations for our virtual machines (VMs)

More information

Training Manual for Researchers. How to Create an Online Human Ethics Application

Training Manual for Researchers. How to Create an Online Human Ethics Application Training Manual for Researchers How to Create an Online Human Ethics Application What is in this document This manual is intended to provide general tips on using functionality specific to QUEST online

More information

Lab Android Development Environment

Lab Android Development Environment Lab Android Development Environment Setting up the ADT, Creating, Running and Debugging Your First Application Objectives: Familiarize yourself with the Android Development Environment Important Note:

More information

TYPO3 Editing Guide Contents

TYPO3 Editing Guide Contents TYPO3 Editing Guide Contents Introduction... 2 Logging in... 2 Selecting your Workspace for editing... 2 Working with Content Elements... 3 Working in the Editing Window... 4 Pasting content from MS Word

More information

Introduction to Computation and Problem Solving

Introduction to Computation and Problem Solving Class 3: The Eclipse IDE Introduction to Computation and Problem Solving Prof. Steven R. Lerman and Dr. V. Judson Harward What is an IDE? An integrated development environment (IDE) is an environment in

More information

The Monitor Window. 3.The Monitor Window Premiere Pro 1.5 H O T

The Monitor Window. 3.The Monitor Window Premiere Pro 1.5 H O T 3.The Monitor Window Premiere Pro 1.5 H O T 3 The Monitor Window Source vs. Program Playing Source Video In and Out Points Setting In and Out Points Clearing In and Out Points H O T Premiere Pro HOT DVD

More information

Barchard Introduction to SPSS Marks

Barchard Introduction to SPSS Marks Barchard Introduction to SPSS 21.0 3 Marks Purpose The purpose of this assignment is to introduce you to SPSS, the most commonly used statistical package in the social sciences. You will create a new data

More information

FIT 100: Fluency with Information Technology

FIT 100: Fluency with Information Technology FIT 100: Fluency with Information Technology Lab 2: Creating Directories and Navigating Directory Structures (or, Where am I, where are my files, and how do I put my files somewhere else?) Local vs. Remote

More information

CPSC150L Lab 0 Lab Set Up

CPSC150L Lab 0 Lab Set Up CPSC150L Lab 0 Lab Set Up Fall 2016 Welcome to the laboratory exercises that accompany the lecture course CPSC 150 Computers and Programming I. These lab exercises are designed to support and complement

More information

In the first class, you'll learn how to create a simple single-view app, following a 3-step process:

In the first class, you'll learn how to create a simple single-view app, following a 3-step process: Class 1 In the first class, you'll learn how to create a simple single-view app, following a 3-step process: 1. Design the app's user interface (UI) in Xcode's storyboard. 2. Open the assistant editor,

More information

Department of Computer Science University of Pretoria. Introduction to Computer Science COS 151

Department of Computer Science University of Pretoria. Introduction to Computer Science COS 151 Department of Computer Science University of Pretoria Introduction to Computer Science COS 151 Practical 1 16 February 2018 1 Plagiarism Policy The Department of Computer Science considers plagiarism as

More information

Barchard Introduction to SPSS Marks

Barchard Introduction to SPSS Marks Barchard Introduction to SPSS 22.0 3 Marks Purpose The purpose of this assignment is to introduce you to SPSS, the most commonly used statistical package in the social sciences. You will create a new data

More information

DS-5 ARM. Using Eclipse. Version Copyright ARM. All rights reserved. ARM DUI 0480L (ID100912)

DS-5 ARM. Using Eclipse. Version Copyright ARM. All rights reserved. ARM DUI 0480L (ID100912) ARM DS-5 Version 5.12 Using Eclipse Copyright 2010-2012 ARM. All rights reserved. ARM DUI 0480L () ARM DS-5 Using Eclipse Copyright 2010-2012 ARM. All rights reserved. Release Information The following

More information

Instructions PLEASE READ (notice bold and underlined phrases)

Instructions PLEASE READ (notice bold and underlined phrases) Lab Exercises wk11 Practice with Strings Required Reading None Instructions PLEASE READ (notice bold and underlined phrases) Lab Exercise has three parts: A. Lab Demo Review of Strings B. Exercises Work

More information

CS 2400 Laboratory Assignment #1: Exercises in Compilation and the UNIX Programming Environment (100 pts.)

CS 2400 Laboratory Assignment #1: Exercises in Compilation and the UNIX Programming Environment (100 pts.) 1 Introduction 1 CS 2400 Laboratory Assignment #1: Exercises in Compilation and the UNIX Programming Environment (100 pts.) This laboratory is intended to give you some brief experience using the editing/compiling/file

More information

Getting Started. In this chapter, you will learn: 2.1 Introduction

Getting Started. In this chapter, you will learn: 2.1 Introduction DB2Express.book Page 9 Thursday, August 26, 2004 3:59 PM CHAPTER 2 Getting Started In this chapter, you will learn: How to install DB2 Express server and client How to create the DB2 SAMPLE database How

More information

Orientation for Online Students

Orientation for Online Students Orientation for Online Students Distance Learning mxccdistance@mxcc.commnet.edu (860) 343 5756 Founders Hall 131/131A Middlesex Community College Visit mxcc.edu/distance Orientation for Online Students

More information

The Fundamentals. Document Basics

The Fundamentals. Document Basics 3 The Fundamentals Opening a Program... 3 Similarities in All Programs... 3 It's On Now What?...4 Making things easier to see.. 4 Adjusting Text Size.....4 My Computer. 4 Control Panel... 5 Accessibility

More information

Easy Windows Working with Disks, Folders, - and Files

Easy Windows Working with Disks, Folders, - and Files Easy Windows 98-3 - Working with Disks, Folders, - and Files Page 1 of 11 Easy Windows 98-3 - Working with Disks, Folders, - and Files Task 1: Opening Folders Folders contain files, programs, or other

More information

Creating Vector Shapes Week 2 Assignment 1. Illustrator Defaults

Creating Vector Shapes Week 2 Assignment 1. Illustrator Defaults Illustrator Defaults Before we begin, we are going to make sure that all of us are using the same settings within our application. For this class, we will always want to make sure that our application

More information

Part I. Introduction to Linux

Part I. Introduction to Linux Part I Introduction to Linux 7 Chapter 1 Linux operating system Goal-of-the-Day Familiarisation with basic Linux commands and creation of data plots. 1.1 What is Linux? All astronomical data processing

More information

Purchase and Setup instructions for SWVPS (Sept 15, 2014)

Purchase and Setup instructions for SWVPS (Sept 15, 2014) Purchase and Setup instructions for SWVPS (Sept 15, 2014) Our team recommends a Virtual Private Server (VPS) that works well for only $18.00 a month. Because trading in the market requires a platform that

More information

Perforce Getting Started with P4V

Perforce Getting Started with P4V Perforce 2005.2 Getting Started with P4V December 2005 This manual copyright 2005 Perforce Software. All rights reserved. Perforce software and documentation is available from http://www.perforce.com.

More information

Introduction. Overview of 201 Lab and Linux Tutorials. Stef Nychka. September 10, Department of Computing Science University of Alberta

Introduction. Overview of 201 Lab and Linux Tutorials. Stef Nychka. September 10, Department of Computing Science University of Alberta 1 / 12 Introduction Overview of 201 Lab and Linux Tutorials Stef Nychka Department of Computing Science University of Alberta September 10, 2007 2 / 12 Can you Log In? Should be same login and password

More information

(First is used here)

(First is used here) Solo Complete all four programs by yourself Print programs 1, 2, 3, and 4, staple them together (or lose points) and turn in to your section leader or Rick if Cody is your SL from 9:55-10:01 am Wednesday,

More information

Tutorial NetOp School

Tutorial NetOp School Tutorial NetOp School Getting Started: NetOp is software available in the computer classrooms that allows screen sharing. That means you can show what's on your screen to all students, or that you can

More information

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on a Virtual Machine

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on a Virtual Machine IT 341 Introduction to System Administration Project I Installing Ubuntu Server on a Virtual Machine Here we create a new virtual machine and install Ubuntu 16.04 LTS Server on it. In this instance, we

More information

15-122: Principles of Imperative Computation

15-122: Principles of Imperative Computation 15-122: Principles of Imperative Computation Lab 0 Navigating your account in Linux Tom Cortina, Rob Simmons Unlike typical graphical interfaces for operating systems, here you are entering commands directly

More information