Answer:
See explaination
Explanation:
#include <iostream>
using namespace std;
void SelectionSortDescendTrace(int numbers[], int numElems) {
int maxInd;
for (int i = 0; i < numElems - 1; ++i) {
maxInd = i;
for (int j = i; j < numElems; ++j) {
if (numbers[j] > numbers[maxInd]) {
maxInd = j;
}
}
int temp = numbers[i];
numbers[i] = numbers[maxInd];
numbers[maxInd] = temp;
for (int j = 0; j < numElems; j++) {
cout << numbers[j] << " ";
}
cout << endl;
}
}
int main() {
int numbers[10];
int numElements = 0;
for (int i = 0; i < 10; i++) {
cin >> numbers[i];
if (numbers[i] == -1)
break;
++numElements;
}
SelectionSortDescendTrace(numbers, numElements);
return 0;
}
Answer:
Metrical task system algorithm is the online algorithm that is used for organizing the online problems like k-server issues, paging issues etc.This task system works in the form of metrics to decrease the complete cost experienced due to processing of the operation and analyzing the competition.
It can be used for the online shopping project for the analyzing the comparison between the performance on basis of online and offline trends and then optimization can take place according to the the results.
Answer:
computer is one of the part of our technology so that let's take care of it and improve so that we can used for better and sufficient ly not maybe now but maybe soon.
There are two ways to convert from hexadecimal to denary gcse method. They are:
- Conversion from hex to denary via binary.
- The use of base 16 place-value columns.
<h3>How is the conversion done?</h3>
In Conversion from hex to denary via binary:
One has to Separate the hex digits to be able to know or find its equivalent in binary, and then the person will then put them back together.
Example - Find out the denary value of hex value 2D.
It will be:
2 = 0010
D = 1101
Put them them together and then you will have:
00101101
Which is known to be:
0 *128 + 0 * 64 + 1 *32 + 0 * 16 + 1 *8 + 1 *4 + 0 *2 + 1 *1
= 45 in denary form.
Learn more about hexadecimal from
brainly.com/question/11109762
#SPJ1
The principle or element of layout design is highlighted in an event poster in option i: The headline.
<h3>What are the elements of page layout?</h3>
The poster is known to be one that often uses a kind of hierarchy and centered text alignment as its element.
Note that it is one whose Lines of use is said to be made up of different kinds of type styles, sizes and others.
The simple elements of an advertising poster is made up of:
1. The headline.
2. The sub-head.
3. The body copy.
4. The caption.
The elements of page layout are visual hierarchy, visual flow, and others. Hence, the principle or element of layout design is highlighted in an event poster in option i: The headline.
Learn more about layout design from
brainly.com/question/2501083
#SPJ1