Question bank

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

NumPyEasy
Which operator performs matrix multiplication of two NumPy arrays?
a*
b**
c@
d//
PandasEasy
Which method converts a wide table (one column per month) into long format?
amelt
bpivot
cunstack
dexplode
Power BIEasy
In a star schema, `Product` (one side) is related to `Sales` (many side) with Single cross-filter direction. Which way do filters flow?
aFrom Product to Sales
bFrom Sales to Product
cIn both directions
dFilters do not propagate across relationships
PythonEasy
Which keyword turns a function into a generator?
areturn
basync
clambda
dyield
SQL / MySQLEasy
Which window function gives the value from the previous row?
aLEAD
bFIRST_VALUE
cPREV
dLAG
StatisticsEasy
Ice-cream sales and AC sales are highly correlated across months. What is the most likely explanation?
aIce cream causes AC purchases
bAC purchases cause ice-cream sales
cThe correlation must be a data error
dA confounder: hot weather drives both
PythonMedium
Which type is immutable?
alist
btuple
cdict
dset
SQL / MySQLEasy
Which keyword removes duplicate rows?
aUNIQUE
bDISTINCT
cDIFFERENT
dSINGLE
PandasMedium
Which merges two DataFrames on a key?
adf.join_on()
bdf.merge()
cpd.concat()
ddf.combine()
Machine LearningMedium
Best metric for rare fraud detection?
aAccuracy
bRecall / PR-AUC
cR²
dMAE
DjangoEasy
Which setting must be False in production?
aUSE_TZ
bDEBUG
cAPPEND_SLASH
dUSE_I18N
Large Language ModelsMedium
Embeddings are…
aCompressed images
bNumeric vectors representing meaning
cEncrypted text
dModel weights
Artificial IntelligenceEasy
Which of these is a computer vision task?
aSentiment analysis of reviews
bMachine translation
cSpeech-to-text transcription
dDetecting helmets in CCTV footage
APIsEasy
What are the three dot-separated parts of a JWT?
akey.value.checksum
buser.role.expiry
cheader.payload.signature
diss.sub.aud
Data ScienceEasy
Which chart best shows how daily sales changed over six months?
aPie chart
bScatter plot
cLine chart
dRadar chart