Answer:
A hard drive
Explanation:
Since tablets and phones are compact, they are better off not having a big, giant, bulky storage device like hard drives. Modern computing made hard drives less important by developing Solid-State Drives (SSDs) and extremely dense (512 bit) storage that can provide the same if not more storage than a traditional hard drive at the fraction of the size.
Answer:
jaiden
Explanation:
Answer: wat dat mean
Explanation:
B. Database administrator accessing the web server
C. Malicious user accessing the web server
D. The server processing transaction details
I believe the answer is D
your credit score
B. The longer you use credit responsibly, the higher your
credit score will be
C. Applying for soveral credit cards in one year can help
increase your credit score,
D. People with low credit scores are usually low-risk
borrowers,
Answer:
B
Explanation:
im pretty sure thats the answer
A key step in many sorting algorithms (including selection sort) is swapping the location of two items in an array. Here's a swap function that looks like it might work, but doesn't:
-the code prints out [9, 9, 4] when it should print out [9, 7, 4].
Fix the swap function.
Hint: Work through the code line by line, writing down the values of items in the array after each step. Could you use an extra temporary variable to solve the problem that shows up?
Once implemented, uncomment the Program.assertEqual() at the bottom to verify that the test assertion passes.
the layout for javascript is,
var swap = function(array, firstIndex, secondIndex) {
array[firstIndex] = array[secondIndex];
array[secondIndex] = array[firstIndex];
};
var testArray = [7, 9, 4];
swap(testArray, 0, 1);
println(testArray);
//Program.assertEqual(testArray, [9, 7, 4]);
The problem with the swap function is that it loses the value at the first index, as soon as it gets overwritten by the value at the second index. This happens in the first statement. To fix it, you need a helper variable.
First you're going to "park" the index at the first index in that helper variable, then you can safely overwrite it with the value at the second index. Then finally you can write the parked value to the second index:
var swap = function(array, firstIndex, secondIndex) {
let helper = array[firstIndex];
array[firstIndex] = array[secondIndex];
array[secondIndex] = helper;
};
I hope this makes sense to you.