equal
deleted
inserted
replaced
11 |
11 |
12 This coursework is worth 3\% and is due on 12 November at 16:00. You are asked to implement |
12 This coursework is worth 3\% and is due on 12 November at 16:00. You are asked to implement |
13 a regular expression matcher and submit a document containing the answers for the questions |
13 a regular expression matcher and submit a document containing the answers for the questions |
14 below. You can do the implementation in any programming language you like, but you need |
14 below. You can do the implementation in any programming language you like, but you need |
15 to submit the source code with which you answered the questions. However, the coursework |
15 to submit the source code with which you answered the questions. However, the coursework |
16 will \emph{only} be judged according to the answers only. \bigskip |
16 will \emph{only} be judged according to the answers. \bigskip |
17 |
17 |
18 \noindent |
18 \noindent |
19 The task is to implement a regular expression matcher based on derivatives. The implementation |
19 The task is to implement a regular expression matcher based on derivatives. The implementation |
20 should be able to deal with the usual regular expressions |
20 should be able to deal with the usual regular expressions |
21 |
21 |
69 \end{itemize} |
69 \end{itemize} |
70 \newpage |
70 \newpage |
71 |
71 |
72 \subsection*{Question 1 (unmarked)} |
72 \subsection*{Question 1 (unmarked)} |
73 |
73 |
74 What is your King's email address (you will need it in the questions below)?\bigskip |
74 What is your King's email address (you will need it in the next question)?\bigskip |
75 |
75 |
76 \subsection*{Question 2 (marked with 1\%)} |
76 \subsection*{Question 2 (marked with 1\%)} |
77 |
77 |
78 Implement the following regular expression for email addresses |
78 Implement the following regular expression for email addresses |
79 |
79 |