CMP1902M Programming Fundamentals, Assignment, University of Lincoln

Published: 08 Jan, 2025
Category Assignment Subject Programming
University University of Lincoln Module Title CMP1902M Programming Fundamentals

Learning Outcomes

On successful completion of this component a student will have demonstrated competence in the following areas:

  • [LO1] Identify, select, and apply appropriate data structures and operators in common programming solutions
  • [LO2] Implement control flow with decisions and loops using industry-informed programming practices and professional standards
  • [LO3] Using appropriate knowledge of programming concepts, construct code segments and functions to perform input and output operations with error handling

Description of assessment task

This is Assessment 2 and is an individual assignment that consists of two tasks. Task 1 contributes 20% of the assessment mark and Task 2 contributes 80%. You can use the provided code as a template to help you begin the implementation of the tasks. Please see the Criterion Reference Grid for details of how tasks will be graded.

Task 1 (20%): Number Statistics

In this task, you are asked to write a Python3 script (task1.py) that:

  • Prompts the user to input only positive integer numbers at the terminal (numbers with decimals, negative numbers or characters will not be accepted)
  • Assign those numbers to a list and removes any duplicate numbers and informs the user of the removed duplicates
  • Counts the number of unique numbers in the list.
  • Calculates their product, range and variance
  • Identifies the even and odd numbers from the list and stores them in separate lists. If the list of even numbers is empty, print a message saying "No even numbers were provided." If the list of odd numbers is empty, print a message saying "No odd numbers were provided."
  • Prints all the above information at the terminal

Important: The script should start and end without problems. There should be no ‘crashing’ or ‘unhandled exceptions’ due to erroneous input. The use of any bult-in method that performs the above operations is not allowed. Importing of modules is also not allowed. The code must be commented, including header comments and in- line comments. Comments in the code should follow the PEP8 style. Consideration must be given to the naming convention of variables and function names.

Task 2 (80%): Variant of the Wordle game
Background: Wordle is a word-based game released in 2013 and gained significant popularity since then. In the original version, a user must guess a 5-letter word with six tries. You can play the game here. For this task you are expected to develop a variant of the game as described below

Task: For this task you will have to implement a python3 script (task2.py) with multiple functions and appropriate comments at the code following the PEP 8, that enables a player to play a variant of the Wordle game using only the terminal (graphical user interface is not required) as follows:

Are you facing challenges in completing your CMP1902M Programming Fundamentals Assignment of computer science? we understand that computer science is a technical course so introducing you to our assignment help by UK writers service that provides help for every course and subject across the UK.  Whether you need help with programming assignments such as developing code, understanding algorithms, testing or debugging. We have delivered 500+ projects of python programming assignment help to UK students that are completely satisfying the university standards. You can also get free assignment examples better to understand the structure and requirements of your assignment. If your task involves essay writing about programming concepts, our essay writing services will deliver high-quality, well-structured essays. Let our professionals handle your programming challenges and help you achieve top grades effortlessly!

Workingment Unique Features

Hire Assignment Helper Today!


UA92 BLOCK 6 Data and Decision Making Assessment Brief

UA92 BLOCK 6 Assessment 1: Identify and analyse information and arguments relevant to the contemporary business. Apply quantitative analysis to understand and present complex data to support evidenced-based decision-making.

7HURM001W Global Employment Relations Coursework 1 Assessment Brief Semester 1 | UoW

To achieve this, the assessment has been broadly designed as a module-long mini comparative research project in which students choose a topic to compare across a pair of countries and are required to work on the same comparison throughout the module.

7HURM001W Global Employment Relations Coursework 3 Assessment Brief Semester 1 | UoW

The module assessment is designed to allow students to demonstrate their ability to systematically analyse, explain, and critically discuss similarities and differences between employment relations systems across the world, as well as their comprehension of key conceptual.

BUS3029 Operating in Emerging Markets Assignment 01 Brief 2025 | UON

Propose a detailed plan for how the brand will operate sustainably in the chosen market. Focus on areas such as ethical sourcing and reducing environmental impact. Highlight how these practices align with the brand's values, contribute to competitive advantages, and help the business to grow.

BBSC4103 Assignment: Strategic Supply Chain Management Question Semester 2025 | OUM

BBSC4103 Part 1: The purpose of this assignment is to help learners study the important of strategic alliances by focusing on inter-organisational relationships and the challenges in managing them.

BBHI4103 Industrial Relation Assignment Question | Open University Malaysia

BBHI4103 Part 1: The purpose of this assignment is to enhance learners' ability to discuss the perspectives in industrial relations and evaluate which perspective is the best for the selected organisation

Scientific Research Review Assignment 4 | USM

You are required to write an individual review paper on a topic of advancements in your area of study. This paper must demonstrate your ability to plan, execute, and present a scholarly task ethically and professionally.

BTEC Level 5 Unit 16: Computing Research Project Assignment Part 1 Brief

BTEC Level 5 Unit 16: Assignment Brief: Artificial intelligence is at the forefront of innovation within Computer Science that uses a combination of logic, algorithms and large data sets to produce an AI model.

ACC210 Accounting for Decision Making and Control TMA Assignment Question | SUSS

ACC210 Question 1  Cool Strokes Pte Ltd ("CS") manufactures white board markers for educational use. The company's markers are sold by the box at $50 each in 20x3.

BM414 Financial Decision Making CW1 Assignment Brief (SIG) | BNU

Suppose you are part of the Accounting and Finance team at Sheffield Insulation Group (SIG) plc. You are required to write a report to the senior management team of SIG plc, discussing the importance of accounting and finance functions.

Online Assignment Help in UK