Difference between revisions of "U1s1"

From SFU_Public
Jump to: navigation, search
m
Line 34: Line 34:
 
Individual webpages for collecting data are  
 
Individual webpages for collecting data are  
  
#vcollect.html Unit 1, Activity 1-1: Baseball pitching speed  
+
#[http://sc3980-inst.surrey.sfu.ca/vcollect.html vcollect.html] Unit 1, Activity 1-1: Baseball pitching speed  
#tcollect.html Unit 1. Activity 1-5: Bowling ball timing  
+
#[http://sc3980-inst.surrey.sfu.ca/tcollect.html  tcollect.html] Unit 1. Activity 1-5: Bowling ball timing  
#dropcollect.html Unit 2, Activity 2-4 : 2-m ball drop timing  
+
#[http://sc3980-inst.surrey.sfu.ca/dropcollect.html dropcollect.html] Unit 2, Activity 2-4 : 2-m ball drop timing  
#sdcollect.html Unit 2, Activity 2-5: Standard Deviations
+
#[http://sc3980-inst.surrey.sfu.ca/sdcollect.html  sdcollect.html] Unit 2, Activity 2-5: Standard Deviations
  
 
These pages are located in /Library/Webserver/Documents directory. They make use of cgi programs written in perl which are in /Library/Webserver/CGI-Executables.  
 
These pages are located in /Library/Webserver/Documents directory. They make use of cgi programs written in perl which are in /Library/Webserver/CGI-Executables.  
Line 48: Line 48:
 
They write the data to the following files  
 
They write the data to the following files  
  
#vfile.txt Unit 1,Activity 1-1: Baseball pitching speed  
+
#[http://sc3980-inst.surrey.sfu.ca/vfile.txt vfile.txt] Unit 1,Activity 1-1: Baseball pitching speed  
#tfile.txt Unit 1. Activity 1-5: Bowling ball timing  
+
#[http://sc3980-inst.surrey.sfu.ca/tfile.txt tfile.txt] Unit 1. Activity 1-5: Bowling ball timing  
#dropfile.txt Unit 2, Activity 2-4: 2-m ball drop timing  
+
#[http://sc3980-inst.surrey.sfu.ca/dropfile.txt dropfile.txt] Unit 2, Activity 2-4: 2-m ball drop timing  
#sdfile.txt Unit 2, Activity 2-5: Standard deviations
+
#[http://sc3980-inst.surrey.sfu.ca/sdfile.txt sdfile.txt] Unit 2, Activity 2-5: Standard deviations
  
<br> These filesshould be cleared of previous data before class use by editing then with your favourite text editor, e.g, Textwrangler. They allow r/w permission for any user and if you delete a file or rename one and then create a new one then the permissions need to be set to rw for user, group and others (666). To create files and change their permissions you need to have superuser status. (Use the sudo command in the terminal app.)
+
<br> These files should be cleared of previous data before class use by editing them with your favourite text editor, e.g, Textwrangler. They allow r/w permission for any user and if you delete a file or rename one and then create a new one then the permissions need to be set to rw for user, group and others (666). To create files and change their permissions you need to have superuser status. (Use the sudo command in the terminal app.)

Revision as of 18:00, 3 September 2009

Unit 1 Session 1

Hand out Activity Guides

Usually the activity guides are pre-paid with the course fees. There is usually some attrition during the first days of class so it is advisable to hand out only the Activity Guides for the first two or three units and the Philosophy and Principles handout on the first day of classes.

Sample Handout Schedule

(Dates refer to Spring 2007)

  • First day: (Jan 7) Philosophy and Principles, Units 1, 2, 3 Activity Guides, Homework for Units 1 through 7
  • End of Second week (Unit 3 session 2, Jan 18)) Units 4 through 7 Activity Guides, 3-ring binder and tabs
  • Middle of 5th week (Unit 7, Session 3, Feb 13) Units 8 through 14 Activity Guides, Homework for Units 8 through 14, 3-ring binder and tabs.
  • Activity Guides should be stapled, by unit, and three-ring punched.

Equipment needed for each group

Tote basket with stuff for baseball throwing measurements

  • 3 baseballs
  • stopwatch
  • 30-m tape measure

In addition there needs to be a number line on the floor marking every metre for the total distance of 12 m. The number line usually remains from the previous semester, but can be reconstructed by the students if necessary.

Excel

We start using Excel today. The students enter their data in an online form (vcollect.html) which collects all the class data in a file (vfile.txt) that everyone can access.

Webforms for collecting class data

The instructor's computer in SC3980 is configured to act as a webserver for collecting and displaying the students' data. The url of the computer is http://sc3980-inst.surrey.sfu.ca.

Individual webpages for collecting data are

  1. vcollect.html Unit 1, Activity 1-1: Baseball pitching speed
  2. tcollect.html Unit 1. Activity 1-5: Bowling ball timing
  3. dropcollect.html Unit 2, Activity 2-4 : 2-m ball drop timing
  4. sdcollect.html Unit 2, Activity 2-5: Standard Deviations

These pages are located in /Library/Webserver/Documents directory. They make use of cgi programs written in perl which are in /Library/Webserver/CGI-Executables.

  1. vcollect.cgi
  2. tcollect.cgi
  3. dropcollect.cgi
  4. sdcollect.cgi

They write the data to the following files

  1. vfile.txt Unit 1,Activity 1-1: Baseball pitching speed
  2. tfile.txt Unit 1. Activity 1-5: Bowling ball timing
  3. dropfile.txt Unit 2, Activity 2-4: 2-m ball drop timing
  4. sdfile.txt Unit 2, Activity 2-5: Standard deviations


These files should be cleared of previous data before class use by editing them with your favourite text editor, e.g, Textwrangler. They allow r/w permission for any user and if you delete a file or rename one and then create a new one then the permissions need to be set to rw for user, group and others (666). To create files and change their permissions you need to have superuser status. (Use the sudo command in the terminal app.)