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

  Create a long-term stress management plan with smart goals

How you felt as a result of incorporating those stress management techniques into your life.

  Identify teaching needs from the health history

Recognize the influence that developmental stages have on physical, psychosocial, cultural, and spiritual functioning. Identify teaching/learning needs from.

  What is state-level charity healthcare policy

Write a paper that addresses the following questions about state-level charity healthcare policy: What is the focus of the overall focus of this policy? Who would receive the greatest benefit of this policy

  Explain what a segmented labor market

Explain what a segmented labor market is, and how "queueing" theory can help explain it. According to How the Other Half Works, which workers are at the top of the hiring queue for the low-wage jobs the authors studied in LA, and why?

  Explain the principles and concepts of disease prevention

Explain the principles and concepts of disease prevention and health promotion for diverse and vulnerable populations.

  What common diseases that result from protein deficiencies

What are two common diseases that result from protein deficiencies? Which of the following does not describe the status of the world's wild fisheries?

  Discuss the development of the domestic building typology

Discuss the development of the domestic building typology in early American settlement. What architectural styles do you see carried over to this new continent?

  Health care product with four p

Select a health care product you are familiar with and define the four Ps' product, place, price, promotion?

  Modest success in the treatment of narcolepsy

Which of the following has been used with modest success in the treatment of narcolepsy? Our visual acuity will be best when a ganglion cell

  Discuss weight management and exercise

Is the weight hysteria in our culture valid, or is it created by groups with special interests, such as the pharmaceutical industry, researchers

  Develop the format and framework for final project

Develop the format and framework for your final project. Your submission should be a single document which includes: APA formatted Title Page.

  Campus diversity

During the last couple of decades, colleges and universities have tried to increase their number of minority students by various forms of affirmative action. At Campus X, this has led to no small amount of dissension.

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