Answer: im not sure you should just you tube it
Explanation:
You tube can teach you a lot of things you just need to use it
Answer: Option D -- Sorting an already sorted array of size n with quicksort takes O(n log n) time.
Explanation:
Sorting an already sorted array of size n with quicksort takes O(n log n) time is true about sorting functions while other options are wrong.
Answer:
Following are the correct python code to this question:
n1 = float(input('Input first number: '))#input first number
n2 = float(input('Input second number: '))#input second number
n3 = float(input('Input third number: '))#input third number
n4 = float(input('Input fourth number: '))#input fourth number
average = (n1+n2+n3+n4)/4 #calculate input number average
product = n1*n2*n3*n4 # calculate input number product
print('product: {:.0f} average: {:.0f}'.format(round(product),round(average))) #print product and average using round function
print('product: {:.3f} average: {:.3f}'.format(product,average)) #print product and average value
Output:
Please find the attachment.
Explanation:
The description of the above python code can be defined as follows:
- In the above python program four variable "n1, n2, n3, and n4" is defined, in which we take input from the user end, and in these user inputs we use the float method, that converts all the input value in to float value.
- In the next step, two variable average and product are defined, that calculate all input numbers product, average, and hold value in its variable.
- In the last line, the print method is used, which prints its variable value by using a round and format method.
Answer:
int i = 0; i < names.size(); i++
Explanation:
The ArrayList must be read in the forward direction, and it is going to start from 0 certainly. Also, the iteration is going to end when i is exactly one less than the size of the ArrayList. And this is possible only if we choose the option mentioned in the Answer section. In this, i starts from 0 and iterates till i is one less than name.size() which is the size of the ArrayList.
Answer:
Option (B) is the correct of this question.
Explanation:
The performance of a monitor and process counters to observe the performance is the tool or method which determines the new software is hogging the computer resources. So this way the user don't have any problem with computer.
- You can view log files in Windows Performance Monitor to see a visual representation of the performance counter data.
- Performance counters are bits of code that log, count, and measure software events that allow a high-level view of user trends.
- To customize the tracking of AD FS output using the Quality Monitor.
- Type Output Monitor on Start screen, then click ENTER.
- Expand Data Collector Sets in the console tree, right-click on User Specified, point to New, then select Data Collector Collection.
Other options are incorrect according to the given scenario.