Answer:
An online company wants to conduct real-time sentiment analysis about its products from its social media channels using SQL. The solution which has lowest cost and operational burden is as follow:
B. Configure the input stream using Amazon Kinesis Data Streams. Use Amazon Kinesis Data Analytics to write SQL queries against the stream.
Explanation:
- The option A is not correct as this solution doesn't have lowest cost and operational burden as set up a streaming data ingestion application on Amazon EC2 and connect it to a Hadoop cluster for data processing will have more cost and operational burden.
- The lowest cost and operational burden solution is that we configure input stream using Amazon Kinesis Data Streams. We can use Amazon Kinesis Data Analytics to write SQL queries against the stream.
- The option c and d are also more pricey in terms of cost and operational burden as compared to Amazon Kinesis Data stream and analytics.
Answer:
number = int(input("Enter a number: "))
product = 1
while number > 0:
digit = number % 10
number -= digit
number /= 10
product *= digit
print(int(product))
Explanation:
*The code is in Python
Ask the user for an integer
Initialize the product variable that will hold the multiplication of the digits
Initialize a while loop that iterates until number is greater than 0
To find the digit of a number, use number modulo 10. Then subtract the result from the number and divide the new number by 10.
Multiply each digit and hold the value in the product
When the loop is done, print the product
Answer:
WYSIWYG
Explanation:
WYSIWYG is used to edit appearance for web pages.