COMP 105 Programming Languages: Functional Program

$20 Bonus + 25% OFF

Securing Higher Grades Costing Your Pocket?
Book Your Assignment at The Lowest Price
Now!

Students Who Viewed This Also Studied

COMP 105 Programming Languages

Questions:

Learning outcome assessed
• Write programs using a functional program ming language Purpose of assessment The assignment is to implement a maze game late Submission Penalty UoL standard penalty applie.

Important: Please read all of the instructions carefully before starting the assignment Introduction. In this assignment, you will implement a maze game. Before starting, Windows users should download a3windows.zip from the module webpage, while Mac and Linux users should download a3unix.zip. Both files contain the same data:
• Main.hs. This is a template file with stub code for each question, and with some helper code from Lecture 25 that you may use in the assignment.
• maze2.txt through maze6.txt are small mazes that you can use for testing, ranging from 2 × 2 through 6 × 6 in size.
• maze-big-1.txt through maze-big-4.txt are larger mazes that you can use for testing.

The mazes are represented by ASCII art, and can be seen by opening one of the files For The maze is composed of square tiles, and each tile is either a wall or a corridor. The character represents the wall tiles, while the space character represents the corridor tiles. You can assume that the outer edge of the maze is surrounded by walls, as in the example above. You can also assume that all corridors are exactly one tile wide.

The game will allow the player to explore the maze. The player will be represented by the character, and will be able to move around the maze using the keys “wasd”, as described in The player can walk through corridors, but not through walls The assignment. In parts A and B you will implement the maze game, as described above. Unlike Assignments 1 and 2, there are no restrictions on the functions you can use. Use whatever techniques you think appropriate.

Parts A and B combined are worth 60% of the marks for the assignment, which is equivalent to a 2:1 mark. Part C should be attempted by ambitious students who want to push for 100%. The task in part C is to write a program that finds and displays the path from the top-left corner of the maze to the bottom-right corner of the maze.
Marking Marks will be awarded for correct function implementations only. No marks will be gained or lost for coding style. If you have a non-working function that you would like to be looked at by a human marker, then include the following comment above the function.

Please make sure that the comment is exactly as shown above including capitalization. Functions that do not include this comment will be marked by the automated marker only. If you have multiple non- working functions that you would like to be looked at, then please include the comment above each one.Do not include the comment above working functions – no extra feedback will be given for those other than what is produced by the automated marker.

Since your functions will be called from the automated marker, please make sure that you follow these guidelines:
• Your code should compile and load into ghci without errors. (Warnings are fine).
• You should not alter the type signatures in the template file in any way.
• You should leave the stub error-message implementation in the template file if you have not answered a question. If you remove this implementation, and then later decide to comment out your code because it does not compile, then please reinstate the original stub implementation.

There will be a 5% penalty for any submission that does not follow these guidelines. You can use the checker file (see the section at the end of this document) to check whether your submission will get this penalty.If you have some code that does not compile, but you would like the marker to see it, then comment out the code, and explain in another comment what the code is supposed to do. Remember that you will need to reinstate the stub implementation after you comment out your code, or the file will still fail to compile.

Academic Integrity. The work that you submit for this assessment must be your own. The University takes plagiarism very seriously, so you should not collude with another student, copy anyone else’s work, or plagiarise from other sources.The standard university late penalty will be applied: 5% of the total marks available for the assessment shall be deducted from the assessment mark for each 24 hour period after the submission deadline. Late submissions will no longer be accepted after five calendar days have passed.

COMP 105 Programming Languages

Answer in Detail


Solved by qualified expert

Get Access to This Answer

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

20 More Pages to Come in This Document. Get access to the complete answer.

Why only students from Australia, UK and USA, rather our exclusive assignment help services persuade learners from the entire globe. MyAssignmenthelp.com employs handpicked writers to tailor the assignments as par your needs. Chat live with our writer’s team and resolve your homework queries right there! Our content is processed through series of quality check to guarantee 100 percent fresh and superior assignments. Unlimited revisions and free amendments polish the assignments to match the benchmark. We make sure our customers are always protected, so is your information. Our customer service team is online 24×7 a day to let you enjoy hassle free services according to your convenience. Get our academic Assignment Help in three easy steps. Place your order, make the payment and get ready to receive!

More COMP105 COMP 105 Programming Languages: Questions & Answers

Management

Question 1.    Binary Search Tree and Linked ListImplement a recursive method named FindNodeValuesAtLevel that inputs a binary search tree and a level (non-negative integer), and outputs a linked list of all the nodes at this level in the binary search tree. Use the linked list and bi …

View Answer

CIS7026 Business Process and Data Analysis

Question:
This assessment is designed to demonstrate a student’s completion of the following Learning Outcomes:
Critically evaluate, and reflexively apply, methods, techniques and tools for assessing, controlling and improving organisational processes (number 1 in the module descriptor) …

View Answer

11492 Mobile Technologies

Task:
Submission: Submit a compressed file that contains your entire Android Studio project to the submission box for Assignment 2 on Canvas site of this unit. Email submission is not accepted.
Late submission: 5% of the total marks (i.e. 0.75 mark) per day. 
Total marks: 15 
   Handling all …

View Answer

programming language

Requirements: 
1)Read through Stage 2: Program Development to obtain details of the requirements of this program. 
2)Write an algorithm that describes how the program will operate.   
a.All program requirements must be included, even if you do not end up including all these re …

View Answer

Content Removal Request

If you are the original writer of this content and no longer wish to have your work published on Myassignmenthelp.com then please raise the
content removal request.

Choose Our Best Expert to Help You

Brendan Berg

I have successfully completed my graduation in Biochemistry from Trinity College.

900 – Completed Orders

Hire Me

Still in Two Minds? The Proof is in Numbers!

33845 Genuine Reviews With a Rating of 4.9/5.

Management

Essay: 3 Pages, Deadline:
1 day

I am glad about the service. they answer all your questions well, and the team is respectful. they are excellent at writing essays with fast delivery.

User ID: 7***54 Canada

Project Management

Assignment: 8 Pages, Deadline:
20 days

I am pleased with the marks I received on this particular assignment. Thank you!

User ID: 6***97 United Kingdom, Great Britain

Accounting

Home Work: 14 Pages, Deadline:
10 days

Got a good grade. Nice work. Had support until the delivery of assignment and delivered work a few days before than promised.

User ID: 7***68 United Kingdom, Great Britain

Electronics

Home Work: 5 Pages, Deadline:
7 days

I am so satisfied. Great job. Recommended. Fast delivery and smart experts……

User ID: 8***52 United Kingdom, Norway

Nursing

Assignment: 4.8 Pages, Deadline:
8 days

It was very well structured and all the instructions were followed.. The order was also completed on time. minimal grammatical mistakes.

User ID: 7***50 United Kingdom, Australia

Psychology

Home Work: 2 Pages, Deadline:
1 day

This is a really good service, It is rare to have them miss the assignment. I always come back with at least an 85

User ID: 4***21 Charlotte, United States

Psychology

Assignment: 1 Page, Deadline:
1 day

This is a really good service, It is rare to have them miss the assignment. I always come back with at lease an 85

User ID: 4***21 Charlotte, United States

Maths

Assignment: 2 Pages, Deadline:
4 days

helped me so much when I was at a time crunch, and they really pulled through for me

User ID: 5***12 Charlotte, United States

Statistics

Assignment: 5 Pages, Deadline:
12 days

Great service and perfect work and fast feedbacks as well i have no doubt in the work

User ID: 2***25 Khobar, Saudi Arabia

Marketing

Assignment: 1 Page, Deadline:
6 days

Got help from this expert for this assignment. I got an A and was very pleased with the help and grade. Will use again.

User ID: 5***56 San Francisco, United States

Property Law

Assignment: 12 Pages, Deadline:
12 days

Just received very good marks. Very happy with his service. Answer all questions nicely and all require points are included and good eassy writing sty …

User ID: 6***34 San Francisco, Singapore

Project Management

Assignment: 6 Pages, Deadline:
1 day

I got my assignment delivered before the deadline, and it was an excellent job done.

User ID: 8***21 San Francisco, Nigeria

Healthcare

Assignment: 0 Pages, Deadline:
22 hours

great work and need more concise and explanation, provide feedback as soon as possible

User ID: 8***48 San Francisco, Saudi Arabia

Management

Essay: 4 Pages, Deadline:
2 days

I was impressed with the adjustment made to the report to suit the APA 7 edition style with citations for all answers.

User ID: 8***17 San Francisco, United States

Marketing

Assignment: 8 Pages, Deadline:
21 days

Thank you once again excellent paper, will use service again, extremely efficient understood the requirements.

User ID: 7***88 Melbourne, Australia

Economics

Course Work: 4 Pages, Deadline:
6 days

Thank you for the constant support and understanding and work towards my project

User ID: 8***56 Melbourne, Canada

English

Essay: 8 Pages, Deadline:
10 days

the expert who worked on this assignment did a great job of following all the instruction I provided for this assignment and delivered it perfectly. G …

User ID: 3***04 Melbourne, Bahrain

Finance

Programming: 2 Pages, Deadline:
23 hours

Good not bad. But if the solution with more analysis and explanation will be great

User ID: 8***49 Melbourne, Saudi Arabia

Management

Assignment: 6 Pages, Deadline:
5 days

Perfect work was delivered by the expert, I have been using my assignment help for quite some time now and it has been very helpful in providing excel …

User ID: 8***14 Mississauga, Canada

Chemistry

Assignment: 1 Page, Deadline:
5 days

Assignment was completed as requested! Was very organized and neat. Included all the parts!

User ID: 2***50 Kitchener, Canada

Management

Essay: 3 Pages, Deadline:
1 day

I am glad about the service. they answer all your questions well, and the team is respectful. they are excellent at writing essays with fast delivery.

User ID: 7***54 Canada

Project Management

Assignment: 8 Pages, Deadline:
20 days

I am pleased with the marks I received on this particular assignment. Thank you!

User ID: 6***97 United Kingdom, Great Britain

Accounting

Home Work: 14 Pages, Deadline:
10 days

Got a good grade. Nice work. Had support until the delivery of assignment and delivered work a few days before than promised.

User ID: 7***68 United Kingdom, Great Britain

Electronics

Home Work: 5 Pages, Deadline:
7 days

I am so satisfied. Great job. Recommended. Fast delivery and smart experts……

User ID: 8***52 United Kingdom, Norway

Nursing

Assignment: 4.8 Pages, Deadline:
8 days

It was very well structured and all the instructions were followed.. The order was also completed on time. minimal grammatical mistakes.

User ID: 7***50 United Kingdom, Australia

Psychology

Home Work: 2 Pages, Deadline:
1 day

This is a really good service, It is rare to have them miss the assignment. I always come back with at least an 85

User ID: 4***21 Charlotte, United States

Psychology

Assignment: 1 Page, Deadline:
1 day

This is a really good service, It is rare to have them miss the assignment. I always come back with at lease an 85

User ID: 4***21 Charlotte, United States

Maths

Assignment: 2 Pages, Deadline:
4 days

helped me so much when I was at a time crunch, and they really pulled through for me

User ID: 5***12 Charlotte, United States

Statistics

Assignment: 5 Pages, Deadline:
12 days

Great service and perfect work and fast feedbacks as well i have no doubt in the work

User ID: 2***25 Khobar, Saudi Arabia

Marketing

Assignment: 1 Page, Deadline:
6 days

Got help from this expert for this assignment. I got an A and was very pleased with the help and grade. Will use again.

User ID: 5***56 San Francisco, United States

Property Law

Assignment: 12 Pages, Deadline:
12 days

Just received very good marks. Very happy with his service. Answer all questions nicely and all require points are included and good eassy writing sty …

User ID: 6***34 San Francisco, Singapore

Project Management

Assignment: 6 Pages, Deadline:
1 day

I got my assignment delivered before the deadline, and it was an excellent job done.

User ID: 8***21 San Francisco, Nigeria

Healthcare

Assignment: 0 Pages, Deadline:
22 hours

great work and need more concise and explanation, provide feedback as soon as possible

User ID: 8***48 San Francisco, Saudi Arabia

Management

Essay: 4 Pages, Deadline:
2 days

I was impressed with the adjustment made to the report to suit the APA 7 edition style with citations for all answers.

User ID: 8***17 San Francisco, United States

Marketing

Assignment: 8 Pages, Deadline:
21 days

Thank you once again excellent paper, will use service again, extremely efficient understood the requirements.

User ID: 7***88 Melbourne, Australia

Economics

Course Work: 4 Pages, Deadline:
6 days

Thank you for the constant support and understanding and work towards my project

User ID: 8***56 Melbourne, Canada

English

Essay: 8 Pages, Deadline:
10 days

the expert who worked on this assignment did a great job of following all the instruction I provided for this assignment and delivered it perfectly. G …

User ID: 3***04 Melbourne, Bahrain

Finance

Programming: 2 Pages, Deadline:
23 hours

Good not bad. But if the solution with more analysis and explanation will be great

User ID: 8***49 Melbourne, Saudi Arabia

Management

Assignment: 6 Pages, Deadline:
5 days

Perfect work was delivered by the expert, I have been using my assignment help for quite some time now and it has been very helpful in providing excel …

User ID: 8***14 Mississauga, Canada

Chemistry

Assignment: 1 Page, Deadline:
5 days

Assignment was completed as requested! Was very organized and neat. Included all the parts!

User ID: 2***50 Kitchener, Canada

Have any Query?
Reference no: EM132069492

WhatsApp
Hello! Need help with your assignments? We are here

GRAB 25% OFF YOUR ORDERS TODAY

X