SRJC Course Outlines

4/19/2024 3:33:24 PMCIS 54.31 Course Outline as of Fall 1999

Changed Course
CATALOG INFORMATION

Discipline and Nbr:  CIS 54.31Title:  PERL/CGI  
Full Title:  Perl & CGI
Last Reviewed:2/25/1999

UnitsCourse Hours per Week Nbr of WeeksCourse Hours Total
Maximum3.00Lecture Scheduled2.0017.5 max.Lecture Scheduled35.00
Minimum3.00Lab Scheduled08 min.Lab Scheduled0
 Contact DHR3.50 Contact DHR61.25
 Contact Total5.50 Contact Total96.25
 
 Non-contact DHR0 Non-contact DHR Total0

 Total Out of Class Hours:  70.00Total Student Learning Hours: 166.25 

Title 5 Category:  AA Degree Applicable
Grading:  Grade or P/NP
Repeatability:  00 - Two Repeats if Grade was D, F, NC, or NP
Also Listed As: 
Formerly:  CIS 84.23

Catalog Description:
Untitled document
An introduction to PERL (Program Extraction Report Language) which is used to create common gateway interface (CGI) scripts for use in Internet web sites.  Emphasis will be placed on theory as it relates to practice. Students will create original Perl scripts and download existing scripts from the Internet, which they will revise. Lab emphasis will be placed on incorporating the Perl scripts into an existing web site.

Prerequisites/Corequisites:
Course Completion of CS 10A ( or CS 10 or CIS 10 or CIS 10A or CIS 10 or BDP 10) and Course Completion of CS 50.11B ( or CIS 58.51B or CIS 84.42B)


Recommended Preparation:

Limits on Enrollment:

Schedule of Classes Information
Description: Untitled document
An introduction to PERL (program extraction report language) which is used to create common gateway interface (CGI) scripts for use in Internet web sites. Emphasis will be placed on theory as it relates to practice. Students will create original Perl scripts from the Internet which they will revise. Lab emphasis will be placed on incorporating the Perl scripts into an existing web site.
(Grade or P/NP)

Prerequisites:Course Completion of CS 10A ( or CS 10 or CIS 10 or CIS 10A or CIS 10 or BDP 10) and Course Completion of CS 50.11B ( or CIS 58.51B or CIS 84.42B)
Recommended:
Limits on Enrollment:
Transfer Credit:CSU;
Repeatability:00 - Two Repeats if Grade was D, F, NC, or NP

ARTICULATION, MAJOR, and CERTIFICATION INFORMATION

Associate Degree:Effective:Inactive:
 Area:
 
CSU GE:Transfer Area Effective:Inactive:
 
IGETC:Transfer Area Effective:Inactive:
 
CSU Transfer:TransferableEffective:Fall 1996Inactive:Spring 2008
 
UC Transfer:Effective:Inactive:
 
C-ID:

Certificate/Major Applicable: Certificate Applicable Course



COURSE CONTENT

Outcomes and Objectives:
At the conclusion of this course, the student should be able to:
Untitled document
The student will:
1.  Describe the history of PERL.
2.  Discuss Perl's uses and limitations
3.  Explain how CGI works
4.  Create PERL scripts which contain the following elements:
   a.  STDIN
   b.  Output
   c.  Numbers
   d.  Strings
   e.  Operators
   f.  Scalar variables
5.  Create original PERL scripts with these more advanced features
   a.  Arrays
   b.  Control structures
   c.  Associative arrays
   d.  Regular expressions
   e.  Functions
6.  Download 3-5 existing PERL scripts and explain functions of the code
7.  Make changes to at least 2 of these scripts
8.  Create an original PERL script that uses elements from 2 or more
   of these scripts
9.  Produce an annotated list of resources for creating PERL
   scripts which will include:
   a.  Electronic resources
   b.  Books
10. Given a list of 20 PERL tokens, define them with 80% accuracy

Topics and Scope
Untitled document
1.  PERL Basics
   a.  History of PERL
   b.  Purpose of PERL
   c.  Availability
   d.  Support
   e.  Basics Concepts
   f.  Sample programs
2.  Scalar Data
   a.  Definition of Scalar Data
   b.  Numbers
   c.  Strings
   d.  Operators
   e.  Scalar Variables
   f.  Operators on scalar Variables
   g.  <STIN> as a scalar variable
   h.  Output with print ()
   i.  The undef value
3.  Arrays and List Data
   a.  What is an array
   b.  Literal representation
   c.  Variables
   d.  Operators
   e.  Scalar and Array Context
   f.  <STDIN> as an array
   g.  Variable Interpolation of an array
4.  Control Structures
   a.  Statement blocks
   b.  If/Unless statement
   c.  For statement
   d.  For each statement
5.  Associative Array
   a.  What is an Associative Array
   b.  Associative Array Variables
6.  Basic I/O
   a.  Input from STDIN
   b.  Input from the Diamond Operator
   c.  Output from STDOUT
7.  Regular expressions
   a.  Concepts about regular expressions
   b.  Simple uses of regular expressions
   c.  Patterns
   d.  Matching Operator
   e.  Substitutions
   f.  Split () and join () operators
8.  Functions
   a.  System and user functions
   b.  Defining a user function
   c.  Invoking a user function
   d.  Return values
   e.  Arguments
   f.  Local variables in Functions

Assignments:
Untitled document
Students will read approximately 25 - 20 pages of text per week.
Students will locate and download existing PERL code from the Web.
Students will examine existing PERL code and evaluate its function
Students will develop at least 5 PERL scripts to accomplish various tasks.

Methods of Evaluation/Basis of Grade.
Writing: Assessment tools that demonstrate writing skill and/or require students to select, organize and explain ideas in writing.Writing
0 - 0%
None
This is a degree applicable course but assessment tools based on writing are not included because skill demonstrations are more appropriate for this course.
Problem solving: Assessment tools, other than exams, that demonstrate competence in computational or non-computational problem solving skills.Problem Solving
0 - 0%
None
Skill Demonstrations: All skill-based and physical demonstrations used for assessment purposes including skill performance exams.Skill Demonstrations
60 - 80%
Performance exams
Exams: All forms of formal testing, other than skill performance exams.Exams
20 - 40%
Multiple choice, True/false, Matching items
Other: Includes any assessment tools that do not logically fit into the above categories.Other Category
0 - 0%
None


Representative Textbooks and Materials:
Untitled document
"Learning PERL", by O'Reilly & Associates 1993

Print PDF