def min(x,y):
smallest = x
if y < smallest:
smallest = y
return smallest
x = min(2,1)
print("The min is "+str(x))
Although I wouldn't recommend using the name min for a function because min is the name of an existing function. Best of luck.
Answer:
See explaination
Explanation:
(MapReduce) = Programming Model
(Variability) = Sentiment analysis
(Feedback Loop Processing) = Health Systems transit
(volume, velocity, variety) = Big Data, applied to collect data
(Hadoop) = A Big Data Application that handles very large-sized block of data.
Answer:
The program to this question can be defined as follows:
Program:
num=int(input("Enter any number: ")) #defining variable num, that take value from user
val=0; #defining variable val
for i in range(num): #defining loop to calculate value in decreasing order
val=num-i; #holding value in variable
print(val) #print value
Output:
Enter any number: 3
3
2
1
Explanation:
In the above-given code, a variable "num" is declared, that uses input function to take value from the user end, in the next line a "val" variable is defined, that calculates values and print it in decreasing order.
- In the next step, a for loop is declared, inside the loop a "val" variable uses num and loop variable "i" to calculate the value in decreasing order.
- In the last print method is used that prints "val" variable value.
Answer:
The answer to this question is given below in the explanation section
Explanation:
As we know that
1 km = 1000000 mm
So, 0.001 * 1000000 = 100
the answer is 100 millimeters.
Answer:
D. Network tap
Explanation:
A network tap is a hardware device that provides a way to access the data flow across a computer network.
A sniffer is either hardware or software that provides a way to access the data flow across a computer network.
Hence, these two IDS components are very similar.
Cheers.