Learning Outcome: CT006-3-3-ADPLC Individual Assignment Page 1 of 3
Learning Outcome: CT006-3-3-ADPLC Individual Assignment Page 1 of 3
LEARNING OUTCOME
• Adapt functional programs to solve computing problems using functional and logic
programming language concepts. (P6, PLO3)
• Explain the features of modern non-strict functional languages by comparing behaviour
against the standards of the paradigms. (C2, PLO1)
OVERVIEW
Programming paradigms can be defined as programming styles in problem solving. In software
programing languages, there are distinct programming paradigms and a set of programming
concepts used in the platforms. In practice, imperative programming like procedural or object-
oriented paradigms are widely used in various programming platforms. Likewise, the declarative
programming such as functional programming and logic programming paradigms can also be
available in modern programming languages. In this assignment, therefore, focuses on
programming paradigms primarily declarative programming paradigms for a specific problem
solving.
REQUIREMENTS
Given the following situations in Task 1, Task 2 and Task 3. Study the scenarios and implement a
GUI-driven computer program in accordance with the requirements. Following that, you are
required to explain the programming concepts used within implementation. Often, the functional
concepts such as purity, side effects, nullable, first-class function / higher order functions, generics,
recursion, currying and partial application, functional composition and etc are considered. Apart
from that, a knowledgebase file consisting facts and/or rules is created in regard of the logic
programming paradigm.
Dataset:
1) time_series_covid19_confirmed_global.csv
2) time_series_covid19_deaths_global.csv
3) time_series_covid19_recovered_global.csv
Source: https://data.humdata.org/dataset/novel-coronavirus-2019-ncov-cases
Consider the given dataset for Novel Corona virus 2019 confirmed cases worldwide. Develop a
computer program using multi-paradigm approach (Object-oriented, functional and logic
programming paradigms) to visualise statistic data covering confirmed cases, death cases and
recovered cases according to the given dataset.
Marks Allocation:
Criteria Marks
1) Display the total confirmed Covid-19 cases according to country 5
2) Compute the sum of confirmed cases by week and month for each country 5
3) Find the highest/lowest death and recovered Covid-19 cases as per country 5
4) Search/locate the country for Covid-19 cases covering confirmed, death 5
and recovered cases.
5) Prepare appropriate data parser package (you may choose any available 5
APIs for working with csv or excel documents)
Sub Total: 25 marks
Marks Allocation:
Criteria Marks
2) Knowledgebase file 5
2) Appropriateness of data structure used 5
3) Appropriateness of Prolog programming for sorting 5
Sub Total: 15 marks
Criteria Marks
1) Explanation of programming paradigms and concepts applied in Task-1 & 5
Task-2.
2) Explanation of the features by strict and non-strict programming languages. 3
3) Quality of explanation 2
Sub Total: 10 marks
DELIVERABLE
SUBMISSION INSTRUCTION
• You are required to submit the assignment report consisting all essential parts as described
in ‘Deliverable’ section at Moodle.
• Deadline: as per specified in Moodle