CMT304 Programming Paradigms Assignment

Assignment Help Other Subject
Reference no: EM132401146

CMT304 Programming Paradigms Assignment - Cardiff University, UK

Assessment Title - Logic and Functional Programming

Learning Outcomes Assessed - Discuss and contrast the issues, features, design and concepts of logic and functional programming.

Assignment - Consider the following situation:

Patent requests are submitted to the patent office and are reviewed by the technical board. Each patent request is verified and discussed by a group of technical board members chosen by the head of the board. To find a good match between patent request and referees, every member of the technical board submits a bid that classifies all requests that need to be reviewed into four categories depending on their expertise: EXPERT, KNOWLEDGEABLE, FAMILIAR or INEXPERT

The goal is to write a program to automated this process to help the head of the board. Using a list of bids, indicating the level of expertise for each patent request and board member, it should assign each submitted patent request to a specific number of n members of the technical board such that

- the workloads of the technical board members are approximately equal, that is, do not differ by more than m;

- no member of the technical board is required to review a submission that is placed in the INEXPERT category;

- no member of the technical board is required to review more than k submissions from the FAMILIAR category;

- the total number of cases when a submission is assigned to a member who placed it in the EXPERT category is as large as possible.

The parameters n, m and k are arguments set when calling the program.

Task 1: Write a functional or logic program (in Haskell or ASP) which finds all solutions to the problem, given n, m, k and the list of bids in a suitable format. Make sure you document your code so it is clear how it should be used and what the approach to solving the problem is. Also include your name and student id in the comments. Note, there is no 'correct' programming paradigm to solve this problem. The representation of the problem can be specific to the programming language used.

Task 2: Write a short report on logic vs. functional programming related to the problem:

1. Provide, in up to 300 words, two arguments for and two arguments against using logic programming to solve the problem.

2. Provide, in up to 300 words, two arguments for and two arguments against using functional programming to solve the problem.

3. Justify, in up to 300 words, your choice of programming paradigm, based on your previous arguments.

The word limits are an upper limit, not a target length. Text longer than the word limit for each point will be ignored. Clearly mark each argument in your answer and indicate if it is for and against. Only provide two arguments for and against for the first two points; additional arguments will be ignored.

Reference no: EM132401146

Questions Cloud

Ratio of the marginal product of labor : In the production function Q = 10(L^1/2)*(K^1/2), calculate the slope of the isoquant when the entrepreneur is producing efficiently with 9 laborers and 16 unit
When the wage it pays its workers falls : (a) When the wage it pays its workers falls, what happens to the level of output it supplies?
How you could incorporate the use of technology : Discuss how you could incorporate and implement the use of technology to create a blended professional learning community across districts within your state.
Elimination of dominated strategies : (a) How many rows can be eliminated by iterated elimination of dominated strategies?
CMT304 Programming Paradigms Assignment : CMT304 Programming Paradigms Assignment Help and Solution - Cardiff University, UK. Title - Logic and Functional Programming
Create three professional goals and describe them : Teachers who are dedicated to their profession and to improving the lives of students will continually look for ways to grow and learn. The best way to ensure.
Equilibrium when only the old technology existed : Next, a "new" technology is developed which lowers min AC to AC = $600, but raises minimum efficient scale to 40,000 units.
What strategies can you use to convince yourself to exercise : If you do not currently exercise: Discuss reasons why you don't exercise. What strategies can you use to convince yourself to exercise?
Calculate the point price elasticity at a price : 1. Calculate the point price elasticity at a price of $14 EP = (?Q/?P) *(P/Q) = (-1.5) *(14/3) = (-1.5) *(4.667) = -7.001

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd