Attention Mechanism Quiz

Explore queries, keys, values, masking, multi-head attention, transformers, calculations, visual reasoning, debugging, and practical scenarios through adaptive challenges, instant feedback, and detailed performance reports.

Configure your challenge

158 questions are available across 18 topics.


Topics

Question 1/20 Score 0 Time 00:00

Question navigator

0 answered
Keyboard: 1–4 select, H hint, F flag, ← previous, → next.

Performance report

Answer review

# Question Your answer Correct answer Result Explanation

Attempt history

Recent attempts are stored in this browser.

Formula guide and instructions

Core formulas

Scores: S = QKᵀ

Scaled scores: S = QKᵀ / √dk

Weights: A = softmax(S + mask)

Output: Z = AV

Head size: dhead = dmodel / h

Full attention cost: approximately O(n²d)

How to use

  1. Select a mode, difficulty, topics, and question count.
  2. Answer questions and use hints or elimination when needed.
  3. Flag uncertain questions and revisit them through the navigator.
  4. Finish the quiz to generate charts and detailed explanations.
  5. Export results, print the report, or review previous mistakes.

Frequently asked questions

Does the quiz save progress?

Yes. Active progress and recent attempts are saved in browser storage.

How is partial credit calculated?

Multi-select questions award proportional credit for correct selections while penalizing incorrect selections.

Do hints reduce the score?

Yes. A small hint penalty is applied to encourage independent reasoning.

What does negative marking do?

It deducts points for fully incorrect answers. Partial multi-select credit remains bounded at zero.

Can I review only mistakes?

Yes. Use the results filter or start the previous-mistakes mode.

How does the daily challenge work?

It uses a date-based selection so the daily set remains consistent for that day.

What is examination mode?

Examination mode delays feedback until submission and uses the selected countdown.

Can I add my own questions?

Yes. Import a compatible JSON question array from the question-bank explorer.

How are reports generated?

Plotly.js creates accuracy, topic, difficulty, timing, and skill charts directly in the browser.

Attention Quiz

Related Calculators

Deep Learning Fundamentals QuizConvolutional Neural Network QuizConvolution Operation QuizKernels and Filters QuizPadding and Stride QuizPooling Layers QuizImage Classification QuizRecurrent Neural Network QuizLong Short-Term Memory QuizGated Recurrent Unit Quiz

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.