Answer:
count_land = count_air = count_water = 0
while True:
s = input("Enter a string: ")
if s == "xxxxx":
break
else:
if s == "land":
count_land += 1
elif s == "air":
count_air += 1
elif s == "water":
count_water += 1
print("land: " + str(count_land))
print("air: " + str(count_air))
print("water: " + str(count_water))
Explanation:
*The code is in Python
Initialize the variables
Create a while loop that iterates until a specific condition is met. Inside the loop, ask the user to enter the string. If it is "xxxxx", stop the loop. Otherwise, check if it is "land", "air", or "water". If it is one of the given strings, increment its counter by 1
When the loop is done, print the number of strings entered in the required format
Answer:
3. Granularity
Explanation:
Granularity's concept is representing the level of how do we store the data in our database.
If the data are detailed, we can resume the data until get a granularity more strong for our analysis.
For example:
We could store data year by year of our costumers, if want to get more granularity, we could store data month by month, also we could get specific data like how often our customers visit the business or how often our customers buy in a category product.
Answer:
a. If the read is successful, the number of bytes read is returned.
b. If the end of file is encountered, 0 is returned.
Explanation:
A read function is one of the functions used in computer programming. A read function is used to read an information or data that was written before into a file.
If any portion of a regular file before to the end of file has not been written and the end of file is encountered the read function will return the bytes with value 0.
If read function has read some data successfully, it returns the number of bytes it read.
The Internet Protocol Suite consists of the Internet Protocol and Transmission Control Protocol. Then the correct option is A.
<h3>What are Internet Protocol and Transmission Control Protocol?</h3>
Transmission Control Protocol/Internet Protocol (TCP/IP) is a set of communication protocols that are used to link network devices on the internet.
In a personal computer network, TCP/IP is often used as a wireless signal.
The IP suite's two major protocols have distinct roles. TCP specifies how apps might establish channels across a network.
More about the Internet Protocol and Transmission Control Protocol link is given below.
brainly.com/question/20813972
#SPJ1
Answer: A. a mobile app that only accepts wagers based on the user's location
Explanation:
Elastic cloud simply refers to the cloud computing offering which due to the need for change helps in the provision of variable service levels.
Based on the information given in the question, an effective elastic Cloud solution that can meet this client’s needs is a mobile app that only accepts wagers based on the user's location.
Since there are strict laws that prohibit gambling activities outside the licensed zones, the user location is vital in the mobile app.