Updated August XXXXXXXXXXof 12 D e p ar tm e n t o f C o m p u te r Sc ie n ce TABLE OF CONTENTS Main Objective of the assessment...

Task 3


Updated August 2019 1 of 12 D e p ar tm e n t o f C o m p u te r Sc ie n ce TABLE OF CONTENTS Main Objective of the assessment ........................................................................................................................ 1 Description of the Assessment .............................................................................................................................. 1 Learning Outcomes and Marking Criteria ............................................................................................................ 10 Format of the Assessment ................................................................................................................................... 11 Submission Instructions ....................................................................................................................................... 11 Avoiding Plagiarism.............................................................................................................................................. 12 Late Coursework .................................................................................................................................................. 12 Assessment Title Software Design and Implementation Module Leader Lela Koulouri Distribution Date 1 December 2019 Submission Deadlines 31 January 2020, 11:00 (Software Design) 6 March 2020, 11:00 (Software Implementation) Feedback by 17 April 2020 (Software Design) 17 April 2020 (Software Implementation) Contribution to overall module assessment 100% (CS1809 - Software Design) 100% (CS1810 - Software Implementation) Indicative student time working on assessment 200 Hours Page Limit 20 pages (Software Design report) 8 pages (Software Implementation report) Assessment Type (individual or group) Individual MAIN OBJECTIVE OF THE ASSESSMENT This assignment is used to assess your abilities to design and implement a computer program as a solution to a problem, and your ability to communicate your solution. This assignment consists of two elements; that is, Software Design and Software Implementation. The Software Design element contributes 100% to the grade in CS1809 Software Design. It is assessed by your tutor. The Software Implementation element contributes 100% to the grade in CS1810 Software Implementation. It is assessed by a member of the teaching team through a ‘VIVA’ event. In the VIVA, you will demonstrate and explain the computer program that you have implemented. DESCRIPTION OF THE ASSESSMENT Each member of the group is expected to design an algorithm and implement a Java program for one of the finch robot tasks described below. Each member of the group must choose a different task. Task 1: Search for Light The purpose of this program is to make your finch robot wander around and search for a light source. To start the program, the finch should be placed level on the floor. This should make the finch, first, turn the LED colour in its beak to yellow, and, then, start moving forward at a low speed. When the finch encounters light, it should change the LED colour to red and it should start following the light. CS1701 Level 1 Group Project: CS1809 Software Design & CS1810 Software Implementation Assignment 2 – Software Design and Implementation Updated August 2019 2 of 12 D e p ar tm e n t o f C o m p u te r Sc ie n ce The brighter the light is, the more red the beak should be. If the finch has not encountered a light source for 4 seconds, it should stop for half a second and change direction 90 degrees to either left or right. Then, it should start searching again. The program should stop when the user picks the finch up and places it on its tail. Before the program terminates it should ask the user whether it should display the log of the execution. If the user responds ‘Yes’, the program should display the following information: - The left and right light sensor values at the beginning of the execution. - The highest light sensor value recorded during the execution. - The lowest light sensor value recorded during the execution. - The average light sensor value recorded. - The duration of the execution. - The number of times the finch detected light. This program can be implemented using a Graphical User Interface (for example, windows, buttons, textboxes, drop-down menu, etc.) or a console user interface (input and output printed in the console). This description includes the required, core functionalities of the program. However, marks will also be awarded for additional functionalities that you have come up with. The additional functionalities should be useful and ingenuous and showcase your software development skills. The additional functionalities should not replace or conflict with the required functionalities of the task. Task 2: Draw Shape The purpose of this program is to make your finch robot draw a shape. The finch should be able to draw squares and triangles. It is possible to attach a pencil to the finch, preferably close to the wheel that is not moving, and get a decent- looking drawing. To start the program, the finch should be placed level on the floor. When the program starts, it should ask the user to enter a shape for the robot to draw (square or triangle), or to quit the program, using one of the following three commands: S (to draw a Square) T (to draw a Triangle) Q (to Quit and write log file) If ‘S’ is entered, the user should be asked to enter the length of the square side. The length of the side should be a positive integer number (between 15 and 85 cm). If the user enters invalid values, the program should inform the user about the type of error and ask them to re-enter the value. If ‘T’ is entered, the user should be asked to enter the length of the three sides of the triangle
Mar 03, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here