0
0
AI for Everyoneknowledge~20 mins

AI for data analysis and spreadsheet tasks in AI for Everyone - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
AI Spreadsheet Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
How AI assists in data cleaning in spreadsheets

Which of the following best describes how AI can help clean data in spreadsheets?

AAI can automatically detect and correct inconsistent data entries by learning patterns in the data.
BAI replaces all manual data entry by generating random data to fill empty cells.
CAI only highlights errors but cannot suggest corrections or fix them.
DAI deletes all duplicate rows without checking if they are truly duplicates.
Attempts:
2 left
💡 Hint

Think about how AI learns from data patterns to improve quality.

🔍 Analysis
intermediate
2:00remaining
Output of AI-generated summary for spreadsheet data

Given a spreadsheet with sales data, an AI tool generates this summary code snippet. What is the output?

AI for Everyone
sales = [120, 150, 100, 130, 170]
summary = {'total_sales': sum(sales), 'average_sales': sum(sales)/len(sales)}
print(summary)
A{'total_sales': 670, 'average_sales': 135.0}
B{'total_sales': 670, 'average_sales': 134.0}
C{'total_sales': 650, 'average_sales': 130.0}
DTypeError: unsupported operand type(s) for +: 'int' and 'list'
Attempts:
2 left
💡 Hint

Calculate the sum and average of the list values carefully.

data_output
advanced
2:00remaining
Result of AI clustering on spreadsheet data

An AI model clusters customer data into groups based on spending. Given this code, what is the cluster assignment output?

AI for Everyone
import numpy as np
from sklearn.cluster import KMeans

X = np.array([[100, 200], [110, 210], [500, 600], [520, 610]])
model = KMeans(n_clusters=2, random_state=0).fit(X)
print(model.labels_)
A[0 0 1 1]
B[1 1 0 0]
C[0 1 0 1]
DValueError: n_clusters must be less than or equal to the number of samples
Attempts:
2 left
💡 Hint

Look at how the points are grouped by proximity.

🔍 Analysis
advanced
2:00remaining
Identify the error in AI data extraction code

What error does this AI-powered spreadsheet data extraction code produce?

AI for Everyone
data = {'Name': ['Alice', 'Bob'], 'Age': [25, 30]}
ages = data['age']
print(ages)
ATypeError: list indices must be integers or slices
BOutput: [25, 30]
CNameError: name 'data' is not defined
DKeyError: 'age'
Attempts:
2 left
💡 Hint

Check the exact spelling and case of dictionary keys.

🚀 Application
expert
3:00remaining
Choosing AI method for spreadsheet anomaly detection

You want to detect unusual transactions in a large spreadsheet using AI. Which method is best suited for this task?

AManually review each transaction row for anomalies without AI assistance.
BUse clustering to group transactions but ignore outliers as they are not important.
CApply unsupervised anomaly detection algorithms like Isolation Forest without labeled data.
DUse a supervised classification model trained on labeled normal and anomalous transactions.
Attempts:
2 left
💡 Hint

Consider if labeled anomaly data is available or not.