] Write a Java program to build an integer HashSet from scratch without using any built-in hash libraries. Your program should include these functions: a. insert (value): Insert any integer of your choice into the HashSet. b. contains(value) : Check the HashSet for the "value". Return "True" if the particular integer exists in the HashSet else return "Hey Nothing there".

Answers

Answer 1

Answer:

Explanation:

The program was written in Java, it created the HashSet and the two seperate functions. Each of the functions uses the created HashSet and input values from the user to perform the appropriate actions on the HashSet. While also returning or printing the values if needed. The program has been tested and can be seen in the attached image below. Due to technical difficulties I have added the code as a txt file below as well.

] Write A Java Program To Build An Integer HashSet From Scratch Without Using Any Built-in Hash Libraries.

Related Questions

3. Coaxial/telephone cable sends
during the data transmission
signal

Answers

Answer:

high frequency signal.

In database a record is also called a

Answers

Explanation:

hope it helps you

pls mark this ans brainlist ans

What is the importance of using Onedrive in Windows 10 and how knowledge of it will have an impact in today's workplace?

Answers

The importance of one drive in windows 10 is that it helps the user to synchronize files in their computer.

Onedrive is a cloud storage system that is useful for the storage of files in a secured manner. A person can easily access their files whenever they want to.

In todays workplace a knowledge of onedrive has a great impact because

Onedrive offers an unlimited access to files whenever they are neededThe files can be available and accessed from anywhereIt helps with the organization of files in the work place.

One drive allows for this to be done even when offline. When online, there is an automatic synchronization of the made changes.

Read more at https://brainly.com/question/17163678?referrer=searchResults

Windows 10's one drive is useful because it enables users to synchronize information among various computers.Onedrive is indeed a cloud storage solution that can be used to store data in a secure environment.The user gets easy access to their files when their desire.In today's workplace, knowing how to use OneDrive is necessary because it gives unrestricted access to files anytime they're needed.The information can be transferred anywhere at.It assists with the arrangement of files in the workplace.It can be done and if you're not linked to the Network. Once you're online, the modifications you've performed are synchronized immediately.

Learn more:

brainly.com/question/24369537

WHICH PROGRAMMING LANGUAGES ARE THE BEST FOR PROGRAMMING?

Answers

Answer:

python is probably the best is you are a begginer

java and C++ are good too

Describe two types of storage devices?​

Answers

Answer:

Central Process Unit and Random Access Memory

Diana is working on an Access file. She added a rectangle to the title of her form and would like to change the color of the rectangle border. To complete this task, Diana goes into Design view, clicks on Property Sheet, and then clicks on the Other tab. She is unable to find the Border Color option to make the change. What error did Diana make? A.She should have used Format view instead of Design view.
B.She should have clicked Controls before clicking Property Sheet.
C.She should have clicked on the Format tab after clicking Property Sheet.
D.She should have looked for the Border Width option instead of the Border Color option.

Answers

Answer:

A

Explanation:

she should have used format view instead of design view

OSI model layers application in mobile computing

Answers

Answer:

The OSI Model (Open Systems Interconnection Model) is a conceptual framework used to describe the functions of a networking system. The OSI model characterizes computing functions into a universal set of rules and requirements in order to support interoperability between different products and software.

During the data transmission there are chances that the data bits in the frame might get corrupted. This will require the sender to re-transmit the frame and hence it will increase the re-transmission overhead. By considering the scenarios given below, you have to choose whether the packets should be encapsulated in a single frame or multiple frames in order to minimize the re-transmission overhead.

Justify your answer
Scenario A: Suppose you are using a network which is very prone to errors.

Scenario B: Suppose you are using a network with high reliability and accuracy.

Answers

1. Based on Scenario A, the packets should be encapsulated in multiple frames to minimize the re-transmission overhead.

This is because there will be the need to re-transmit the packets because the network environment is not reliable and accurate.  Therefore, a single frame may be too costly when the need for re-transmission arises.

2. Based on Scenario B, the packets should be encapsulated in a single frame because of the high level of network reliability and accuracy.  

There will not be further need to re-transmit the packets in a highly reliable and accurate network environment.  This environment makes a single frame better.

Encapsulation involves the process of wrapping code and data together within a class so that data is protected and access to code is restricted.

With encapsulation, each layer:

provides a service to the layer above itcommunicates with a corresponding receiving node

Thus, in a reliable and accurate network environment, single frames should be used to enhance transmission and minimize re-transmission overhead.

Learn more about data encapsulation here: https://brainly.com/question/23382725

Alice and Bob are unknown to each other. Alice wants to send an encrypted message to Bob. So it chooses a KDC which is known to both Alice and Bob (protocol in page 338). Alice and KDC have A5 (hexa) as a shared key. Bob and KDC have 4B (hexa) as a shared key. Alice sends a request to KDC to generate a session key so it can communicate with Bob. KDC generates 56(hexa) as a session key. Alice intends to send 13 (hexa) as a message to Bob. For simplicity assume that the encryption and decryption operations are simply XOR operation of the key with the message. Answer the following.
1. What information does KDC send to Alice? Show as hex characters.
2. What information does Alice send to Bob? Show as hexa characters.
3. What message does Bob retrieve after decryption? Show as hexa characters.

Answers

3. ¿Qué mensaje recupera Bob después del descifrado? Mostrar como caracteres hexadecimales.

Respuesta: la clave con el mensaje :

Pls help me Pls help me

Answers

Answer:

20 10

Explanation:

please mark me as brainlyest

Give minimum computers configuration that can be used by a law firm.​

Answers

Answer:

Processor: Intel i3, i5, or i7 processor or equivalent. Memory: 8 GB or more. Hard Disk Storage: 500 GB or more. Display: 13-inch or larger.

Explanation:

The lowest computers configuration that can be used are:

Operating System: such as MacOS 10.14. Windows 10 or higher version.Processor: such as Intel i3, i5, or i7 processor or others.Memory: 8 GB and more.Hard Disk Storage: 500 GB and more.Display: such as 13-inch or more.

What is  Configuration of a system?

This is known to be the ways that the parts are said to be arranged to compose of the computer system.

Note that in the above case, The lowest computers configuration that can be used are:

Operating System: such as MacOS 10.14. Windows 10 or higher version.Processor: such as Intel i3, i5, or i7 processor or others.Memory: 8 GB and more.Hard Disk Storage: 500 GB and more.Display: such as 13-inch or more.

Learn more about computers from

https://brainly.com/question/26021194

#SPJ9

Dr. Watson has been kidnaped! Sherlock Holmes was contacted by the kidnapper for ransom. Moments later he received a message from Dr. Watson's phone. The message contained three random strings. Sherlock being Sherlock, was able to deduce immediately that Dr. Watson was trying to give a hint about his location. He figured out that the longest common subsequence between the 3 words is the location. But since it was too easy for him, he got bored and asked you to find out what the actual location is. Your task is to find the longest common subsequence from the 3 given strings before it is too late. A subsequence is a sequence that can be derived from another sequence by deleting some or no elements without changing the order of the remaining elements. For instance, given a sequence "drew"; "d", "w", "de", "drw", "drew" are all examples of valid subsequences (there are also others), while "er", "wdre" are not. Design a dynamic programming algorithm which takes three input sequences X, Y, and Z, of lengths m, n, and p, respectively, and returns their longest common subsequence. For full marks your algorithm should run in (mnp) time. Note that W is a common subsequence of X, Y, and Z if and only if W is a subsequence of X, W is a subsequence of Y, and W is a subsequence of Z.

Required:
Describe the set of subproblems that your dynamic programming algorithm will consider.

Answers

Answer:

please mark me brainlist

Explanation:

This algorithm works for n number of strings in python3

Input:

83217

8213897

683147

Output:

837

from itertools import product

import pdb

import numpy as np

def neigh(index):

N = len(index)

for ri in product((0, -1), repeat=N):

if not all(i == 0 for i in ri):

yield tuple(i + i_rel for i, i_rel in zip(index, ri))

def longestCommonSubSequenceOfN(sqs):

numberOfSequences = len(sqs); # to know number of sequences

lengths = np.array([len(sequence) for sequence in sqs]); # to know length of each sequences placed in # array

incrLengths = lengths + 1; # here we are taking no .of sequences +1

lengths = tuple(lengths); # making lengths into tuple to make it mutable

inverseDistances = np.zeros(incrLengths);

ranges = [tuple(range(1, length+1)) for length in lengths[::-1]]; # finding ranges from 1 to each lengths

for tupleIndex in product(*ranges):

tupleIndex = tupleIndex[::-1];

neighborIndexes = list(neigh(tupleIndex)); # finding neighbours for each tupled index value and # store them in list

operationsWithMisMatch = np.array([]); # creating array which are miss matched

 

for neighborIndex in neighborIndexes:

operationsWithMisMatch = np.append(operationsWithMisMatch, inverseDistances[neighborIndex]);

#appending newly created array with operations miss match and inverseDistances

operationsWithMatch = np.copy(operationsWithMisMatch);

# copying newly generated missmatch indexs

operationsWithMatch[-1] = operationsWithMatch[-1] + 1;

# incrementing last indexed value

chars = [sqs[i][neighborIndexes[-1][i]] for i in range(numberOfSequences)];

# finding a string(chars) with neighbour indexes and checking with other sequences

if(all(elem == chars[0] for elem in chars)):

inverseDistances[tupleIndex] = max(operationsWithMatch);

else:

inverseDistances[tupleIndex] = max(operationsWithMisMatch);

 

subString = ""; # resulted string

mainTupleIndex = lengths; # copying lengths list to mainTupleIndex

while(all(ind > 0 for ind in mainTupleIndex)):

neighborsIndexes = list(neigh(mainTupleIndex));

#generating neighbour indexes with main tuple index in form of list

anyOperation = False;

for tupleIndex in neighborsIndexes:

current = inverseDistances[mainTupleIndex];

if(current == inverseDistances[tupleIndex]): # comparing indexes in main tuple index and inverse #distance tuple index

mainTupleIndex = tupleIndex;

anyOperation = True;

break;

if(not anyOperation): # if anyoperation is False then we are generating sunString

subString += str(sqs[0][mainTupleIndex[0] - 1]);

mainTupleIndex = neighborsIndexes[-1];

return subString[::-1]; # reversing resulted string

sequences = ["83217", "8213897", "683147"]

print(longestCommonSubSequenceOfN(sequences)); #837

Use the Excel worksheet data below to solve the following questions.
H
1
J
5
6
7
7
8
5
do 00
9
10
A
12
8
11
9
T
9
3
4
w
9
11
12
13
14
15
17
15
7
M
column H 2n cicle de genula
ingles are creation CHF HIM)
2. Write the function that would find the average cells in
(2 marks)
3. Write the function that would find the total values in column J (2 marks)
4. Write the function that would count all values.
(2 marks)
5. Write the function that would count the number of
occurrences of 9 in the entire range
(3 marks)

Answers

Answer:

I love Microsoft Excel!

Explanation:

2 - The function that would find the average of a particular range is =AVERAGE(). This is used to find the average of something by calculating the arithmetic mean (or just "mean").

3 - The function that would find the total values within a particular range---or in this case, Column J---you would use the =SUM() function. This will add up all of the values in the range you selected. An example could be that Column X has the values of 5, 6, 12, 45, 3. =SUM(X1:X5) = 71.

4 - The function that would count all values is defined as =COUNT(). An example would be =COUNT(A1:A10).

5 - The function that would count the number of occurrences within a particular range is defined as =COUNTIF(). Within the parentheses, you would put the range of data that you are working with. Then, in quotations, you would put the name or value that you are trying to find.

In your case, it would be =COUNTIF(range,"9") ((I put range in there since I do not know what your range is as it is not defined within the context of this question))

The work associated with software engineering can be categorized into three generic phases, regardless of application area, project size, or complexity namely the phase which phase which focuses on how and the phase which focuses on what the focuses on change. i support ii. development 2​

Answers

Answer:

The work associated with software engineering can be categorized into three generic phases,regardless of application area, project size, or complexity namely the_____________ phase which focuses on what, the______________ phase which focuses on how and the_____________ phase which focuses on change ? i. support ii. development iii. definition

[A]. 1, 2, 3

[B]. 2, 1, 3

[C]. 3, 2, 1. ✅✅

[D]. 3, 1, 2

Clarissa needs to modify a runtime environment variable that will be set for all users on the system for both new logins as well as new instances of the BASH shell being launched. Which of the following files should she modify?

a. /root/.profile
b. /etc/profile
c. /root/.bashrc
d. /etc/bashrc

Answers

Clarissa should modify the file /root/.profile.

Runtime environment variables

The Runtime environment variables are defined as the key pairs that are deployed along the function. The variables are mainly scoped to a function in the project.

Therefore, in the context, Clarissa wishes to modify the run time environment variable which can be used for all the new logins and also for the new instances for the BASH shell. So for this, Clarissa should modify the /root/.profile file command.

Learn More :

https://brainly.in/question/10061342

The environmental variable is a dynamic-name value, that might alter how the way a computer works. These constitute part of nature where a process is carried.In the Container Management, every value of Environment Variables might be changed or the code that whilst also might be executed during runtime: Throughout the Property of each Environment modifications introduced in the Container Management got saved.

Following are the description of the wrong choice:

In option b and option d, both are wrong because it's file directory.In option c,  it is a software file directory which install in the main disk, that's why it is wrong.

Therefore, the "/root/.profile" file should be changed by Clarissa.

Learn More :  

https://brainly.in/question/6708999

Đánh giá hoạt động thanh toán điện tử của sinh viên

Answers

Answer:

CMON BRO

Explanation:

I DUNNO YOUR LAGUAGE

i need an introduction of apple and microsoft

Answers

During the first Macintosh's development and early years of production, Microsoft was a critical Apple ally. The software pioneer created important programs for Apple's PC in the early '80s. ... Jobs lashed out at Gates during a meeting later that same year and equated Microsoft's plans for Windows to theft.

please i need helpWhen something is not in accordance with the rules or standards for right conduct or practice, it is called

copyright
global plagiarism
plagiarism
unethical

Answers

The answer is Unethical

The answer is:

D) unethical

discuss the challenges of not using the five elements of multimedia in a positive manner

Answers

hi buddy

here is your answer

Challenges for Multimedia Systems

Sequencing within the media -- playing frames in correct order/time frame in video.Sequencing within the media -- playing frames in correct order/time frame in video.Synchronisation -- inter-media scheduling (e.g. Video and Audio). Lip synchronisation is clearly important for humans to watch playback of video and audio and even animation and audio.

hope it helps

please mark me pls

#sibi

Challenges posed by the negative use of multimedia include : moral Decay, blackmail, false content creation, fraud and so on.

The elements of multimedia includes, Audio, video, animation, text and image.

Multimedia usage has transformed the information transmission process such that it has now become an extremely effective means of communicationbusibg the different forms of multimedia.

However, we continue to face the challenges associated with misuse of these effective elements. The challenges associated with negative use of multimedia include :

MORAL DECAY : Videos and images allows us to send pictoral messages and information, the production and transmission of wayward and immoral content has a negative effect on the society.

Blackmail : Fraudsters often take recorded audio or video clips of individuals which they intend to use as a threat for financial gain.

Other challenges posed by negative use of multimedia include ; creation of false content creation, fraud, false testimony and many others.

Learn more : https://brainly.com/question/9774236?referrer=searchResults

Why coding conventions are important? Compare the coding conventions of JAVA.

Answers

Answer:

Naming conventions make programs more understandable by making them easier to read. They can also give information about the function of the identifier-for example, whether it's a constant, package, or class-which can be helpful in understanding the code.

Identify the class of the address, the number of octets in the network part of the address, the number of octets in the host part of the address, the network number, and the network broadcast address g

Answers

Answer:

1.

190.190.190.190

Class B

Number of octets in the network part of the address: 2

Number of octets in the host part of the address: 2

Network number: 190.190.0.0/16

Network broadcast address: 190.190.255.255

2.

200.1.1.1

Class C

Number of octets in the network part of the address: 3

Number of octets in the host part of the address: 1

Network number: 200.1.1.0/24

Network broadcast address: 200.1.1.255

Explanation:

a computer works on input processing output device
true
false​

Answers

a computer works on input processing output device true

Answer:

a computer works on input processing output device. True

Explanation:

God bless you.

The First Web page you will see every time you launch the Web Browser Application is called​

Answers

Answer:

HomePage

Explanation:

which rendering algorithm must be applied if a realistic rendering of the scene is required​

Answers

Answer:

Rendering or image synthesis is the process of generating a photorealistic or non-photorealistic image from a 2D or 3D model by means of a computer program. The resulting image is referred to as the render. Multiple models can be defined in a scene file containing objects in a strictly defined language or data structure. The scene file contains geometry, viewpoint, texture, lighting, and shading information describing the virtual scene. The data contained in the scene file is then passed to a rendering program to be processed and output to a digital image or raster graphics image file. The term "rendering" is analogous to the concept of an artist's impression of a scene. The term "rendering" is also used to describe the process of calculating effects in a video editing program to produce the final video output.

A variety of rendering techniques applied to a single 3D scene

An image created by using POV-Ray 3.6

Rendering is one of the major sub-topics of 3D computer graphics, and in practice it is always connected to the others. It is the last major step in the graphics pipeline, giving models and animation their final appearance. With the increasing sophistication of computer graphics since the 1970s, it has become a more distinct subject.

Rendering has uses in architecture, video games, simulators, movie and TV visual effects, and design visualization, each employing a different balance of features and techniques. A wide variety of renderers are available for use. Some are integrated into larger modeling and animation packages, some are stand-alone, and some are free open-source projects. On the inside, a renderer is a carefully engineered program based on multiple disciplines, including light physics, visual perception, mathematics, and software development.

Though the technical details of rendering methods vary, the general challenges to overcome in producing a 2D image on a screen from a 3D representation stored in a scene file are handled by the graphics pipeline in a rendering device such as a GPU. A GPU is a purpose-built device that assists a CPU in performing complex rendering calculations. If a scene is to look relatively realistic and predictable under virtual lighting, the rendering software must solve the rendering equation. The rendering equation doesn't account for all lighting phenomena, but instead acts as a general lighting model for computer-generated imagery.

In the case of 3D graphics, scenes can be pre-rendered or generated in realtime. Pre-rendering is a slow, computationally intensive process that is typically used for movie creation, where scenes can be generated ahead of time, while real-time rendering is often done for 3D video games and other applications that must dynamically create scenes. 3D hardware accelerators can improve realtime rendering performance.

5. Which events is used to code on any form load
a) Form Text b) Form Code c) Form Load d) Form Data

Answers

Answer:

I think b is correct answer

Write a program that asks the user to enter in a username and then examines that username to make sure it complies with the rules above. Here's a sample running of the program - note that you want to keep prompting the user until they supply you with a valid username:

Answers

user_in = input ("Please enter your username: " )

if user_in in "0123456789":

print ("Username cannot contain numbers")

elif user_in in "?":

print ("Username cannot continue special character")

else:

print (" Welcome to your ghetto, {0}! ".format(user_in))

Tuesday
write the
correct
answer
Text can be celected using
2 A mouse
device of
is
ch
3 Scrolls bars are
buttons which assist
upwards downwards
sideways to
skole
Text can be selectedusing

Answers

Answer:

number 2 is the awnser(the mouse)

what is 1 st genaration of computer ​

Answers

Explanation:

The period of first generation computer was from 1946-1959 AD .The computers of first generation used vacuum tubes as the basic components for memory and circuitry for CPU ( Central Processing Unit).These tubes, like electric bulbs, produced a lot of heat and were prone to frequent fusing of the installation.

Hope it helps...............

The POR is a systematic method of documentation that includes a database, problem list, initiitial plan and progress notes.
A. True
B. False

Answers

Explanation:

The POR is a systematic method of documentation that includes a database, problem list, initiitial plan and progress notes is true

3. A 3D model of a designed product would be used to communicate the

Answers

Answer:

A 55

Explanation:

A 3D model of a designed product would be used to communicate the photorealistic renditions of the product.

What is 3D?

It should be noted that 3D modeling is the process if developing a coordinate representation of an object.

In this case, a 3D model of a designed product would be used to communicate the photorealistic renditions of the product.

Learn more about 3D on:

brainly.com/question/26350554

#SPJ2

Other Questions
Please help me to find this answer ayuda porfavor cuanto es h+3cm=? y cuanto es b+4cm=? y cual seria el resustado de las dos calculacion A5cm x 11 cm rectangle sits inside a circle with radius of 12 cm.What is the area of the shaded region?Round your final answer to the nearest hundredth.5 cm12 cm11 cmcm? PLS HELP ME FOR 17 POINTS "How did the new recruit fair with his first task?"is this sentence right or wrong grammatically? answer in INCORRECT or CORRECT what principle will amount to Rs. 4000 in 20 yrs at 2.5%? They play hockey into negative A cadenza is? A) a free solo passage without orchestral accompaniment.B) a solo passage with orchestral accompaniment.C) a call-and-response passage between a soloist and orchestra.D) the final movement of a concerto 5 complete examples of fragments how did southeast asian states develop and maintain power? Savannah used 2 quarts of paint on a summer project. She still had 5.quarts of paint left when she was finished. How much paint did Savannahhave at first?la cloud What is one of Jeffersons central ideas in the Declaration of Independence?The colonists should unite against the British.Slavery is wrong and should be abolished.Everyone is created equal and has certain rights.All colonists should work with the British to create more effective local governments. African leaders who resisted the colonial rule PLEASE HELP!! this is on USAtestprep a)b)c)d) How many shapes contains the same text: KTKEIHLPEQMKJAPDEK Which verb completes the sentence?The price index has _______ two points this month.A. riseB. roseC. risen HELPPP MEEEE PLzzzzzz Find the slope (rate of change) of the representation. Please explain the answer. In this 3x3 square, you can use only numbers from 1-9, to make all the rows and columns equal to 15. Good luck to the person solving this and just know that I and lots more people thank you for solving this! Of the countries in the list, which country has the most limited access to fresh water? TurkeySyriaSaudi ArabiaIraq Let f(x)=x^2+3x-4 and g(x)=x+5. Find f(x)g(x)a. x^3+3x^2+16x-20b. x^3+5x^2+14x-20c. x^3-8x^2+11x-20d. x^3+9x^2+19x-20