🤖AIML MCQ
Navigation

© 2026 AIML MCQ. Free forever.

🤖

Transformers in NLP MCQ

10 Conceptual Questions with In-Depth Technical Explanations

Deep questions on encoder-decoder structures, self-attention, positional encodings, feedforward sublayers, and layer norms.

Transformers in NLP Questions

Select an answer to reveal detailed technical explanation and formulas.

10 Questions
1

What landmark paper introduced the Transformer architecture, and what was its core paradigm shift?

2

What are the core components of a standard Transformer block?

3

Why do Transformers require Positional Encodings added to input token embeddings?

4

What is the difference between BERT and GPT in terms of Transformer architecture?

5

What is the purpose of the Causal (Look-Ahead) Attention Mask in Transformer Decoders (like GPT)?

6

What is Rotary Position Embedding (RoPE, Su et al., 2021) used in modern LLMs (LLaMA, Mistral)?

7

What is the computational complexity of standard Full Multi-Head Self-Attention with respect to sequence length N?

8

What is FlashAttention (Dao et al., 2022)?

9

What is the difference between Pre-LN (Pre-LayerNorm) and Post-LN (Post-LayerNorm) Transformer architectures?

10

What is the SwiGLU feed-forward network layer used in LLaMA and PaLM?

About Transformers in NLP Interview Questions & Quiz

These Transformers in NLP multiple choice questions are curated to prepare engineers, researchers, and data science students for top technical interviews, machine learning certifications, and university exams.

Every MCQ incorporates core mathematical formulas, architectural tradeoffs, and practical algorithmic considerations. Practicing these questions guarantees a solid foundational and conceptual mastery of Transformers in NLP.