Question bank

Pick an answer to see if you're right — with an explanation.

Data ScienceEasy
Which is a leading indicator for monthly revenue in an online store?
aLast quarter's profit
bAnnual churn rate
cAudited yearly turnover
dItems added to cart this week
Deep LearningEasy
Which layer type is best suited to capturing local spatial patterns in images?
ann.LSTM
bnn.Embedding
cnn.Conv2d
dnn.LayerNorm
DjangoEasy
Which decorator redirects anonymous users to the login page?
a@login_required
b@csrf_protect
c@require_POST
d@never_cache
ExcelEasy
Which shortcut triggers Flash Fill?
aCtrl+T
bCtrl+Shift+L
cCtrl+D
dCtrl+E
Git & GitHubEasy
A commit already pushed to `main` introduced a bug. What is the safest way to undo it?
agit reset --hard HEAD~1 and force-push
bgit revert <sha>
cDelete the repository
dgit commit --amend
Large Language ModelsEasy
Why do Hindi or Tamil prompts often cost more than English prompts of the same meaning?
aProviders charge a language surcharge
bThey are sent twice
cThey usually split into more tokens
dThey require a larger model
Machine LearningEasy
Which scikit-learn model tends to set some coefficients exactly to zero?
aLasso
bRidge
cLinearRegression
dKNeighborsRegressor
MatplotlibEasy
Which call is the recommended way to create a figure and one Axes in object-oriented style?
aplt.figure().plot()
bplt.axes_create()
cfig, ax = plt.subplots()
dax = plt.Axes()
NumPyEasy
Which is the recommended way to create random numbers in modern NumPy?
arng = np.random.default_rng(42)
bnp.random.seed(42); np.random.rand()
cimport random; random.random()
dnp.rand(42)
PandasEasy
What does `pd.read_excel('file.xlsx', sheet_name=None)` return?
aOnly the first sheet
bA list of column names
cA dict mapping sheet names to DataFrames
dThe number of sheets
Power BIEasy
You have three depot files with identical columns and want a single table containing all their rows. Which operation do you use?
aMerge Queries
bGroup By
cAppend Queries
dUnpivot Columns
PythonEasy
Which module provides `Counter` and `defaultdict`?
aitertools
bfunctools
ccollections
dstatistics
SQL / MySQLEasy
Which statement permanently saves the changes made in a transaction?
aSAVE
bROLLBACK
cCOMMIT
dEND
StatisticsEasy
If you quadruple the sample size, what happens to the standard error of the mean?
aIt halves
bIt quarters
cIt doubles
dIt stays the same
PythonEasy
What does this print?
x = [1, 2, 3]
print(x[-1])
a3
b1
cError
d-1