Question bank

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

PythonEasy
What is the output of `print(type([]))`?
a<class 'tuple'>
b<class 'dict'>
c<class 'list'>
d<class 'array'>
SQL / MySQLEasy
Which clause filters groups after aggregation?
aHAVING
bWHERE
cGROUP BY
dORDER BY
PandasEasy
Which method shows the first 5 rows?
adf.first()
bdf.top()
cdf.show()
ddf.head()
Machine LearningEasy
Predicting house prices is a…
aClassification task
bClustering task
cRegression task
dReinforcement task
DjangoEasy
Which command creates migration files?
amigrate
bcreatemigrations
csyncdb
dmakemigrations
Large Language ModelsEasy
LLMs generate text by predicting…
aThe next token
bThe next sentence
cThe whole answer at once
dKeywords
Artificial IntelligenceEasy
On an unweighted graph, which search always returns a path with the fewest steps?
aDepth-first search
bGreedy best-first search
cBreadth-first search
dRandom restart
APIsEasy
Which status code best fits a successful POST that created a new resource?
a200 OK
b201 Created
c204 No Content
d302 Found
Data ScienceEasy
What is the main difference between a metric and a KPI?
aA KPI is always a percentage
bA KPI is a metric the business has agreed to steer by
cMetrics come from SQL, KPIs from Excel
dThere is no difference
Deep LearningEasy
What does calling `loss.backward()` do in PyTorch?
aUpdates the model weights
bComputes gradients of the loss with respect to parameters that require grad
cResets all gradients to zero
dRuns the forward pass again
DjangoEasy
Which form method must return `True` before you use `cleaned_data`?
aform.save()
bform.clean()
cform.is_valid()
dform.has_changed()
ExcelEasy
Which function removes leading and trailing spaces but keeps single spaces between words?
aCLEAN
bTRIM
cSUBSTITUTE
dPROPER
Git & GitHubEasy
Which command unstages a file but keeps your edits?
agit restore --staged file.py
bgit reset --hard
cgit revert file.py
dgit rm file.py
Large Language ModelsEasy
What does an LLM's context window limit?
aThe number of API calls per minute
bThe total tokens of input plus output handled in one request
cThe size of the training dataset
dThe number of users
Machine LearningEasy
Logistic regression converts a weighted sum into a probability using which function?
aReLU
bSoftmax over features
cSigmoid
dStep function