CMPT 100 Tutorial _1

Document Sample
CMPT 100 Tutorial _1 Powered By Docstoc
					    CMPT 100 : INTRODUCTION TO
    COMPUTING


    TUTORIAL    #1 : GETTING STARTED

1   By Wendy Sharpe
OVERVIEW OF TUTORIAL #1
 Speed meet & greet
 Logging on/off computers and synchronizing
  passwords via PAWS
 Using 3rd floor Spinks labs

 Class homepage

 Saving and accessing files

 Getting work done from home (remote access)

 Getting started with Kompozer and gVim

 Ehandin

 Internet searches
                                                2
    SPEED MEET & GREET

3
OPERATION SPEED MEET & GREET

   Find one or two other people that you do not
    know

   You have 5 minutes to find out:
       Where are they from?
       What program and college are they in?
       Why are they taking CMPT 100?
       What is their favourite video game or online
        application?

                                                       4
OPERATION SPEED MEET AND GREET
CONTINUED . . .




                                                 Wendy
                                                 wls238@mail.usask.ca




I’ll put these slides up on the Internet somewhere.
                                                                        5
Likely on homepage at http://homepage.usask.ca/~wls238/
    LOGGING ONTO THE LAB COMPUTERS

    PLEASE BE PATIENT:
    This section is going to be a little messy for 2
    reasons

    #1. because we’re going to need to make sure
    everyone is at a Windows login screen

    #2. We need to synchronize your password/NSID
    combos on PAWS . . . more on that in a second
6
LOCATION, LOCATION, LOCATION.....
LOGGING ON & OFF LAB COMPUTERS



   Public Service Announcement:

    DO NOT turn off or force a reboot of a computer
    that looks like someone forgot to log off or if it
    doesn’t respond (this will most often happen in
    the large, open access Spinks lab)
       Why? Someone could be remotely accessing that
        machine

                                                         7
A NOTE ON INFORMATION SECURITY


ALWAYS, ALWAYS, LOCK OR LOG OFF OF YOUR COMPUTER
  WHEN YOU’RE GOING TO BE AWAY FROM IT


Why?
   potential risk of theft of files/assignments
   if your assignment is stolen and you don’t realize that it is
    stolen BOTH you and the other person will be formally
    accused of academic dishonesty

  Ever heard of Frank Abagnale?
  http://video.google.com/videoplaydocid=-
    6271800786378394176#                                            8
LOCATION, LOCATION, LOCATION.....
LOGGING ON & OFF LAB COMPUTERS
   Logging on the dual boot machines (this
    lab)
       If you see something called Mandriva then you’re in
        the wrong place:
       Restart the system
       Watch the screen because the Windows/Linux option
        is a limited time offer
       Select Windows by using the arrow keys
       if your NSID/password combo doesn’t work then go to
        PAWS and synchronize (see the next three slides)


   Logging on the Mac computers
       you will have to use some sort of remote desktop      9
        client to access discworld on the Mac computers
SYNCHRONIZE YOUR PASSWORD IF YOU’RE
HAVING PROBLEMS LOGGING ON




If you’re already logged on, please help other students get their
NSID/passwords synchronized by allowing them to use PAWS on
your computer.
                                                                    10
Make sure that they log out of PAWS once their password has
been synchronized
                                              11


Synchronizing your password continued . . .
                                              12


Synchronizing your password continued . . .
Jerry Only




                             Jello
                             Biafra (J.B.)




                                     Please enjoy these
                                     pictographs of my
         13
                                     pets while we get
                                     this synchronization
                                     thing worked out
 analog Sepultura and iSep
     THE   3RD FLOOR SPINKS LABS
14
SPINKS LAB USAGE MAP




                       15
THE 3RD FLOOR LABS :
THIS IS YOUR BRAIN ON SPINKS
 The labs are open 24 hours a day
 BUT the Spinks building is only open 7am-11pm

 3rd floor - Spinks labs
       can use the labs anytime when the it isn’t booked for special
        events or tutorials (same goes for all the other labs too)


     Spinks S311 – smaller teaching Mac lab
     Spinks S315 – a.k.a. open access Mac lab
     Spinks S320 – smaller teaching lab (this room)
            dual boot, (Linux/Windows)
       Spinks S360 – large, open access computer lab
          dual boot                                                    16
          also has network-only laptop work stations
SPINKSTORIUM CONTINUED . . .
   Spinks Help Centre in S352
     staffed by senior undergraduates, graduate students,
      sometimes faculty members from the CS Department
     Get help with assignments or course topics

   Breakout rooms (next three slides)
     3 bookable break out rooms: Spinks 342, Spinks 371,
      Spinks 372
     These come in handy for group studying around
      midterms and finals
     Use the Action Menu to log into the booking system:
     http://www.cs.usask.ca/content/resources/breakoutroo
      ms.jsp?user=nouser                                     17
                                         18


Booking breakout rooms continued . . .
                                         19


Booking breakout rooms continued . . .
 I.e., If someone is using your booked room you can kick them
 out.
                                                                20


Booking breakout rooms continued . . .
     AND NOW . . . A QUICK WALKING
     TOUR OF 3RD FLOOR SPINKS
21
     CMPT 100 HOMEPAGE
22
CMPT 100 HOMEPAGE
http://moodle.cs.usask.ca




                            23
     SAVING AND ACCESSING YOUR
     FILES VIA NETWORK DRIVES
24
YOUR NETWORK DRIVES IN A (SLIGHTLY
CONFUSING) NUTSHELL
   H: drive (a.k.a. winhome)
     CS administered network drive that you can save your files and
      information on
     this is your home drive on discworld


   Other drives you have access to:
       V: drive
           ITS Division administered network drive
           mounted from folder.usask.ca (can access via PAWS)
           you have access to this drive in other labs on campus (though in other labs
            this drive may be called H:\ .... different from the H: drive above)
           For more information, please see The ITS Webpages
       W: drive
           ITS Division administered network drive
           mounted from homepage.usask.ca
           provides webspace for students to save homepages on
           homepage.usask.ca Documentation.

    Note: If the V:\ and W:\ drives do not appear automatically, double-click
      on the "Connect network drives" icon on your desktop                                25
MAD SERIOUS HUGELY IMPORTANT
DISCLAIMER

 DO NOT SAVE YOUR FILES TO THE DESKTOP


 YOUR DESKTOP IS NOT YOUR HOME DRIVE


 YOUR FILES WILL EVENTUALLY, AT SOME POINT,
 WILL DISAPPEAR WITHOUT ANY NOTICE AND YOU
 WON’T EVER BE ABLE TO GET THEM BACK




                                              26
     ACCESSING YOUR FILES FROM
     HOME

     OPTION A: CABINET VIA PAWS

     OPTION B: REMOTE DESKTOP
              CONNECTION

27   OPTION C : SOME OTHER PORTABLE
               DRIVE, LIKE A FLASH
               DRIVE
ANOTHER SECOND SLIGHTLY LESS MAD
SERIOUS HUGELY IMPORTANT DISCLAIMER


DO NOT NAME YOUR FILES WITH SPACES

e.g.,
about us.html          BAD!!
aboutUs.html           Good 

   Just a quick FYI for those of you going on to
    CMPT 111
     the second example follows a computer science
      naming convention called camelCase
     for more info: http://en.wikipedia.org/wiki/CamelCase   28
OPTION A: USING CABINET VIA PAWS TO
SAVE & ACCESS FILES




                                      29
OPTION A CONTINUED: UPLOADING A FILE
VIA CABINET




                                       30
OPTION B FOR WINDOWS USERS -
REMOTE DESKTOP CONNECTION
   You can also access a lab computer from home using
    Remote Desktop Connection (RDC), a piece of software
    made by Microsoft
   Most versions of Windows come with Remote Desktop
    Connection that allows you to remotely connect to another
    computer
          if you don’t already have it:
           http://www.microsoft.com/downloads/en/details.aspx?familyid=80111f21
           -d48d-426e-96c2-08aa2bd23a49&displaylang=en
          if you already have it: under Start – All Programs – Accessories –
           Communications



    Using RDC, you'll be able to access all the software in the
    lab, and your lab folders.
   You can use the Remote Desktop Connection from any
    computer with an Internet connection which has the client
    installed                                                                     31
OPTION B FOR MAC USERS -
REMOTE DESKTOP CONNECTION
   Mac doesn’t come with Remote Desktop
    Connection, you can download it here:
    http://www.microsoft.com/mac/products/remote-
      desktop/default.mspx

    To connect to discworld using Remote Desktop
      Connection:
     start up your RDC client
     discworld.usask.ca
     You will be asked to login with your NSID and
      password
     there’s an example of RDC via Mac in the Kompozer   32
      section of these slides
     KOMPOZER AND GVIM
33
GETTING STARTED WITH KOMPOZER

   Kompozer is a WYSIWYG HTML editor that we'll
    use to create web pages
       E.g., Microsoft Word is a WYSIGYG document editor


   Kompozer is already installed in the labs in
    Spinks
       Start – Course Specific Applications – CMPT-100 –
        Kompozer 0.7.10


   FYI Kompozer used to be called NVU

                                                            34
MAC USERS: DOWNLOADING                 & INSTALLING
KOMPOZER

   Because Kompozer is a free, cross-platform
    program you can download it for free from:
    http://kompozer.net/

   A free online user guide will help you get started
    or troubleshoot any problems you might have
    when using Kompozer:
       http://www.charlescooke.me.uk/web/kz-ug-home.htm




                                                           35
WINDOWS USERS: DOWNLOADING
KOMPOZER (SLIDE               1/2)
   Because Kompozer is a free, cross-platform
    program you can download it for free from:
    http://www.tucows.com/preview/607474
       Note: the file is zipped so you will have to unzip it . . .
        see the next slide for details.


   A free online user guide will help you get started
    or troubleshoot any problems you might have
    when using Kompozer:
       http://www.charlescooke.me.uk/web/kz-ug-home.htm

                                                                      36
WINDOWS USERS: INSTALLING KOMPOZER
(SLIDE 2/2)

   Once you've downloaded KompoZer for Windows
    you will have to unzip the folder.
     save the download to a place on your computer that
      you will be able to find it
     click on the zipper folder (will have a .zip extension,
      with a name like kompozer-0.7.10-win32)
     click on the plain folder inside it
     click on Kompozer application inside that is 45kb
           NOTE: you will be asked if you want to extract, run, or
            cancel.....you want to extract
       then click on the same logo in the extracted folder
        and Kompozer should run                                       37
GETTING TO KOMPOZER VIA REMOTE DESKTOP
CONNECTION (ON DISCWORLD)

FYI discworld will look slightly different from the Spinks lab
computers

This RDC was done on a MacBook




                                                                 38
ACCESSING KOMPOZER USING REMOTE
DESKTOP CONNECTION




                                  39
OPENING KOMPOZER USING REMOTE
DESKTOP CONNECTION




                                40
GETTING STARTED WITH             gVIM
 a text editor used to edit code (such as JavaScript
  or HTML code)
 already installed in the labs in Spinks

 if you want to work in another non-Spinks lab on
  campus, you can use Notepad (no syntax
  highlighting) or Notepad++ (syntax highlighting)
 if you want to use gVim from home you can either
     use Remote Desktop Connection to access discworld
     download gVim (it’s free )



                                                          41
A QUICK WORD ON OTHER EDITORS
 If your instructor hasn’t already told you about this:

 You can use Microsoft Expression Web to create HTML
 pages for the course instead of, or in addition to gVIM and
 Kompozer

BUT

 You can’t use any other program, and you will not get
 marked (or will lose a lot of marks)

 FYI it will be very obvious if you use any other program
     example of other programs:
         Frontpage,
         Dreamweaver, and
         MS Word .... once upon a time I saved a webpage as .doc instead of   42
          .html by accident. It wasn’t a happy day.
     EHANDIN
43
HANDING IN YOUR ASSIGNMENT

   Assignments are submitted electronically via
    EHandin
      access EHandin from the class website on Moodle
      (see next slide)
     www.cs.usask.ca/ehandin
   Advice: as soon as you have something done
    upload it to Ehandin. The deadline is specific
    and is down to the minute. Use EHandin as a
    file backup.
     as long as something is uploaded to EHandin you will
      get part marks
     each time you resubmit a file, it overwrites the old
      copy, but you have to check the checkbox to overwrite
                                                              44
      the old copy
EHANDIN VIA THE CMPT HOMEPAGE ON
MOODLE




                                   45
FEEDBACK FROM MARKERS VIA EHANDIN
& VIEWING WEB PAGES IN EHANDIN
   Feedback from markers will be available in the
    assignment folders as a separate folder and file



   When you go to view a webpage in EHandin, you
    have to click the "View folder as website"
    link. We'll talk about EHandin again during the
    HTML tutorial



                                                       46
     SEARCHING
47
SEARCHING USING AND, OR, NOT

   Search Engine: a webpage that allows you to
    look/search for information on the web without
    knowing exactly where it might be
       E.g., http://www.yahoo.com http://www.altavista.com
                           http://www.google.com

   it’s possible to do more advanced searches by using
    words like AND, NOT, OR, +/- but the format depends
    on what search engine you are using:
       E.g., what’s the difference between:
           red flowers     (OR)    same as red OR flowers
           “red flowers”   (AND) same as red AND flowers
           flowers –red    (NOT) same as flowers NOT red

                                                              48
   " " (quotation marks) to group words together
     RANDOM MISCELLANY RELATING
     TO TUTORIALS, PRINTING, AND
     YOUR ASSIGNMENT
49
A NOTE ON THE TUTORIALS
   Tutorials will not be marked
        tutorials will provide important information and cover material needed for
         assignments
        if this tutorial was too easy, attend at least Tutorial 2 before giving up on them. The
         rest of the tutorials are very different than this first one!
        material will not cover tutorial material again if you have not attended the previous
         tutorials
        ask me if anything is unclear
        the lab is reserved during tutorial times, do not expect to be able to work on
         assignments while tutorials are in session
        it is suggested you use your tutorial time every week to work on your assignments,
         even if there is no tutorial scheduled.
   You may work from any lab on campus or from home. There is a help desk on
    3rd floor Spinks. See the page "Where to go for help" on the class homepage for
    details and schedules.
   Start assignments EARLY because the lab gets extremely busy right before
    deadlines
        there is no technical support on weekends -- this is NOT an excuse for late
         assignments.
   The CMPT100 homepage should be your first sources of help and information
    for this class
        lab advisors are there to help you, but NOT to complete the assignments for you
   Important announcements pertaining to the lab will be written on the                           50
    whiteboards, check it when you come
PRINTING

   Printing is not required for this class. There is
    however a printer in the lab if you want to print.
     You will need to purchase print credit ahead of time
     You can go to PAWS and check if you have any credit
      on your printing account
     Make sure the default printer is correct, otherwise
      your document may end up printing at the other end
      of campus
           check the default printer, and then check if that matches
            the name of the printer that you think you are trying to
            print to


                                                                        51
ASSIGNMENT           1: EXPLORING YOUR DATA
SELF




 Don’t forget that it’s due Friday September 24,
  2010 at 4:00 pm
 if you get done early you can hand it in to
  EHandin
 Read the submission guidelines carefully
       E.g., basically free marks for remembering to put
        name , nsid, student number, section on your
        assignment

                                                            52
     QUESTIONS?
53

				
DOCUMENT INFO