Answer:
(Assuming Java)
public ArrayList diff(ArrayList list1, ArrayList list2) {
ArrayList<Integer> union = new ArrayList<>();
for (int element : list1) {
union.add(element);
}
for (int element : list2){
if (!union.contains(element)) {
union.add(element);
}
}
return union;
}
Explanation:
Create an ArrayList that has the union of list1 and list2.
First for loop copies all elements into the union array list.
Second for loop adds all elements that are not yet in the union arraylist to the union arraylist.
(Keep in mind that I assume that you mean a mathematical union, so no duplicates. If this is not what you mean, remove the if statement in the second for loop)
Answer:
UDP has more control as compare to TCP in terms of data and time.
a. In terms of data, an application has more control in UDP as compare to TCP, in terms of confidentiality and security of Data. As UDP use the process of encapsulation to secure the information, this will cause that UDP will know that what data is sent.
b. UDP has the ability to control the flow of data and traffic congestion control, while TCP has no congestion control which causes extra delays in application. Due to this reason UDP has better control over time to send the data.
<em>We can say that, UDP has better control than TCP.</em>
Answer: D
Explanation: You don't need to give money, information, or watch any inappropriate content on the gov website. It's safe and all you do is read.
A word processor program is a software that can be used to create, edit and print documents.
Answer:
The answer is E, Social media information system.
Explanation:
What makes the answer unique is the fact that the system only supports information shared within a specific group of local network users.
By definition, Social media information system is an information technology tool that assists in the reversible distribution of information or digital content among people of like and similar network.