week fourteen agenda announcements link of the week review week thirteen lab assignment next lab...

16

Upload: berniece-golden

Post on 18-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Week Fourteen Agenda Announcements Link of the week Review week thirteen lab assignment Next lab assignment Previous Lab Assignment Grading answers for
Page 2: Week Fourteen Agenda Announcements Link of the week Review week thirteen lab assignment Next lab assignment Previous Lab Assignment Grading answers for

Week Fourteen Agenda• Announcements• Link of the week• Review week thirteen lab assignment• Next lab assignment• Previous Lab Assignment• Grading answers for final exam• Upcoming deadlines

Page 4: Week Fourteen Agenda Announcements Link of the week Review week thirteen lab assignment Next lab assignment Previous Lab Assignment Grading answers for

Review week thirteen lab assignment

The Apache HTTP server must be instructed to locate the CGI scripts.

Two pieces of information are needed to execute your CGI script.

1) A program in that directory to be used as a CGI script.

2) A link in an HTML page to your CGI scrip

Need to provide a URL that points to the CGI script.

http://cs.franklin.edu/~dandrear/itec400/CGI/sysInfo.cgi

Page 5: Week Fourteen Agenda Announcements Link of the week Review week thirteen lab assignment Next lab assignment Previous Lab Assignment Grading answers for

Review week thirteen lab assignment

The CGI script itself simply produces output to stdout. The HTTP server captures that output and sends it to the Web browser. The format of the output must be in a form that the Web browser can understand (HTML).

The CGI script creates the HTML page every time it is run.

The data provided to the HTML page can change with each execution of the script.

Page 6: Week Fourteen Agenda Announcements Link of the week Review week thirteen lab assignment Next lab assignment Previous Lab Assignment Grading answers for

Next Lab AssignmentCGI Script

Use declaration Format: use CGI <List of methods>

start_html displays the name of the script top left corner of browser

start_form returns a <form>tag with optional method, action, and form encoding that you specify

Submit button sends all of the form information to the CGI program specified by the ACTION attribute. Without the button the form will be useless since it will never reach the CGI script.

Page 7: Week Fourteen Agenda Announcements Link of the week Review week thirteen lab assignment Next lab assignment Previous Lab Assignment Grading answers for

Previous Lab AssignmentFilter

A filter generally reads input for stdin and manipulates the data and outputs the result to stdout. Most common filters are listed below.

awk cat cut

compress grep head

pr sort split

tail wc tr

Page 8: Week Fourteen Agenda Announcements Link of the week Review week thirteen lab assignment Next lab assignment Previous Lab Assignment Grading answers for

Previous Lab Assignment Perl Modules

Reason modules were created.

use syntax

Getopt::Std provides two functions getopt and getopts

Page 9: Week Fourteen Agenda Announcements Link of the week Review week thirteen lab assignment Next lab assignment Previous Lab Assignment Grading answers for

Grading answers for final examKernel functions can be categorized into two broad

types:

Spontaneous *

Reactive *

Passive

Aggressive

Page 10: Week Fourteen Agenda Announcements Link of the week Review week thirteen lab assignment Next lab assignment Previous Lab Assignment Grading answers for

Grading answers for final exam

What files are affected when a new user is added to a Linux system?

/etc/password #

/etc/shadowing #

/etc/groupie #

/etc/dev

All of the above files.

Answers “a”, “b”, and “c”. *

Page 11: Week Fourteen Agenda Announcements Link of the week Review week thirteen lab assignment Next lab assignment Previous Lab Assignment Grading answers for

Break Out ProblemsUnix commands:

fgbguname –niddf

Page 12: Week Fourteen Agenda Announcements Link of the week Review week thirteen lab assignment Next lab assignment Previous Lab Assignment Grading answers for

Upcoming deadlinesProgramming Assignment 3, 14-1 is due

December 19, 2009

Final Exam, 15-1 will be administered December 14 through 19, 2009. If encounter any problems with the testing process, call me at 614.519.5853.

Page 13: Week Fourteen Agenda Announcements Link of the week Review week thirteen lab assignment Next lab assignment Previous Lab Assignment Grading answers for

Week Fourteen ConclusionCheck with your proctor to verify that he/she

has received your final exam and answer sheets. Remind your proctor to fax back to the SLC just the answer sheets.

Your final exam status will be posted on the Announcement page once the Student Learning Center emails me a students final exam.

Final grades must be submitted prior to the close of business December 22 (noon).

Page 14: Week Fourteen Agenda Announcements Link of the week Review week thirteen lab assignment Next lab assignment Previous Lab Assignment Grading answers for

Week Fourteen ConclusionAre there any lab assignments that need to

be graded?The final exam is 2.5 hours.No testing aids and/or material are permitted

during the final exam.Students are recommended to answer all

questions on the final exam.

• Questions• Concerns• Complaints

Page 15: Week Fourteen Agenda Announcements Link of the week Review week thirteen lab assignment Next lab assignment Previous Lab Assignment Grading answers for
Page 16: Week Fourteen Agenda Announcements Link of the week Review week thirteen lab assignment Next lab assignment Previous Lab Assignment Grading answers for