Home » 2. Design a class definition named Account that contains:(No need coding) • An int data field named id for

2. Design a class definition named Account that contains:(No need coding) • An int data field named id for

Question 2. Design a class definition named Account that contains:(No need coding) • An int data field named id for the account.• A double data field named balance for the account.• A double data field named annualInterestratethat stores the current interest rate.• A no-argument constructor that creates a default account with id 0, balance 0, and annualInterestRate0.• The necessary functions for id, balance, and annualInterestRate. • A function named getMonthlyInterestrate() that returns the monthly interest rate. • A function named withdraw() that withdraws a specified amount from the account.• A function named deposit() that deposits a specified amount to the account.(10 marks)

Computer Science1. In this assignment, you-will set up a simple representation of the Hive game “board”. Use C :2. Create-a hiveboard.h
Computer Science1. In this assignment, you-will set up a simple representation of the Hive game “board”. Use C :2. Create-a hiveboard.h file.Representing and outputting Hive boardEmpty board:One row:qQ2 rows:qQ AInserting to the left of the boardaqQ AInserting above the board BaqQ A3. What must be completed:A simple 2-dimensional array of char is fine.Because the pieces must stay connected and there is a total of 22 pieces (11 on each side), you can actually declare static dimensions of 22 by 22 (of course, define 11 or 22 as a constant so you can use named constants)If you choose this option, you will sometimes need to shift the pieces in the array. To reduce the complexity of the logic, you only need to worry about inserting above and/or to the left of the existing piecesAlternatively, you can dynamically allocate your array (remember that for 2-d arrays, you must allocate an array of pointers to arrays, then allocate an array for each row). Then, if you insert a piece above or to the left of the existing pieces, you allocate a new array and copy into the new array.Note how the output alternates rows that “lean” left (start in the first column) and those that lean right (start in the 2nd column).This is something the board needs to store. It is part of how we represent theNote how the row with “aqQ” always leans leftHiveboard.cpp driver file:#include #include “hiveboard.h”using namespace std;/**Test driver of Hive board*/int main(){HiveBoard board;cout << "Hive board" << endl << endl;cout << "Empty board:" << endl;cout << to_string(board);board.insert(0, 1, 'Q');board.insert(0, 0, 'q');cout << "One row:" << endl;cout << to_string(board);board.insert(1, 1, 'A');cout << "2 rows:" << endl;cout << to_string(board);board.insert(0, -1, 'a');cout << "Inserting to the left of the board" << endl;cout << to_string(board);board.insert(-1, 2, 'B');cout << "Inserting above the board" << endl;cout << to_string(board);return 0;} PROGRAMMING LANGUAGE: C SUBJECT: DATA STRUCTURES AND ALGORITHMSNOTE: QUESTON MUST BE DONE USING C CLASSES NOT STRUCTURESThis question need to be PROGRAMMING LANGUAGE: C SUBJECT: DATA STRUCTURES AND ALGORITHMSNOTE: QUESTON MUST BE DONE USING C CLASSES NOT STRUCTURESThis question need to be implemented using the concept of Doubly Linked List this question needs to be implemented using separate headers and cpp filesthe header files in this will be node.hDlist.hThe cpp files in this will be node.cppDlist.cppdriver.cppQUESTION:Implement the (class) Doubly Linked List to make a list of integers. You need to provide the implementation of the member functions as described in the followingclass Node{int data;Node *next;Node *prev;Node();~Node();};class DList{private:Node * head; public:DList(); bool emptyList(); // Checks if the list is empty or notvoid insert_after(int oldV, int newV); //Inserts a new node with value ‘newV’ after node with value ‘oldV’in the list If a node with value ‘oldV’ does not exist, does not insert the new node.void insert_begin(int value); // Inserts a new node at the start of the listvoid insert_end(int value); // Inserts a new node at the end of the listvoid delete_Node(int val); // Deletes a node of value ‘val’ from the listvoid traverse(); // Displays the values stored in the list};In the driver make proper menu like press 1 to insert at beginning press 2 to insert at end press 3 to insert after press 4 to delete node press 5 to traverse press 6 to check if list is empty or not and press 8 to exit Write turtle graphics program that given 2 sets of coordinates will draw a complete bipartite graph. In a complete bipartite Write turtle graphics program that given 2 sets of coordinates will draw a complete bipartite graph. In a complete bipartite graph, lines connect all the points in one set with all the points in the other set. In the following example, there are lines connecting all the dots on the left with all the dots on the right. Hint 1: This is yet another case where you need to get all combinations of items in 2 sets — you should know a general way to do it. Hint 2: Be careful when the pen is up or down — you should avoid having the turtle draw lines that you do not intend.Test your program using the following 2 lists of X and Y coordinates:coord_list_1 = [[-200,200],[-200,90],[-50,-20]]coord_list_2 = [[50,200],[50,170],[300,90],[50,30],[50,0],[50,-13],[50,-73]]It is suggested that you use the turtle.setposition(X,Y) method to draw each lineThe graph should look approximately like the following image (this drawing uses the sample coordinate lists): Make a C program that will ask the user to input one integer value. It will identify if the inputted Programming Assignment Writing ServiceMake a C program that will ask the user to input one integer value. It will identify if the inputted value will be odd or even number. If it’s an odd number, the program will get the sum of all the digits of the inputted value. This task will be performed by the function “odd( )”. It means all the source related to getting the sum of all digits can be seen here.for example :Inputted value is 223.2 2 3= 7The sum of all digit is 7.If it’s an even number, the program will get the difference of all the digits of the inputted value. This task will be performed by the function “even( )”. It means all the source related to getting the difference of all digits can be seen here.for example :Inputted value is 224.2 – 2 -3= 7The sum of all digit is -3.The only task perform by the main() function is to ask for the inputted value. 1 Class Definitions1a) Write Java class called IdentityCard to represent the information on the identity card of a member Question 1 Class Definitions1a) Write Java class called IdentityCard to represent the information on the identity card of a member of an organisation. Forexample a UWA student card. Include brief comments in your classdefinition as necessary, but full Javadoc is not required. State anyassumptions you make. The class should have:• four fields that capture the person’s name, identity number, photo,and whether the person is a current member of the organisation;and• a constructor that initialises the fields;• a mutator method for setting the identity number field; it shouldcheck for a reasonable input value;• an accessor method for the identity number field.1b) Write Java class called DoorAccess for managing all thepeople with access to a particular room or building. For example,all UWA student card holders with access to the Computer Sciencebuilding. This class should have:• one field to store all the IdentityCards of students with access toa building;• a constructor that initialises this field;• a method that takes one identity card as argument and removesit from the list, returning true if the card was removed and falseif the card was not present;• a method that searches for a particular student number in theaccess list and returns that card if found, or null otherwise. This is the question that I am having trouble with: Make a DiceRolls application that displays five rolls of two This is the question that I am having trouble with: Make a DiceRolls application that displays five rolls of two dice where each die is numbered from 1 to 6. The application should also show the total of each roll:Dice 1 Dice 2 Total 6 1 7 6 4 10 3 3 6 3 5 8 3 1 4I’m just confused as to what methods I should use to code this. Need help with the below assignment:BELOW IS A SCREENSHOT ON HOW TO USE THE TURTLE! THIS IS ONLY TO HELP Need help with the below assignment:BELOW IS A SCREENSHOT ON HOW TO USE THE TURTLE! THIS IS ONLY TO HELP DO THE ASSIGNMENT ABOVE – IF THERE IS MISSING DATA FOR THE ABOVE ASSIGNMENT, PLEASE TELL ME WHAT IS NEEDED BECAUSE AFTER READING THE DIRECTIONS SO MANY TIMES, I AM NOT SURE WHAT IS REALLY MISSING! THANK YOU!! In this project you will be developing a class library for account classes that can be used to create two In this project you will be developing a class library for account classes that can be used to create two types of bank accounts. For example, user could use this library of classes to deposit and withdraw money from bank account as well as see the account balance.This set of classes will include Account, Savings, and Checking.Think about the following scenario: A bank determines that there are two specific kinds of bank accounts. Savings accounts have a customer id, balance, interest rate, and overdraft amount. A customer can withdraw an amount of money from the account, but only if they don’t go over the overdraft amount. For example, if the balance is $100 and the overdraft is $200, the customer can withdraw no more than $300. The customer can also deposit an amount of money to the account. An interest amount is added to savings account after certain period (For this project do not think about time, just think about the task). A Checking account has a customer id, balance, and transfer fee. A customer can withdraw an amount of money from the account, but they can’t withdraw more than the current balance. The customer can also deposit an amount of money to the account. Also, every time a withdraw is done from checking account, a transaction fee is applied for it. Notes:Data membersData members’ details are as follows (it is up to you to decide what member goes in which class):§ customer id ( int type): identification number for the customer. Default value 0.§ balance ( double type): keep the balance amount of the account. Default value is 0.§ interest_rate (double type): defines the interest rate which is used to calculate the interest amount on balance of Savings account. (Think about interest is added with the Savings account balance at the end of each month. For this project, you do not need to check whether it is at the add of month. Just have option to add interest with Savings account balance when user want to add it). Default value is 0.§ overdraft (double type): Overdraft amount specify the limit that can be withdrawn from account if the balance is zero or less than the required amount. Default value is 0.§ transactionFee (double type): is the charge applied for each withdrawal from checking account. Default value is 0.ConstructorsEach class should have one default constructor and another constructor with required parameters.Methods: All data members defined in a class require accessor and mutator methods. Mutator methods must throw the appropriate exception object with concise and informative error messages (For example, trying to creat account with negative balance). If not using any acceesor/mutator for a data member then explain that in the documentation.deposit() method is used to deposit amount (passed as argument) in the account. In other words, amount will be added to balance. This method returns nothing. withdraw() method is the abstract method in abstract class ‘Account’ which need to be overridden in each of the subclass. This method withdraws money from account and update the balance. The asked amount would be passed as argument.If withdrawal is not possible then throw exception to show proper message.It returns nothing. addInterest() method: add interest with the current balance. Amount of interest can be calculated using following formula_interest=current balance*interest rateNo return.toString method(): Savings and Checking class should have string representation which return the account name and balance.Your classes must be related as depicted in the diagram below: All three classes must include complet and correct JAVADOC comments. You do not have to actually generate your JAVADOCs, you only need to write the comment code. You must use the techniques shown in class and use proper spelling and grammar. Testing your LibraryYou should test your library to make sure it functions perfectly. Creat a JAR file of your library (you’ll need to submit this anyway) and add it to a new project in NetBeans. Add some code to test each of your three classes and all of their methods. I will be using a similar program to test your JAR file.Submission Follow these instructions carefully!Your submission must follow all the submission requirements outlined in the Submission Standards.It is expected that all code will conform to the industry standards outlined in Java Standards for this Course.Follow these instructins carefully! ZIP of NetBeans Account Class LibraryZIP your NetBeans class library project into a file called loginName_A2.zipThe JAR file of your LibraryFollowing the instructions in the notes on Creating Class Libraries, build a JAR file of your accounts library. The JAR must include all three classes.The name of your JAR file must beloginName_account.jarUpload the JAR file to the drop box in addition to your project zip/rar file. DO NOT add it inside your project zip/rar file – it must be a separate file. DOC file:You should write briefly about your design of classes and screen shots of output when you tested your library. Copy and paste all of your source code from all three of your classes into a Word document (e.g. .DOC). Make sure you include all 3 account classes.Upload All 3 FilesSubmit your assignment to the Assignment 2 drop box in SLATE. Upload the ZIP, the JAR file, and the doc file separately. EvaluationYour submission will be evaluated based on the following criteria: Criteria Functionality Data members, constructors, accessors / mutators and other methods are written as per mentioned requirements and are functioning properly. The JAR file works with a project that includes code to instantiate and use the various Account classes Code Efficiency Program logic is written concisely and is not cluttered with unnecessary tasks or statements; program structures are correct and done in the most efficient way possible. Appropriate variable names used and proper data types used. Method syntax is correct and methods are coded according to specifications. Uses concepts and techniques discussed in class. Programming Style: Code uses proper indentation and spacing. Use of comments/documentation. Adheres to programming standards. Misc. All other instructions were followed, including submission instructions above. Techniques discussed in class have been used.

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more