Answer:
Option(a) is the correct answer to the given fill in the blank of #2
Explanation:
The values[indexOfMin] returns the minimum element in the particular array As in the given question we have to implement the selection sorting .In the selection sorting we have choose the element and compare them others minimum index that's why we have choose the values[indexOfMin] function.
- The index of min is not the correct function So we have not used in the given fill in the blanks that's why option(b) is incorrect .
- The values[startIndex] represent the starting index only that is not suitable for the given question that's why it is incorrect option.
B) Spreading the news about the incident response plan is not a good idea. If an incident was intentionally caused by a malicious person or group, knowing your response plan gives them information about how to make things worse.
Answer:
a.
++score = score + 1
Explanation:
First you have to understand the increment operator;
There are three possible ways to increment the value of variable by 1.
1. <u>post increment</u>
syntax:
name++
it using in expression first then increase the value by 1.
2. <u>Pre increment</u><u> </u>
syntax:
++name
it increase the value by 1 before it using in expression.
3. simple method
name = name +1
In the question,
option 1: ++score = score + 1
it increase the value of score by 2 because their are two increment is used first for (score + 1) and second ++score.
Therefore, the correct option is a.
The EINAC at the university of pennsylvania, completed in 1946. It weighed more than 50 tons.