UAE Assignment Help
  • home
  • services

    services

    • Academic Writing Service
    • Essay Writing Help
    • Homework Help
    • Dissertation Writing Services
    • Research Paper Help
    • Thesis Writing Help
    • Coursework Help
    • Case Study Help
    • Report Writing Help
    • Assignment Proofreading Services
    • Business Plan Writing Services

    premium writing services

    • Paying For Dissertation Writing
    • Research Proposal Writing
    • Buy Homework Online
    • Solve my Homework Help
    • Buy Assignment Online
    • Write My Essay
    • Solve My Assignment
    • Write my Assignment
    • Do My Assignment Online
    • Instant Assignment Help
    • CIPD Assignment Help

    special writing services

    • Book Review Writing Help
    • Literature Review Writing Services
    • Critical Thinking Assignment Help
    • Online Exam Help
    • UAE University Assignment Help
    • BTEC Assignment Help
    • College Essay Help
    • Global Assignment Help
    • Cheap Assignment Help
    • Scholarship Essay Writing Help
    • Reflective Essay Writing Help
  • questions
  • samples
  • blog
  • experts
  • reviews4.5/5
Hire A WriterLog In

/

Questions

/

computer-science

/

DAM101 Programming and Algorithms Final Assessment 2026

Looking For Plagiarism Free Answers For Your UAE College/ University Assignments.

BUY NOW

DAM101 Programming and Algorithms Final Assessment 2026

UniversityCity St George's, University of London
SubjectDAM101 Programming and Algorithms

DAM101 Final Assessment

The final assessment for this module consists of 5 Questions. Please read each of the questions carefully and you should attempt ALL of the questions. The marking rubric can be seen on the assessment page on Canvas.

Submission Requirements

  • Code should be submitted in the .ipynb format.
  • Submit one code file per question (4 code files total, 1 for each of the questions 2-5).
  • Report should be submitted in the .pdf format.

Documentation Requirements

  • Comments and docstrings should be concise.
  • Comments and docstrings should have a consistent format throughout the solutions.
  • Comments should explain the function of the code written.
  • Each function must include a docstring that explains the purpose of the function, parameters and the return value.
  • Variable and function names must be descriptive and follow a consistent naming style, but maximum 25 characters.

Tasks

1) As you complete Questions 2 to 5 below, maintain notes on your design decisions, challenges, and solutions. Refine and submit these as a single reflective report (maximum 1000 words).

For each of Questions 2 to 5, your report must clearly address the following:

i) Explain the reasoning behind the coding decisions you made. This may include the choice of algorithms and data structures, structure of the code or other design decisions.

ii) Reflect on any difficulties faced while completing the question. Explain how these were identified and resolved.

iii) Your report must be supported with evidence, including code snippets and screenshots. For example, these could show the errors encountered or unexpected results.

iv) You must reference relevant video lectures and the textbook to justify or contextualise your coding decisions. For video lectures, include the week number, lecture number and approximate timestamp. For example:

“I decided to use the len() function to find the number of elements in the list (block 4, lecture 3, 1:35-2:35).”

Use an appropriate academic referencing style for textbook citations. For example:

“I decided to use f-strings approach for string formatting (Speight, 2020, p. 59).”

You should include references both in the text and also in a reference list at the end.

[16 marks]

2. i) Write a function that takes a sequence of integers from user input using the function in appendix A and stores them in a tuple.

ii) Write a function that takes a tuple of integers ‘my_tuple’ and an integer ‘k’, and returns the element whose difference from k is the smallest. If two values are equally close, return both.

iii) Write the code to test the code in parts i) and ii). Use 5 as the value of ‘k’.

iv) Document the code in parts i), ii) and iii) as detailed in the Documentation Requirements.

[8 marks]

3) In this task you will need to use the insertion sort algorithm code from Block 8 Lecture 4.

i) Modify the insertion sort algorithm to sort strings in descending order and print the state of the list after every swap is performed.

ii) Write all of the output produced in part i) into a text file named ‘sorting_strings.txt’.

iii) Test the code with the following list of numbers:

[‘by’, ‘the’, ‘just’, ‘this’, ‘work’, ‘sad’, ‘ant’, ‘ten’, ‘trick’, ‘bus’]

iv) Document the code in parts i), ii) and iii) as detailed in the Documentation Requirements.

[8 marks]

4) In this task you need to take input from a text file and process it.

i) Create a function that reads the contents of the file called ‘text.txt’ using the function in Appendix B.

ii) This function should then check if any of the strings in the text file contain duplicate characters. The function should return a tuple of strings that contain the duplicate characters.

iii) Write code to test the function and you can use the following text for the ‘text.txt’:

Donec vitae magna rutrum ipsum mattis auctor. Pellentesque ultrices elit malesuada massa tincidunt venenatis. Mauris neque diam, fringilla vel nulla in, euismod posuere mauris. Ut molestie odio eget lorem luctus, quis consequat sem maximus. Praesent at molestie nibh. Proin sed hendrerit orci.

Vestibulum venenatis ipsum sit amet pretium maximus. Etiam nisi ipsum, vehicula a placerat ac, viverra sit amet mi. Donec tristique justo pharetra, placerat sapien ac, sollicitudin lectus. In ut porta sem.

iv) Document the code in parts i), ii) and iii) as detailed in the Documentation Requirements.

[8 marks]

5) You are given the following dictionary:

Cookware Appliances Utensils

Frying Pan

24.99

Microwave

89.99

Spoons Set

5.50

Saucepan

19.99

Toaster

29.99

Fork Set

6.50

Wok

29.99

Blender

49.99

Knife Set

12.99

i) Write a program that stores the data above using three dictionaries. Print the categories and items within them in an easy to read format. After printing, display a message confirming that all food categories have been successfully created.

ii) Write a function called ‘find_average’, which takes the category name as an argument and returns the average (mean) price of items in this category.

iii) Write a function called ‘add_product’, which takes ‘category’, ‘name’ and ‘price’ as arguments and adds the appropriate entry in the dictionary.

IV) Write the code to test the function in part ii) using the following two names: ‘Utensils’, ‘Containers’ (wrong category).  Write code to test the function in part iii) choosing appropriate values.

v) Document the code in part i) as detailed in the Documentation Requirements.

[8 marks]

Do You Need Assignment of This Question
Order Non Plagiarized Assignment

Get help by expert

Do you also find it difficult to work with text files, duplicate characters and dictionaries in your DAM101 programming and algorithms final assessment? Each question needs working code, testing and proper documentation, so small errors can become frustrating. UAE Assignment Help offers computer science assignment help for students facing these challenges. Get a personalised, expert-written solution based on your assessment requirements and make your coding work easier to manage.

w-full answer-bgRequest Answer Of This Assignment

Recent solved questions

  • DAM101 Programming and Algorithms Final Assessment 2026
  • HRM09105 Leadership in Organisations Assessment Brief 2026 | ENU
  • MKT09401 International Marketing Assignment Brief 2026 | ENU
  • CM2045 Professional Practice for Computer Scientists Coursework Brief 2026 | University of London
  • FIN4813 International Finance Assessment Brief 2026 | Middlesex University Dubai
  • 7CO02 People Management and Development Strategies for Performance Assignment Brief 2026
  • 7CO01 Work and Working Lives in a Changing Business Environment Assignment Brief 2026
  • CIPS Level 4 Module 3 Commercial Contracting Assignment Brief 2026
  • CIPS Level 4 Module 2 Defining Business Need Assignment Brief 2026
  • CIPS L4M1 Scope and Influence of Procurement and Supply Assignment Brief 2026
sample image
Hire An Assignment Writer

Add attachments

quick links

  • free sample papers
  • student reviews
  • our writers
  • about us
  • contact us
  • FAQs
  • privacy policy
  • terms & conditions
  • knowledge blog
  • higher college of technology
  • khalifa university
  • zayed university UAE

subjective help

  • economic assignment help
  • accounting assignment help
  • business management help
  • computer science assignments
  • english assignment help
  • engineering assignment help
  • finance assignment help
  • corporate law assignment help
  • law assignment help
  • management assignment help
  • heriot-watt university dubai
  • american university of sharjah
  • marketing assignment help
  • nursing assignment help
  • science assignment help
  • business law assignment help
  • biology assignment help
  • healthcare assignment help
  • leadership assignment help
  • MBA assignment help UAE
  • human resource assignments
  • gulf medical university UAE
  • dubai medical college

UAE cities

  • abu dhabi
  • fujairah
  • ajman
  • sharjah
  • al ain
  • dubai
  • ras al khaimah

The Reference papers provided by the UAE Assignment Help serve as model and sample papers for students and are not to be submitted as it is. These papers are intended to be used for reference and research purposes only.

Note: Prices & delivery time mentioned on website are for reference purpose only, may vary depending on the technicality, word count, and expertise required.

Disclaimer: UAE Assignment Help provides academic assistance to students so that they can complete their university assignments and projects on time. Our business does NOT deal with ghostwriting services as we are aware of this being one of the academic misconducts. But we do help students by connecting them to online subject experts within an affordable price range. Also, if you're looking for high-quality resources such as journals and articles, pdf files, videos, research papers, e-books, and other secondary literature to write your assignment task, then we can certainly help you out. UAE Assignment Help is not sponsored or endorsed by any college or university. All trademarks, logos and brand names are the property of their respective owners. All university related assistance services, materials and their names used in this website are for identification purposes only. Use of these names,trademarks and brands does not imply endorsement.

© Copyright 2026 @ UAE Assignment Help. All Rights Reserved