The following code is written in the Perl programming language:
$RNA = "AUGCGUAGAACAUAA";
@sequence = split(//,$RNA)
What does sequence  equal?
We next use the following code to define the variable $temp:
$temp = scalar @sequence;
What is the value of $temp?
How many places will the regular expression /U[AG]A/ match $RNA (e.g. how many matches for the expression: $RNA =~/U[AG]A/.
1. $sequence should equal to the character C
This is because:
splits the string RNA into an character array. Notice the array starts at index 0, so $sequence is ...
This solution quickly reviews regular expression in the perl programming language and how to apply this concept to the given problems. The solution is verified by perl.