Answer:
a. device administration
Explanation:
Device Administration is a powerful API feature on the Android framework which was first introduced in Android version 2.2. It offers some features at the system level that enables some other key features such as the storage on a device, remotely wiping or enforcing password policies.
It is also utilized in uninstalling your application from the device or to capture a picture by the use of camera when screen is lock.
Answer:
The computer can do 12000 searches per second. Suppose there are 60000 inventory items. And we need to search one item from it in a sequential manner. The computer can do 12000 searches in one second. Hence it can search in a list of 60000 inventory in 5 seconds, as 12000 x 5 =60000 searches, in the worst case. And if the item is below 12000 on the list, it will take less than 1 second(1/12000 sec in best case), and so on.
And if we assume that the list is sorted, and perform a binary search. then in the worst case, the number of searches required in the worst case will be 60000/2= 30000. And the time required will be 30000/12000= 5/2=2.5 seconds, and (1/24000) seconds in the best case. Its 1/24000 as its binary search.
Explanation:
Please check the answer section.
A Python program that can convert a Fahrenheit temperature to Celsius, or vice versa. The program should use two custom functions, f_to_c and c_to_f, to perform the conversions.
Explanation:
- Functions should be defined in a custom module named temps. Custom function c_to_f should be a void function defined to take a Celsius temperature as a parameter.
- It should calculate and print the equivalent Fahrenheit temperature accurate to three decimal places.
- Custom function f_to_c should be a value-returning function defined to take a Fahrenheit temperature as a parameter.
- This function should calculate the equivalent Celsius temperature and return it.
The code is given below :
def c_to_f(tempCelsius):
tempFahrenheit = ((9/5)*tempCelsius) + 32;
print("\n %.3f Celsius is %.3f Fahrenheit \n" %(tempCelsius, tempFahrenheit));
def f_to_c(tempFahrenheit):
tempCelsius = (tempFahrenheit - 32) * (5/9);
return tempCelsius;
(Import modules)
import temps;
def main():
temperature = float(input("\n Enter a temperature: "));
scale = input("\n Was that input Fahrenheit or Celsius c/f? ");
if scale.lower() == 'c':
temps.c_to_f(temperature);
else:
tempCel = temps.f_to_c(temperature);
print("\n %.1f Fahrenheit equals %.3f Celsius \n" %(temperature, tempCel));
main();
I don't understand this question
1. The reason for a photograph being a favorite is the creativity to capture nature in one single frame.
2. Photographs present the aesthetics and ability to view the world from a new perspective. Photographs' main benefit is they associate with the good memories the last for a lifetime