answersLogoWhite

0

📱

Microsoft Windows

Windows is a consumer and enterprise grade family of operating systems developed by Microsoft Corporation. First released in 1985, it has become the best-selling operating system in computer history, and has 90% of the total operating system market.

18,535 Questions

Which sentence gives information about the setting in the middle of The Most Dangerous Game?

Night found him leg-weary, with hands and face lashed by the branches, on a thickly wooded ridge.

What is power options?

Power options lets you choose when and if you want your computer to use a lower power mode, or have the monitor turn itself off after so many minutes of disuse. So you might leave your computer on but not be using it, so you can tell it to power down the disk drives after an hour or so. Not every system has the same power options, you will need to check and see what is available to you.

When playing sims 3 on your computer after a few minutes the screen goes black and then the game comes back Something comes up saying 'display driver stopped working' on the home screen Help?

It seems the sound drivers are missing or corrupted. In addition there seem to be registry errors in the computer.

To fix this problem it is recommended to update sound drivers and fix Windows registry with Reginout.

What is the different between mac address and ip address?

MAC address is fixed to the hardware device (for example a network card) and can not be changed. IP address is assignable. The default IP address for a device can be computed by converting the four right-most numbers of the MAC address from hex to decimal.
The MAC address refers to the physical address assigned by the Network Interface Card manufacturer. Example - 10.03.d5.f3.45.fc , where are an Internet Protocol address is given to a computer when it gets connected to the network. Its divided into four parts , separated by fullstops.

How do you accept an integer or a float or double value as a console input from user in java also you do not want to use command line arguments?

Scanner scan = new Scanner(System.in); // A scanner object that reads from the

// keyboard( System.in), must import

//Scanner class to use this System.out.print("Input Integer: "); int first = scan.nextInt(); //Reads the next int after the printed stuff that the user

//inputs System.out.print("Input Double: "); double first = scan.nextDouble(); //Reads the next double after the printed stuff that

//the user inputs

What is Master File Table MFT?

The NTFS file system contains at its core, a file called the master file table or the MFT. There is at least one entry in the MFT for every file on an NTFS volume, including the MFT itself. All information about a file, including its size, time and date stamps, permissions, and data content, is stored either in MFT entries, or in space outside the MFT that is described by MFT entries.

What is the equivalent of flash on a Mac?

Flash is an adobe program just like Photoshop and Illustrator. It is the same on both mac's and pc's.

What is the path for device manager?

there are two paths

goto start-->run-->type as devmgmt.msc

another way is right click MyComputer--->manage--->on the left side u find device manager

Is it necessary that a file created in text mode must always be opened in text mode for subsequent operations?

Yes & no. Really depends on what you're working with. If the formatting in non-text mode will be a problem for the text then yes. If not then no.

Difference between insertion and selection sort?

Before we examine the differences, let us examine the implementations. The code that follows is written in C++, but can be easily adapted to other languages.

Firstly, let us assume we have an array of num elements (we'll use integers here, but typically you will use pointers to maintain efficiency):

int array[num];

A selection sort has the following nested loop structure:

for( int outer=0; outer < num-1; ++outer )

{

int min = outer;

for( inner=outer+1; inner < num; ++inner )

{

if( array[inner] < array[min] )

min = inner;

}

if( min != outer )

swap( array[min], array[outer] );

}

Whereas an insertion sort has the following nested loop structure:

for( index=1; index < num; ++index )

{

value = array[index];

hole = index;

while( hole > 0 && value < array[hole-1] )

array[hole] = array[--hole];

array[hole] = value;

}

Although both algorithms split an array into two subsets (a sorted subset to the left and an unsorted subset to the right) and both move one element from one set to the other on each iteration of the outer loop, the selection sort begins with an empty sorted subset while the insertion sort begins with a sorted subset of one element (any array with only one element can always be regarded as being sorted).

In both cases, the outer loop keeps track of the initial index of the current unsorted subset and both perform a complete traversal of the unsorted subset. However selection sort stops when there is only one unsorted element left, which automatically becomes the largest value in the sorted set and therefore doesn't need to move, whereas insertion sort traverses the entire unsorted subset.

The key difference is in the inner loops. With selection sort, the inner loop skips the first unsorted element and traverses the remainder of the unsorted subset locating the index of the lowest value (recorded by min). At the end of the inner traversal, if min is not the same as the outer loop index then the values are swapped. Thus the sorted subset gains a new element containing the next largest value on each iteration, beginning with the lowest value.

With insertion sort, the outer loop extracts the first unsorted element's value and stores its index (hole). There isn't really a hole in the array, it's simply a marker to determine where the extracted value will be inserted. The inner while loop then traverses the sorted subset. On each iteration, if the hole marker is non-zero and the value is less than the value of the element to the left of the hole marker, then that element's value is copied into the hole to its right and the hole marker moves left. When the inner loop ends, the hole marker denotes where the extracted value should be placed. Thus if the extracted value is greater than or equal to the largest sorted value, then the value doesn't move (it was already sorted), otherwise it is inserted into its correct position within the sorted subset.

It can be proved that although selection sort only requires one swap at most for every iteration of the outer loop, it must perform (num-1)! comparisons in total (that is, for num=6 there are 5+4+3+2+1 comparisons in total). It should be noted that every swap incurs three copy processes, however a single copy takes less time than a single comparison.

By contrast, insertion sort stops comparing when the insert point is located, thus, on average, there will be fewer comparisons than (num-1)!. However, while every iteration of the outer loop incurs two copy processes even if the current element doesn't need to move, and additional copy processes for each movement of the hole marker, it's wrong to assume selection sort is always faster. On average, it is actually slower.

Looking at the worst case example, let us suppose the array is in reverse order. Selection sort requires (num-1)! comparisons no matter what and will also incur n-1 swaps in total (which is 3(num-1) copies in total). By contrast, insertion sort also requires (num-1)! comparisons but requires 2(num-1)+(num-1)! copy processes. The end result is that selection sort performs slightly better, and will improve as the array size increases.

Another worst case example is the already-sorted array. Again, selection sort requires (num-1)! comparisons but no swaps at all. However, insertion sort only requires num-1 comparisons and 2(num-1) copies. In this case, insertion sort performs slightly better, and will improve as the array size increases.

While both algorithms are fairly efficient when dealing with small arrays (typically up to 20 elements), with insertion sort performing better on average, they are highly inefficient when dealing with larger arrays. For this you need recursive, logarithmic, divide-and-conquer algorithms, such as quicksort, which are capable of sorting num elements with only (log num) comparisons. However, these algorithms don't perform well with smaller subsets, so it pays to combine the two into a hybrid algorithm. That is, when a logarithmic algorithm reduces a subset to 20 elements or less, then that subset can be sorted far more efficiently with an insertion sort.

How do you get an upclose blownup manuel shot of the rgt pass window insides 86 F150 50 L Lariet?

You might go to the dealer's body shop and see if they have the diagram you need and get a copy. I haven't seen it in any of my books

What is the Difference between send and copy in windows?

copy just makes a shortcut , so it may not work if u copy work onto usb and then use at a different computer, send, sends all the full informattion to that location