Reference no: EM132365914
Introduction
Assessment Tasks 1 and 2 comprise parts of the one project. These require you to design, develop and test software related to a task allocation problem in which a parallel program is partitioned into a set of independent tasks and these task need to be allocated to a set of
processors such the amount of energy consumed is minimised.
1. In brief, Assessment Task 1 focuses on designing, developing and testing a new program such that it is able to:
• Validate/invalidate the two data files related to configuration and task allocations.
• Validate/invalidate allocations that are described in the allocations file.
• Compute and display the amount of energy consumed by each allocation.
• Display each allocation.
You will be provided with valid input data files, and invalid input files. These files and their format descriptions can be found in the ZIP file called Assessment Task 1.
2. In brief, Assessment Task 2 requires you to focus on:
• Designing, developing and testing a cloud solution.
• Loading data from a configuration file to compute an allocation of tasks such that the amount of energy consumed is valid and is the lowest that you can achieve.
• Optimisation techniques.
• Computing and displaying the amount of energy consumed by the allocation.
• Displaying the allocation.
• Ensuring that this new allocation is valid.
Objectives
The main objectives for Assessment Task 1 are:
1. Design and develop a new program to work with the two input data files. Their formats are described in the following sections:
• Task Allocation file format (.tan)
• Configuration file format (.csv)
2. Design and develop many unit tests.
3. Code to conventions and standards.
Testing Requirements – Unit Tests
Your software solution for Assessment Task 1 requires testing. You must design and develop several unit tests for the following functionality.
1. Computing the runtime of a task allocated to an N GHz processor.
2. Computing the energy consumed by a task allocated to an N GHz processor.
3. Computing the runtime of an allocation.
4. Computing the energy consumed by an allocation.
5. Validating an allocation.
6. Validating the configuration file.
7. Validating the allocations file.
Attachment:- Assessment.rar