<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://ocw.cs.pub.ro/ppcarte/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://ocw.cs.pub.ro/ppcarte/feed.php">
        <title>books fp:exam2021</title>
        <description></description>
        <link>https://ocw.cs.pub.ro/ppcarte/</link>
        <image rdf:resource="https://ocw.cs.pub.ro/ppcarte/lib/tpl/bootstrap3/images/favicon.ico" />
       <dc:date>2026-05-05T13:46:16+03:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=fp:exam2021:l1&amp;rev=1622110708&amp;do=diff"/>
                <rdf:li rdf:resource="https://ocw.cs.pub.ro/ppcarte/doku.php?id=fp:exam2021:l2&amp;rev=1622724197&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://ocw.cs.pub.ro/ppcarte/lib/tpl/bootstrap3/images/favicon.ico">
        <title>books</title>
        <link>https://ocw.cs.pub.ro/ppcarte/</link>
        <url>https://ocw.cs.pub.ro/ppcarte/lib/tpl/bootstrap3/images/favicon.ico</url>
    </image>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=fp:exam2021:l1&amp;rev=1622110708&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-05-27T13:18:28+03:00</dc:date>
        <title>fp:exam2021:l1</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=fp:exam2021:l1&amp;rev=1622110708&amp;do=diff</link>
        <description>Exam example 1

1. (2p) Write a function in Haskell which returns the last element of a list.

2. (2p) Write a function which removes those strings from a list, which are not in the date format. A correct date format is considered: DD.MM.YYYY where D,M,Y can be any digit.</description>
    </item>
    <item rdf:about="https://ocw.cs.pub.ro/ppcarte/doku.php?id=fp:exam2021:l2&amp;rev=1622724197&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-06-03T15:43:17+03:00</dc:date>
        <title>fp:exam2021:l2</title>
        <link>https://ocw.cs.pub.ro/ppcarte/doku.php?id=fp:exam2021:l2&amp;rev=1622724197&amp;do=diff</link>
        <description>Exam example 2

1. (2p) Write a function in Haskell which extracts all even positions from a list. Example f [1,2,3,4,5] = [1,3,5]

2. (2p) Write a function which takes a list of pairs Name-Age and returns the average age of names called Ana.

3. (2p) Implement an Algebraic datatype which encodes</description>
    </item>
</rdf:RDF>
