ITC538 | Application of Programming in Java | Java

Task

Assessment 3 has 20 marks in total. Marks will be scaled according to the value of the assignment.

Assessment 3 has four Tasks. Task 1, Task 2, Task3 and Task4 as below:

Task 1: Value 5 marks

In this task, you are required to provide the definition of a class called Student, which represents a typical (but a very limited) university student. Each student has a name (which consists of a string of characters) and a unique student identification (ID) number (consisting of a string of exactly six numerical digits).

You are also required to define a class called TestStudent, which will be used to perform a number of test used to among other things, verify the correctness of the Student class.

In order to maintain the uniqueness of the student ID, your program will need to check that any new IDs supplied by the user is not the same as any of the existing student IDs.

Following are a list of specifications of the Student class:

Your TestStudent class should be able to perform the following functions:

Ensure that the program is appropriately documented throughout and thoroughly tested to demonstrate its correct operation.

You need to submit java and class files, a short discussion to explain the logic on how the problem has been solved, and sample output (for detail please see marking criteria and presentation below).

Task 2: Value 8 marks

In this task, you are required to provide complete class definitions and then create instances of various classes and use methods to perform various tests.

(a) Define an abstract class called Staff with the following fields and methods:

(b) Define a subclass of the Staff class called FullTimeStaff with the following additional field and methods:

(c) Define a subclass of the Staff class called PartTimeStaff with the following additional field and methods:

(d) Define another subclass of the Staff class called CasualStaff with the following additional field and methods:

(e) Finally, define another class called TestStaff with a main() method to perform necessary testing for the classes defined in the previous sections. In the main method, write the code to:

(1) create an ArrayList object to store references to Staff objects;

(2) open a text file namedtxt (available on interact resources), which contains data relating to staff members, create FullTimeStaff, PartTimeStaff and CasualStaff objects based on the first field in each row in the file (“full”, “part”, or “casual”);

(3) add these objects to the ArrayList; and (4) test various methods of the objects using loop(s) and methods as necessary, including the code to:

Ensure that the program is appropriately documented throughout and thoroughly tested to demonstrate its correct operation.

You need to submit java and class files, a short discussion to explain the logic on how the problem has been solved, UML diagram, and sample output (for detail please see marking criteria and presentation below).

Task 3: Value 4 marks

Write a Java program using JavaFX that displays five playing cards. In the first row display three playing cards (randomly selected from the first 52 cards). In the second and third rows display two different cards compared to the first row at 45 degree and 90 degree angles respectively.

The image icons used in the questions are available in the Resource folder of Interact2. You may need to use HBox and/or VBox Pane.

Task 4: Value 3 marks

Investigate the imperative programming paradigm, as exemplified by procedural programming and object-oriented programming, and the declarative programming paradigm, as exemplified by functional programming and logic programming.

The Reading from Brookshear, 2012 will form a starting point for your investigation. For further investigation, remember that you should not reference Wikipedia items in an essay, so make sure to find articles that you can reference.

Write an essay, of approximately 800 words, based on your investigation, which provides answers to the following questions:

Your essay should be referenced using the APA referencing style.

Rationale

This assignment has been designed to allow students to test and demonstrate their ability to:

itc538

The Best Assignment help is one of the best website for assignment help. For more details you may contact us at thebestassignmenthelp@gmail.com or call at +447418324884, +918607503827

itc538

visit at : ITC538 | Final Exam Java| Java

Leave a Reply

Your email address will not be published. Required fields are marked *