Task 3: Constant data can also be declared as a Java interface. Any class that implements such an interface can use the constants declared in it without any qualifications. Redesign the example application with the ConstantDataManager as an interface. Use below class diagram for help. Address save () | <> V Constant DataManager final ACCOUNT_DATA_FILE:String ="ACCOUNT.TXT" final VALID_MIN_LNAME_LEN: int 2 save () final ADDRESS_DATA_FILE:String="ADDRESS.TXT" final VALID_ST_LEN: int =2 final VALID_ZIP_CHARS: String = "0123456789" final DEFAULT_COUNTRY: String="USA" final CC_DATA_FILE:String="CC.TXT" final VALID_CC_CHARS: String = "0123456789" final MASTER: String ="MASTER" final VISA: String ="VISA" final DISCOVER: String ="DISCOVER" ↑ I | <> Credit Card save () <> Account save ()
Q: What skills must someone possess to become a computer engineer?
A: Answer:
Q: DNS (Domain Name Servers) are a crucial component of the architecture of the Internet. A…
A: Given: In point of fact, DNS stands for (Domain Name Server).
Q: In what ways does Assembly Language define data and symbolic constants?
A: Each intrinsic data type that Assembly Language defines describes a collection of values that can be…
Q: What does it mean to use naming conventions when using C++ to call external assembly language…
A: Name embellishment: A common technique used by the C++ compiler, a name decoration involves adding…
Q: What port does HTTP utilize, and what does HTTP stand for?
A: Answer is in next step.
Q: How many simultaneous errors can a parity bit detect in a message?"
A: Answer is in next step.
Q: Do you understand what "assembly language" refers to?
A: Answer:
Q: Is the string "ababab" is generated by the grammar: S⇒ SaSbS & Not accepted O Skip Accepted
A: Some strings can be generated by this grammer is given below: aabbabaabbabab ababab abaababbab…
Q: w protocol assures the encryption and security of HTTP-based communi
A: Lets see the solution.
Q: The telephone network, the oldest and most-famous (wired) communication network in the world,…
A: Introduction: The method of splitting up huge quantities of data into smaller parts and sending them…
Q: Why would someone use assembly language?
A: Let's understand this thing step by step Assembly language is also called as the machine coding.…
Q: What are the advantages and disadvantages of open source databases?
A: Definition: Products created to be used, modified, and shared by the general public are referred to…
Q: Exists a central hub on the Internet, despite its many control points? Is this the case or not?
A: The solution is given in the next steps for your reference.
Q: DNS (Domain Name Servers) are a crucial component of the architecture of the Internet. A…
A: DNS: Internet domain names are located and the translated into Internet Protocol (IP) addresses…
Q: What varies the duration between bytes in asynchronous transmission?
A: Asynchronous transmission is the process of transmitting data without the use of an external clock…
Q: Explanation of HTTP, the difference between non-persistent and persistent HTTP, and the functioning…
A: Hypertext Transfer Protocol (HTTP) is the full version of HTTP: The most recent iteration of the…
Q: What are three innovative and intriguing Internet of Things applications that spring to mind?
A: Introduction: 1.Organization of pedestrian and vehicle traffic2. Environment protection 3. a city…
Q: Differentiate between code included inside a sequence structure and code contained within an if…
A: Code with sequence structure : A sequence structure is a set of statements that execute in the…
Q: How often will proper and thorough responses be provided? It has been downvoted if it lacks a…
A: Introduction: A collaborative, distributed hypermedia information system uses the Hypertext Transfer…
Q: Is the string "ababab" is generated by the grammar: S➜ SaSbS & O Not accepted O Skip O Accepted
A: Given grammer is: S -> S a S b S | E
Q: What is the computerized equivalent of compressed Post Office Protocol?
A: Given: A user client programme may utilise the Post Office Protocol to get access to a mailbox…
Q: The mail server may decide the kind of email protocol a client is able to send and receive. IMAP is…
A: The TCP/IP protocol SMTP (Simple Mail Transfer Protocol) is used to transmit and receive e-mail. Due…
Q: What links Assembly Language, Java, and C++ together?
A: Answer:
Q: List three specialist IT jobs and explain what these jobs entail.
A: Introduction:- Duties and responsibilities of an IT specialistAlthough an IT specialist's position…
Q: Task 1: The OrderManager class built during the example discussion does not define a constructor.…
A: ANSWER:-
Q: Today, authentication, authorization, and accounting (AAA) are fundamental components of almost all…
A: Introduction Let's first try to understand these terms before moving on: Verification: - It is a…
Q: What if there was a single protocol for communication that covered all issues? What sort of action…
A: Computer network: A computer network is a collection of connected computer systems or computer nodes…
Q: How does assembly language function in the real world, and what is its formal definition?
A: An assembly language is a type of low-level programming language.
Q: How quickly do Ethernet LANs typically carry data?
A: Introduction: Examine how your devices are connected in terms of network speed. If you're delivering…
Q: Irregular language is language that O Skip O Doesn't have feature has feature
A: A language that cannot to be defined by the regular expression is a nonregular language or the…
Q: What is the difference between FTP and TFTP? Explain your rationale. When is it appropriate to use…
A: File transfer protocol FTP is defined as the set of rules that is governing the transfer of files…
Q: Write codes in Jupyter notebook as required by the problems. Copy both code and output as screen…
A: Please refer below for your reference: According to the company guidelines we are restricted to…
Q: Hexadecimal has a function, but what is that function? Explain why hexadecimal is a crucial system.
A: Please find the detailed answer in the following steps.
Q: Is it feasible to use a repeater device to duplicate electrical signals from one Ethernet to…
A: A repeater device is used to duplicate electrical signals from one Ethernet to another. A repeater…
Q: What function does the MSC serve in GSM?
A: This duty is also known as an anchor position in a mobile switching station, or MSC. Explain the…
Q: Why does the time between bytes change during asynchronous transmission?
A: Answer: The amount of time that passes between each byte in an asynchronous transmission might vary.…
Q: What is the maximum number of digits that may be used in the Octal System?
A: This question comes from Number System which is a paper of Computer Science. Let's discuss it in the…
Q: How does the Domain Name System (DNS) function? Please provide an example and a detailed…
A: Definition: Early in the 1980s, the first Domain Name System (DNS) debuted. It is a network of…
Q: Exists a central hub on the Internet, despite its many control points? Is this the case or not?
A: The answer for the above mentioned question is given in the below steps for your reference.
Q: How often will proper and thorough responses be provided? It has been downvoted if it lacks a…
A: Introduction: A collaborative, distributed hypermedia information system uses the Hypertext Transfer…
Q: Computer programming use the binary number system.
A: Here in this question we have asked that computer programming uses the binary numbers system.
Q: How has the use of ICT improved education? Which of the following are examples of information and…
A: Introduction: What are the benefits of information and communication technologies in education ICT…
Q: What are the job qualifications for a system administrator?
A: System administration: A system administration is an important IT professional who is responsible…
Q: Describe in detail the attributes of the Python file for the pandas library.
A: Definition: Python is actually one of the simplest programming languages. It is a programming…
Q: What is a private network's URL? Is it possible for a datagram destined for a private network to…
A: A private network is the computer network which is using the private address space of IP address.…
Q: What links Assembly Language, Java, and C++ together?
A: Assembly language is a low-level programming language designed to interface directly with the…
Q: What are the job qualifications for a system administrator?
A: Introduction: Functions of a System AdministratorResponsible for ensuring that computer…
Q: As the internet of things continues to expand, what three exciting new uses are becoming feasible?
A: Introduction: IoT is now a flourishing technological industry. With the aid of modern gadgets and…
Q: Why does the time between bytes change during asynchronous transmission?
A: Given: What factors contribute to the variation in the amount of time that elapses between each byte…
Q: Partial Question 3 Consider: class A { } public void doA() { } class B extends A { } public void doB…
A:
Step by step
Solved in 4 steps with 2 images
- Project in Java programming language : Choose an enterprise and do a business description of it. 1-2 pages. Create all classes for entities. All classes must have at least a constructor, get and set methods for all private variables and a toString method. Create classes also for connection entities (e.g. orders, reservations, etc.) All information should be saved in files. When opening the program, all information from files must be loaded in array lists. Use an array list for every class. The program must have at least one menu where the user can choose the operations to work. You should at least have one class that inherits from another class. You should have at least one interface that is extended by at least 2 classes. You must use the interface methods in your program. You are allowed to use the GUI for this project. If not use JOptionPane You are allowed to use databases, instead of files.Overview:A new bank wants to make a simple application to keep track of all accounts and transactions.In this TMA, it is required to help the bank manager implement the required application.Requirements:After a quick meeting with the bank manager, you got the following information: It is required to store all bank accounts in one collection and all the transactions happenedin another collection. Each account has a unique account number, a holder and balance. There is a specific prefix(common for all accounts) that should be added to the holder's civil id to create the uniqueaccount number. In addition, it is not allowed for a holder to have more than one account.Furthermore, only three transactions are allowed on any account: deposit, withdrawal andtransfer money to another account. Each holder has a unique civil ID (national id), a name and other attributes (add at least 2attributes from your choice). For each transaction, it is required to store the account(s) affected, amount of…Using JAVA An account record has the following:Account nameAccount surnameAccount numberAccount typeInterestBalance Create an AccountRecord class, complete with accessors and mutators (get and set methods) for theinstant variables as well as the toString method for formatting the object.The Account Record class must have an abstract method called calculateinterest A savings account must have a minimum balance of R500 and has an annual interest of 5%, If thebalance is greater than R10000 the annual interest is 7% and if the balance is greater than R50000 theannual interest is 8%An investment account must have a minimum balance of R100000 and the annual interest is 9%,Withdrawals cannot be made on an investment account.A check account can have a minimum balance of RO. The annual interest is 2% if the balance is greaterR20000. If the balance is greater than R100000 the annual interest can be 4%Each of the subclasses must have at least two constructors.The savings account, investment…
- Using JAVA An account record has the following:Account nameAccount surnameAccount numberAccount typeInterestBalance Create an AccountRecord class, complete with accessors and mutators (get and set methods) for theinstant variables as well as the toString method for formatting the object.The Account Record class must have an abstract method called calculateinterest A savings account must have a minimum balance of R500 and has an annual interest of 5%, If thebalance is greater than R10000 the annual interest is 7% and if the balance is greater than R50000 theannual interest is 8%An investment account must have a minimum balance of R100000 and the annual interest is 9%,Withdrawals cannot be made on an investment account.A check account can have a minimum balance of RO. The annual interest is 2% if the balance is greaterR20000. If the balance is greater than R100000 the annual interest can be 4%Each of the subclasses must have at least two constructors.The savings account, investment…Overview: A new bank wants to make a simple application to keep track of all accounts and transactions. In this TMA, it is required to help the bank manager implement the required application. Requirements: After a quick meeting with the bank manager, you got the following information: It is required to store all bank accounts in one collection and all the transactions happened in another collection. Each account has a unique account number, a holder and balance. There is a specific prefix (common for all accounts) that should be added to the holder's civil id to create the unique account number. In addition, it is not allowed for a holder to have more than one account. Furthermore, only three transactions are allowed on any account: deposit, withdrawal and transfer money to another account. Each holder has a unique civil ID (national id), a name and other attributes (add at least 2 attributes from your choice). For each transaction, it is required to store the account(s) affected,…Overview:A new bank wants to make a simple application to keep track of all accounts and transactions. In this TMA, it is required to help the bank manager implement the required application.Requirements:After a quick meeting with the bank manager, you got the following information: It is required to store all bank accounts in one collection and all the transactions happened in another collection. Each account has a unique account number, a holder and balance. There is a specific prefix (common for all accounts) that should be added to the holder's civil id to create the unique account number. In addition, it is not allowed for a holder to have more than one account. Furthermore, only three transactions are allowed on any account: deposit, withdrawal and transfer money to another account. Each holder has a unique civil ID (national id), a name and other attributes (add at least 2 attributes from your choice). For each transaction, it is required to store the account(s) affected,…
- Suppose that an application declares an array of class objects with the following statement: Employee[] employees = new Employee[9]; Write a loop that creates 10 instances of the class and assigns them to the elements of the array.The class Name consists of 4 instance data, String title, String first, String middle, and String last. The class has a constructor that is passed all 4 String values and initializes the class appropriately. It has 4 methods and each returns one of the four instance data, called returnTitle (), returnFirst(), returnMiddle and returnLast(). Name [] addressBook = new Name[100]; is performed. It is then used to store n entries (n is an int). Write a method that is passed 4 String parameters corresponding to the title, first, middle, and last of Name, and finds this Name in addressBook and returns the index of where this Name was found, or -1 if the Name was not found. Assume that addressBook stores n entries (n is an int).Write a back–end class called TUTTable and save it in a file called TUTTable.cpp. This class must have the following structure:Private MembersData Type Name DescriptionTUTCell cTableData[ ][ ] This member will store the cells of the table. It must contain 30 rows and each row should be able to store 100 cells.int cNumberOfRows This member will store the number of rows that contain data.int cNumberOfColumns This member will store the number of columns that contain data.Public MethodsReturn Type Method Signature DescriptionTUTTable() A constructor that must initialise the cNumberOfColumns and cNumberOfRows to zero.TUTTable(const TUTTable &refTable) A copy constructor that must copy the data from the received class to its data members.At the beginning of this method insert the following debug instruction:if (Debug::ACTIVE) {Debug::log("TUTTable","TUTTable","BEGIN of method");} At the end of this method insert the following debug instruction:if (Debug::ACTIVE)…
- class User:def __init__(self, first_name, last_name, user_id, last_login, password):self.first_name = first_nameself.last_name = last_nameself.user_id = user_idself.last_login = last_loginself.password = passworddef describe_user(self):print(f"Accessing user {self.user_id}:")print(f"{self.first_name} {self.last_name} last logged in on {self.last_login}")def greet_user(self):print(f"Welcome to the jungle {self.first_name} {self.last_name}, you gonna die")def new_login(self, month, day, year):if month < 1 or month > 12:print("That is not a valid month")returnif day < 1 or day > 31:print("That is not a valid day")returnif year < 0:print("That is not a valid year")returnmonths = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]month_name = months[month-1]self.last_login = f"{month_name} {day}, {year}" Hard-Code: # hard-coded callsjim =…Create the StockTask1 Java project Create a Stock object class that contains the following information: The symbol of the stock is stored in a private string data field called symbol. The stock's name is stored in a private string data field called name. previousClosingPrice is a private double data area that stores the stock price for the previous day. currentPrice is a private double data area that stores the stock price at the current time. A constructor for creating a stock with the given symbol and name. For the data fields, there are accessor methods (get-methods). For the data fields, there is a mutator method (set-methods). A method named getChangePercent()that returns the percentage changed from previousClosingPrice to currentPrice. Formula:perc_change = (current price - previous closing price) / previous closing price x 100 Create a test class named testStockthat creates a Stockobject with the stock symbol SUNW, the name Sun Microsystems Inc., and the previous closing…Develop a Java application that implements Remote Method Invocation (RMI) for the Pearson Institute of Higher Education. The application should allow the user to enter their details to a user interface and these details should then be saved to a database. The Java application must consist of the following: A database:The database should be called registrants, and should have a table called students with the following table properties: idNumber, name, surname, age, cellnumber, degree; A server object interface:This interface should be called ConnectInterface and must have a method called Insert() which will be used to insert the parameters obtained from the GUI. ConnectionImplement class:o The class should be called ConnectionImplement and should implement the ConnectInterface interface.o It should have a method to get the all the student details from the GUI and populate them to the registrants database using the method defined in the ConnectInterface interface.o The method should…