Unit of Competency Mapping – Information for Teachers/Assessors – Information for Learners

ICAPRG428A Mapping and Delivery Guide
Use regular expressions in programming languages

Version 1.0
Issue Date: March 2024


Qualification -
Unit of Competency ICAPRG428A - Use regular expressions in programming languages
Description This unit describes the performance outcomes, skills and knowledge required to use regular expressions for manipulating text and data.
Employability Skills This unit contains employability skills.
Learning Outcomes and Application Programmers and system administrators apply the skills and knowledge described in this unit. Their main responsibility is to code complex text processing such as search and replace tasks, validate inputs and create regex-based queries.
Duration and Setting X weeks, nominally xx hours, delivered in a classroom/online/blended learning setting.
Prerequisites/co-requisites Not applicable.
Competency Field
Development and validation strategy and guide for assessors and learners Student Learning Resources Handouts
Activities
Slides
PPT
Assessment 1 Assessment 2 Assessment 3 Assessment 4
Elements of Competency Performance Criteria              
Element: Differentiate the use of regular expressions in programming languages
  • Compare regular expression features among different languages and tools
  • Define different regular expression engine types and how they work
  • Determine the programming language and tools for writing regular expressions
       
Element: Code using regular expressions
  • Use regular expression characters, operators, anchors and quantifiers to match patterns of text
  • Write regular expression patterns to search and manipulate text
  • Write code to split strings and collect matches
  • Validate user input using regular expressions
       
Element: Test regular expressions
  • Use test tools to test and validate regular expressions
  • Capture results and edit as required
       


Evidence Required

List the assessment methods to be used and the context and resources required for assessment. Copy and paste the relevant sections from the evidence guide below and then re-write these in plain English.

The evidence guide provides advice on assessment and must be read in conjunction with the performance criteria, required skills and knowledge, range statement and the Assessment Guidelines for the Training Package.

Overview of assessment

Critical aspects for assessment and evidence required to demonstrate competency in this unit

Evidence of the ability to:

build and test regular expressions

match, replace or split text within a document or input field.

Context of and specific resources for assessment

Assessment must ensure access to:

internet in order to use online tools available for regular expressions

IDE

specific tools and licences, depending on particular platform

appropriate learning and assessment support when required

modified equipment for people with special needs.

Method of assessment

A range of assessment methods should be used to assess practical skills and knowledge. The following examples are appropriate for this unit:

verbal or written questioning to assess knowledge of writing regular expressions to solve common text-processing problems

evaluation of ability to:

create code to search files and input fields

handle data validation

manipulate text based on patterns.

Guidance information for assessment

Holistic assessment with other units relevant to the industry sector, workplace and job role is recommended, where appropriate.

Assessment processes and techniques must be culturally appropriate, and suitable to the communication skill level, language, literacy and numeracy capacity of the candidate and the work being performed.

Indigenous people and other people from a non-English speaking background may need additional support.

In cases where practical assessment is used it should be combined with targeted questioning to assess required knowledge.


Submission Requirements

List each assessment task's title, type (eg project, observation/demonstration, essay, assignment, checklist) and due date here

Assessment task 1: [title]      Due date:

(add new lines for each of the assessment tasks)


Assessment Tasks

Copy and paste from the following data to produce each assessment task. Write these in plain English and spell out how, when and where the task is to be carried out, under what conditions, and what resources are needed. Include guidelines about how well the candidate has to perform a task for it to be judged satisfactory.

Required skills

analytical skills to:

evaluate and compare a range of tools and languages

write complex regular expressions for text processing

literacy skills to read basic technical data

problem-solving skills to:

find best solutions using regular expressions to a wide range of problems

perform basic debugging and testing skills

research skills to locate and interrogate complex and varied sources of information

technical skills to:

debug applications using basic debugging techniques

test applications using basic testing techniques

write code using an integrated development environment (IDE).

Required knowledge

maths at a basic level

basic knowledge of:

coding

database systems

object-oriented programming

open-source development tools

small-size application development.

The range statement relates to the unit of competency as a whole. It allows for different work environments and situations that may affect performance. Bold italicised wording, if used in the performance criteria, is detailed below. Essential operating conditions that may be present with training and assessment (depending on the work situation, needs of the candidate, accessibility of the item, and local industry and regional contexts) may also be included.

Languages may include:

.NET languages

C++

Java

JavaScript

MySQL

Perl

PHP

PowerShell

Python

Ruby on Rails

XML Schema

XQuery and XPath.

Regular expression engine types may include:

deterministic finite automaton (DFA)

non-deterministic finite automaton (NFA)

portable operating system interface for Unix NFA (POSIX NFA).

Patterns may include:

alternatives

character classes

grouping

repeating sequences

sub-patterns.

Test tools may include:

Grep

java.util.regex

PowerGREP

RegexBuddy

RegexMagic

RegexPal

Regular Expression Checker

Rubular.

Copy and paste from the following performance criteria to create an observation checklist for each task. When you have finished writing your assessment tool every one of these must have been addressed, preferably several times in a variety of contexts. To ensure this occurs download the assessment matrix for the unit; enter each assessment task as a column header and place check marks against each performance criteria that task addresses.

Observation Checklist

Tasks to be observed according to workplace/college/TAFE policy and procedures, relevant legislation and Codes of Practice Yes No Comments/feedback
Compare regular expression features among different languages and tools 
Define different regular expression engine types and how they work 
Determine the programming language and tools for writing regular expressions 
Use regular expression characters, operators, anchors and quantifiers to match patterns of text 
Write regular expression patterns to search and manipulate text 
Write code to split strings and collect matches 
Validate user input using regular expressions 
Use test tools to test and validate regular expressions 
Capture results and edit as required 

Forms

Assessment Cover Sheet

ICAPRG428A - Use regular expressions in programming languages
Assessment task 1: [title]

Student name:

Student ID:

I declare that the assessment tasks submitted for this unit are my own work.

Student signature:

Result: Competent Not yet competent

Feedback to student

 

 

 

 

 

 

 

 

Assessor name:

Signature:

Date:


Assessment Record Sheet

ICAPRG428A - Use regular expressions in programming languages

Student name:

Student ID:

Assessment task 1: [title] Result: Competent Not yet competent

(add lines for each task)

Feedback to student:

 

 

 

 

 

 

 

 

Overall assessment result: Competent Not yet competent

Assessor name:

Signature:

Date:

Student signature:

Date: