We write, we don’t plagiarise! Every answer is different no matter how many orders we get for the same assignment. Your answer will be 100% plagiarism-free, custom written, unique and different from every other student.
I agree to receive phone calls from you at night in case of emergency
Please share your assignment brief and supporting material (if any) via email here at: [email protected] after completing this order process.
No Plagiarism Guarantee - 100% Custom Written
In this paper, you are required to complete 4 tasks. In task 3 you must write a JAVA program using JAVA FX that displays five (5) playing cards. And in task 1 provide the required state and functionality for the subject class. Furthermore, in task 2 you are required to provide complete class definitions and then create instances of various classes and use methods to perform various tests. And finally, task 4 requires you to 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.
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 is to create subject class and test its properties, Task 2 is to create a number of classes and then test their properties, Task 3 is to display a frame using GUI, and Task 4 is to investigate on various programming paradigm.
Task 1
Value: 8 marks
For this task you will create a Subject class, whose instances will represent the subjects for study at a university. A subject will have a name, just a String (for example, Programming in java 1), and a subject code (for example, ITC206), which is a six-character String. The first three characters of a subject code are alphabetic and the last three are numeric. The first three characters define the subject`s discipline area. A subject code must be unique.
You will also write a TestSubject class to test the use of your Subject class. In particular this will maintain an array of subjects. In order to manage the uniqueness of the subject codes, your program will need to display information about existing subject codes as well as checking that any new subject code supplied by the user is not the same as any existing subject code.
The following state and functionality should be provided for the Subject class:
To assist with managing subject codes and their uniqueness you will provide the Subject class with some class methods as follows:
Your TestSubject program will perform the following sequence of actions, using good design techniques such as in the appropriate use of methods:
Note:
Task 2
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 Textbook with the following fields and methods
(b) Define a subclass of the Textbook class called ProgrammingTextbook with the following additional field and methods:
(c) Define another subclass of the Textbook class called EngineeringTextbook with the following additional field and methods:
(d) Finally, define another class called TestTextbooks with a main() method to perform necessary testing for the classes defined in the previous sections. In the main method, write the code to create at least two objects of the ProgrammingTextbook class and at least two other objects of theEngineeringTextbook class. Create an ArrayList object to store references to these objects and then test various methods of the objects using loop(s) and methods as necessary.
Ensure that the program is appropriately documented throughout and thoroughly tested to demonstrate its correct operation.
Task 3
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 a Joker card 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
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:
Marking criteria
These criteria will be used to evaluate Assignment 3:
Marking guide of the specific tasks:
Presentation
Material to submit for Task 1
Material to submit for Task 2
Material to submit for Task 3 1. You need to submit the java and class files 2. You also need to submit a doc/pdf file with following information:
Material to submit for Task 4