عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
  #1  
قديم 28-05-2011, 01:04 AM
الصورة الرمزية ford_gt

ford_gt ford_gt غير متواجد حالياً

جامعي

 
تاريخ التسجيل: Dec 2009
التخصص: cs
نوع الدراسة: إنتظام
المستوى: الرابع
الجنس: ذكر
المشاركات: 32
افتراضي mr.ahmed تكفى اشرحلي مافهمت


CPCS 203: Object Orientated Programming with Java
Project 2 Assignment for May 30, 2011
This project assignment worth 5% of the overall module marks (100%).
The deadline for this assignment is 1pm on (Monday) 30th of May, 2011. This project has to be submitted ONLINE via your teacher Email. If the work is not receive by the cut-off time, it will be consider as not attempted and will be given zero, unless justifying circumstances is proven.
You will be given 10 minutes to demonstrate your project. Questions will be asked related to the working of your project (program).
The details for this project assignment are as follows.

In continuation with the project 1 (Robot), Improve the reliability of code by incorporating exception-handling and assertion mechanisms in your project by adding the following.
a) [Improving the reliability of code]- Each method must check for the validity of the data passed to it for processing, method must throw proper exception in case if data provided is mismatch or wrong given.

b) [Use of Assert]- Re-write Move Method (Move the robots around the room in different directions), method must use assert statement (“Collision Detected, Serious Error – There is already a Robot present at given Location", if found already a robot present at given location.

c) [Multiple Robots using Array]- Use the concept of Array of Objects to create multiple Robots in your main class.

d) [Search For Robot]- Write a search method to check if you have any robot present at given X and Y coordinates.

e) [Usage of Javadoc] - Writing comments are the best, most effective way to document your Program, use java utility called javadoc to write you comment and generate Class documentation automatically from source code in conjunction with specially formatted documentation comments, more commonly known as doc comments.



Note: For detail robot functionality, refer to the Project 1.
رد مع اقتباس