a OO
Q: Salesforce Email Template Please desgin a VF Page Email Template In the Salesforce Email Template to...
A: Below is the simplified code for the above listed problem statement:
Q: List all integers between-100 and 100 that * .are congruent to -1 modulo 25
A: [11:29 AM, 6/20/2021] Vicky Dimri: See content below Concept used: Let m be a positive integer. The ...
Q: Q2. Whenever we write our code, we face many problems relating to the variables that we declare,init...
A: Principle of proximity: This principle states that we move-related objects to close proximity. For e...
Q: If the optimal solution of a linear programming problem with two constraints is x=5, y=0, s1=3 and s...
A: Given that, The two constraints is x=5, y=0, s1=3 and s2=0.
Q: The Ethernet is a distributed LAN protocol, meaning that no centralized control node is available an...
A: step: 1 of 3 Centralized LAN protocol
Q: What is the difference between computers today and those that existed in the 1950s’?
A: The Computers during the 1950s and 60s were not a family thing as they are currently for clear reaso...
Q: Data structures and algorithms Please help
A: We need to calculate the hash index for the keys using Mid square hashing method.
Q: Im suppose to calculate this by using t- test
A: Given that Im suppose to calculate this by using t- test
Q: Instructions: Circle T if the statement is true, F if the statement is false, or write the best answ...
A: Given: Instructions: Circle T if the statement is true, F if the statement is false, or write the be...
Q:
A: In 8086 microprocessor , pins from 16 to 2 i.e,AD0 to AD14 and pin-39 :AD15 ,pin-38:A16/S3,pin-37: A...
Q: In the following graph imply the Depth First search algorithm and Find out ( * Depth First path? Sta...
A: Answer to the above question is in step2.
Q: Can you explain why some transport-layer packets may be lost in the Internet?
A: GIVEN: Can you explain why some transport-layer packets may be lost on the Internet?
Q: Instructions: Circle T if the statement is true, F if the statement is false, or write the best answ...
A: Given statement: The software program used in an expert system in conjunction with the knowledge bas...
Q: Write a pricing algorithm for item A and the amount you bought. The algorithm shows the cost, includ...
A: 1) Read the item A price from the user 2)Read the amount brought from the user
Q: java
A: PROGRAM CODE: import java.io.*;import java.util.*;abstract class Employee{String name;int salary;i...
Q: How can we use an ARQ algorithm to broadcast a message? So how can we transmit the same message to 1...
A: Broadcast a message using ARQ algorithm
Q: Why are the purpose of TRAIN LAW being realized/implented?
A: Given:- Why are the purpose of TRAIN LAW being realized/implented?
Q: .Normalization the table below to 3NF to overcome the problems in it DID Pname Alpha Beta Dname EID ...
A: We need to convert the given table into the 3NF normal form.
Q: write the answer step by step Write a note on D Latch. Differentiate between Latches and flip-flops
A:
Q:
A: Given data is shown below:
Q: Identify which employee category is supervised by business managers and which information systems th...
A: Operational managers include supervisors, supervisors, office managers and other managers that super...
Q: Instructions: Circle T if the statement is true. F if the statement is false, or write the best answ...
A: Lets see the solution.
Q: Computer Science Question
A: NOTE - As per our guideline we are supposed to solve one question from multiple questions, so please...
Q: Java - Object Oriented ProgrammingPlease solve urgently
A: Q
Q: Instructions: Circle T if the statement is true, F if the statement is false, or write the best answ...
A: Two factor authentication
Q: If BT is of order 2x3 and BA is order 3x4, then A is of the order
A: Given that If BT is of order 2x3 and BA is order 3x4, then A is of the order the order for BT is 2x3...
Q: ANSWER THE FOLLOWING QUESTIONS
A: Note: Answering the first question as per the guidelines. 6. JDBC API : JDBC is the standard framew...
Q: In the decryption of ciphertext using Vigenere table the key letter will determine the ................
A: I have given an answer in step 2.
Q: Question #3.: List the truth table, draw logic circuit without simplification, simply using K-Map me...
A:
Q: (c) Given the following structure definition to be implemented using a queue: struct PrintList { str...
A: (i)The two pointers declarations are: struct PrintList* front=NULL;struct PrintList* rear=NULL;
Q: Find the inverse of the following: а. f(x) %3D 10х? — 9 7x+18 b. g(x) = 2
A: Given data is shown below:
Q: By using the Optimal algorithm, how many page faults can a system with 3 frames find on reference st...
A: The correct option is as follows:-
Q: using System; class Program { publicstaticvoid Main(string[] args) { int number = 1; while (number &...
A: The given problem is already solved in C# language where the odd numbers from 1 to 88 are generated ...
Q: You decide to improve the user authentication system so it can works by recognizing the user based o...
A: You decide to improve the user authentication system so it can works by recognizing the user based o...
Q: Answer this problem in matlab
A: while loop structure while <condition> <body of while loop> end power in matlab an...
Q: develop a new Physical File called STUMAS (Student Master) with Record Length 30 in your Library, us...
A: A hereditary calculation (GA) is a technique for addressing both obliged and unconstrained improveme...
Q: Instructions: Circle T if the statement is true, F if the statement is false, or write the best answ...
A: Given statement : Using usernames and passwords is a data validation technique.
Q: In the given 4-to-1 multiplexer, if c1 = 0 and co = 1 then the output M is Select one: O a. X3 O b. ...
A: Here in this question we have given a multiplexer with some input and we have to tell the output M....
Q: The output of the following is __.List<String> name = new List<string> { "Jane", "Sue", ...
A: - The given code :: List<String> name = new List<string> { "Jane", "Sue", "Annie" };n...
Q:
A: PROGRAM CODE: #include <iostream> #include <cmath> using namespace std; double pow1(do...
Q: Let a network is defined as 200.20.10.118.0/23. You need to divide this network into 4 groups with e...
A: 200.10.118.0/23 /23 means number of network bits is 23 So # of host bits is 9. Total # of subnet req...
Q: I'm trying to write a java program to determine if my favorite number appears in an array. Assume th...
A: I'm trying to write a java program to determine if my favorite number appears in an array. Assume th...
Q: When two transmitters operate on the same frequency in close proximity to each other, cochannel inte...
A: EXPLANATION: The use of same frequency channel by two transmitters, co-channel interference happens ...
Q: Explain each line of the following MATLAB code (including the numerical dimensions used):
A: Explain each line of the following MATLAB code (including the numerical dimensions used):
Q: When do side effects occur in predicates? O A value is not change during evaluation of a predicate O...
A: A value is changed while evaluating a predicate
Q:
A: Create a structure to hold student's data. Define functions to insert, delete, print, sort data. You...
Q: Software engineering
A: required:
Q: I am doing an Access 2019 SAM Project. It is for my CISA 323 online course. I am providing the attac...
A: I am doing an Access 2019 SAM Project. It is for my CISA 323 online course. I am providing the attac...
Q: Suppose we get a message throughout the network using a 56,000 bits per second modem. Also suppose t...
A: The most common encoding is 8N1, which means 10 symbols are sent per 1 byte of the message. The baud...
Q: To count the number of elements in Numpy array count() return() shape() size)
A: count() is used to get the count of specific element in the numpy array. So option a is wrong ------...
Java OOP
Step by step
Solved in 2 steps with 1 images
- provide pseudo-code for raven game loop. class Raven_Game{private:Raven_Map* m_pMap;std::list<Raven_Bot*> m_Bots;//the user may select a bot to control manually. This member//holds a pointer to that botRaven_Bot* m_pSelectedBot;//this list contains any active projectiles (slugs, rockets,//shotgun pellets, etc.)std::list<Raven_Projectile*> m_Projectiles;/* EXTRANEOUS DETAIL OMITTED FOR CLARITY */public://the usual suspectsvoid Render();void Update();The UnsortedTableMap class is located in the maps folder. In the attachment, you will find a partially implemented class called UnsortedMapOfLists, which extends UnsortedTableMap. The values associated with the keys in UnsortedMapOfLists are arrays. So you have an array with each key. Off course you can save an array in the value of UnsortedTableMap class without the class we are going to develop, but our class makes this easier, as it allows using a syntax like this: myMap["somekey", 1] to reach element at index 1 in the array associated with key "somekey". I already implemented methods __setitem__ and __getitem__. Your task is to: implement method __delitem__ . Deletion will be performed for an element in the array. If index is not given, delete the array associated with the key. implement a function (not a method in the class) to swap the arrays associated with two given keys. Add the required comment in method __getitem__. implement a main to verify that your code is working…Create a file named StudentArrayList.java, within the file create a class named StudentArrayList. This class is meant to mimic the ArrayList data structure. It will hold an ordered list of items. This list should have a variable size, meaning an arbitrary number of items may be added to the list. Most importantly this class should implement the interface SimpleArrayList provided. Feel free to add as many other functions and methods as needed to your class to accomplish this task. In other words, the class StudentArrayList must implement the interface SimpleArrayList. You have to write the code for each of the functions specified in the SimpleArrayList interface. Make sure the class that implements SimpleArrayList is named "StudentArrayList" or else the test code will not compile. All of the documentation for the function guidelines may be found in the interface. This assignment can be a lot of programming if you do not follow the DRY (Don't Repeat Yourself) programming principle.…
- Which expression should complete the code for the compareTo method of the following Employee class so that objects of the Employee class in an ArrayList are arranged based on alphabetical ordering of the values of the name attributes if the sort method of the Collections class is used to sort the ArrayList. a. this.name.compareTo(another.getName())b. toString().compareTo(another.toString())c. this.compareTo(another)d. 1e. 0NOTE: DO NOT COPY FROM ANOTHER QUESTION Directions: 1. Show the ArrayStackADT interface 2. Create the ArrayStackDataStrucClass<T> with the following methods: default constructor, overloaded constructor, copy constructor, initializeStack, isEmptyStack, isFullStack, push, peek, void pop 3. Create the PrimeFactorizationDemoClass: instantiate an ArrayStackDataStrucClass<Integer> object with 50 elements. Use a try-catch block in the main( ) using pushes/pops. 4. Exception classes: StackException, StackUnderflowException, StackOverflowException5. Show the 4 outputs for the following: 3,960 1,234 222,22213,780A team member submitted the following code for you to review. Identify at least 5 things that would improve the code: package edu.school; import java.util.ArrayList; import java.util.Collections; public class DriversLicenseRepository extends ArrayList<Object> { public List<Object> updateExpirationDate(License license, Date temp) { ArrayList list = new ArrayList(); for(Object v : this) { if((((License)v.getLicenseNo()) == license.getLicenseNo(){ list.add(v); } } return list; } public void recordVote(Ballot ballot, int voter) { ArrayList newList = new ArrayList<>(); Election election = ElectionManager.getInstance(); for(Object v : this) { if(((Voter)v.id) == voter) { election.addVote(ballot, (Voter)v); } newList.add(v); } clear(); addAll(newList); } public Voter getLicense(String i) throws IllegalArgumentException{ if(get(i) instanceof License) { return get(0); } throw new…
- Java. Using the attached CSV file “att2007.csv” and the CSVReader class from the above Question 2, read the data and compute a summary, such as the maximum, minimum, and average of one of the columns.Suppose you are using a jQuery animation to make an element change color when the user clicks on it, and you also want to execute a function as soon as the animation finishes running. How can you do this? a. Pass the function in as the first argument to theanimate()method called on the element. b. Use anif elseblock with thehasClass()method to determine when to call the function. c. Pass the function in as the final argument to theanimate()method called on the element. d. You cannot accomplish this using jQuery commands.Develop a menu driven application that shall allow user to choose different option numbers to add, search, update and delete users in an ArrayList object. Make a UserService class and implement different methods to perform each operation. These methods shall be called from main metod of UserServiceTest class. The ArrayList shall be defined as private instance variable in UserService, of type ArrayList<User> named users. The User class shall be composed of id, name and city fields. Define a constructor in User class that shall take and initialize id and name fields. Initialize the city field using setCity method. When user choose an option number for search, you shall take a string from user and list all those users id, name ad city where given string appears in user name or city (use some method of String class or StringUtils class from Apache Commons library to match sub-string for search). Search operation shall be performed by a method in UserService class,…
- Guide to working through the project Steps: Write the GradeBook constructor that reads student information from the data file into the ArrayList roster). For now, ignore the grades. Test your GradeBook class before proceeding to the next step. Create the Grade class. Test your Grade class before proceeding to the next step. Modify the Student class to include an ArrayList of Grade. Test the Student class before proceeding to the next step. Finish writing the GradeBook constructor to process the grades as they are read in from the data file. Test the GradeBook class before proceeding to the next step. Add additional functionality to the GradeBook and Student classes one method at a time. Here is Grade.jave code is shown below. public class Grade { // TODO: complete this class as described in this task write-up } GradeBook Class The GradeBook class has a single instance variable roster, an ArrayList of Student. This class performs all operations related to the scores of all…Attach screenshot as need to creating a oddIterator method that returns elements at odd indices. I it.Hello, I've attached the prompt for this assignment. I need help creating code to delete and update in the contactService.java according to the prompt. This is my partial code. package Contact; import java.util.ArrayList; public class ContactService {//Start with an ArrayList of contacts to hold the list of contacts ArrayList<Contact> contactList = new ArrayList<Contact>(); //Display the full list of contacts to the console for error checking. public void displayContactList() { for(int counter = 0; counter < contactList.size(); counter++) { System.out.println("\t Contact ID: " + contactList.get(counter).getContactID()); System.out.println("\t First Name: " + contactList.get(counter).getFirstName()); System.out.println("\t Last Name: " + contactList.get(counter).getLastName()); System.out.println("\t Phone Number: " + contactList.get(counter).getNumber()); System.out.println("\t Address: " +…