Questions
Write a function that takes a binary search tree as input and produces a linked list...

Write a function that takes a binary search tree as input and produces a linked list of the entries, with the entries sorted

(smallest entries at the front of the list and largest entries at the back). *Hint: use in-order traversal.*

C++

there is no any structure

In: Computer Science

Implement a method that meets the following requirements: (a) Has the same requirements as the above...

Implement a method that meets the following requirements:
(a) Has the same requirements as the above method, but works with an int array that is sorted in increasing order. Attempt your best complexity
(b) In comments above the method, explain what its algorithmic complexity is and why (constant, logarithmic, linear, quadratic...)

In: Computer Science

If the host address is 7.7.10.1\19 what is the broadcast address?

If the host address is 7.7.10.1\19 what is the broadcast address?

In: Computer Science

Explain the capabilities of the Ollgdbg and its interfaces. What is rebasing?

Explain the capabilities of the Ollgdbg and its interfaces. What is rebasing?

In: Computer Science

I need some good/new/not common research topics for my proposal assignment (Don't Need Political Topics, Technology...

I need some good/new/not common research topics for my proposal assignment (Don't Need Political Topics, Technology Is Good). And if you have one good topic please provide me an Argument points/counterarguments statements if you can! Will give you thumbs up! Thanks.

In: Computer Science

Write a C++ program that reads integers from standard input until end of file. Print out...

Write a C++ program that reads integers from standard input until end of file.

Print out the largest integer that you read in, on a line by itself.

Any erroneous input (something that is not an integer) should be detected and ignored.

In the case where no integers are provided at all, print NO INTEGERS and stop.

Remember, try not to do the entire job all at once! First try input of a single number and make sure it works. Make sure that you detect eof correctly. Then add the error checks. Then add the loop...

In: Computer Science

How are users categorized? In Linux, which user has all the privileges? Why do we need...

How are users categorized?

In Linux, which user has all the privileges?

Why do we need groups for user management?

What is the command to change the root user’s password on Ubuntu?

What are the three files mentioned in this chapter that contain information about a user’s account and the user’s group?

Explain the meaning of each column in the file/etc/passwd.

Explain the meaning of each column in the file/etc/shadow.

Describe the DHCP assigning process.

What are the benefits of using DHCP?

What are the values of the default lease time and the maximum lease time?

Why do we need the name service?

List at least five category-based top-level domains.

What is the maximum number of layers that can be added to the name hierarchy?

What is a root server?

What is a forward lookup process?

What is a reverse lookup process?

Before forwarding the name resolution request to the root server, what does the operating system need to check first?

What is the DNS zone?

What is an NS DNS record?

What is an SOA DNS record?

In: Computer Science

Can someone please explain to me what are the differences between Windows and Linux memory hierarchy,...

Can someone please explain to me what are the differences between Windows and Linux memory hierarchy, and  handling flash memory as a replacement for disk.

Thank you so much

In: Computer Science

How can we show that the VC dimension of a circle of dimension d is (d+1)

How can we show that the VC dimension of a circle of dimension d is (d+1)

In: Computer Science

1. Two 2-D arrays A [ ] [ ] and B [ ] [ ] are...

1. Two 2-D arrays A [ ] [ ] and B [ ] [ ] are of type boolean and represent two black and white images ( 1’s (black) and 0’s (white) ) having the same size (n x m).
Implement a Boolean function to receive these two images(arrays) as an input and return true if A is the negative of B (i.e. each pixel of A is the complement of the corresponding pixel of B) and false otherwise.

In: Computer Science

Research and Discuss Distributed Resource Scheduler (DRS) and High Availability (HA) Clusters. list two references

Research and Discuss Distributed Resource Scheduler (DRS) and High Availability (HA) Clusters.

list two references

In: Computer Science

The output of the following code is "11 0" But I am not sure why, can...

The output of the following code is "11 0" But I am not sure why, can someone please explain to me clearly and concisely why this is the case?

main(){
int n=1;
if(fork())
wait(&n);
else
n=n+10;
printf("%d\n", n);
exit(0);
}

In: Computer Science

Prove whether the following are regular (include the file) or not regular (attach a proof). The...

Prove whether the following are regular (include the file) or not regular (attach a proof). The alphabet is {0, 1}.

1. The set of strings that start with N 0's which are directly followed by 2N 1's.

2. The set of strings start with two 0's, followed by N 1's, followed by N 1's and end with three 0's.

3. The set of strings where every substring of length 5 has more 0's than 1's. Strings less than length five are not included in the set.

4. The set of strings that start with N 1's, followed by a 0, followed by N 1's.

In: Computer Science

Search the Internet and find two latest types of malware on smartphones. Summarize the way these...

Search the Internet and find two latest types of malware on smartphones. Summarize the way these malware infect the system by commenting

In: Computer Science

Using the Comparable Interface Write a class Compare3 that provides a static method largest. Method largest...

  1. Using the Comparable Interface
  1. Write a class Compare3 that provides a static method largest. Method largest should take three Comparable parameters and return the largest of the three (so its return type will also be Comparable). Recall that method compareTo is part of the Comparable interface, so largest can use the compareTo method of its parameters to compare them.

  1. Write a class Comparisons whose main method tests your largest method above.

  • First prompt the user for and read in three strings, use your largest method to find the largest of the three strings, and print it out. (It’s easiest to put the call to largest directly in the call to println.) Note that since largest is a static method, you will call it through its class name, e.g., Compare3.largest(val1, val2, val3).

  • Add code to also prompt the user for three integers and try to use your largest method to find the largest of the three integers. Does this work? If it does, it’s thanks to autoboxing, which is Java 1.5’s automatic conversion of ints to Integers. You may have to use the -source 1.5 compiler option for this to work.

In: Computer Science