Answer:
Replace
if userAge > 20
with
userAge > 19
Explanation:
if userAge > 20 checks if age is 21, 22, 23, 24........
The else condition which prints "I am a teenager" checks if age is 20, 19, 18....
Notice that 20 is inclusive of the else condition; this shouldn't be because for userAge to be less than 20, 20 isn't inclusive
To solve this,
Replace if userAge > 20 with userAge > 19
So that, the else
The else condition which prints "I am a teenager" checks if age is 19, 18, 17, 16....
Its perhaps B2
HOPE THIS HELPS
Answer: Predictive analytics
Explanation:
Predictive analytics is composed of different types of ways or methods one can use in gathering or producing data, through machine learning, Predictive modelling, etc that can examine previously and currently existing facts and can help in making predictions about what is likely to happen in the future. Predictive analytics helps business to predict areas of risks and opportunities, understand customer's behaviour and needs, reduce cost, study and improve on safety and compliance,etc.
Answer:
True
Explanation:
It is TRUE that race condition happens in monolithic Memcached. This is evident in that in a python language, where Memcached "gets" and "set" function tends to turn to a race condition if for example the two functions are used together to accomplish similar things like locking given that it is not atomic.
Hence, in this case, the correct answer is TRUE