Mega-Quiz: Methods of AI — All Topics (100 Qs)

SoSe 2026 · Exam Prep · mixed difficulty (🟢 easy · 🟡 medium · 🔴 hard)

Format: each question hides its answer under an Obsidian callout fold. Answer it yourself first, then expand.


Part 1 — Local Search (Q1–12)

Q3 — Local Search 🟡

Question: Write down the SA acceptance probability for a downhill move. What is Δ, what is T?

Max’s answer: exp(-delta/T) with delta = (future state) - (current state), T = Temparature
Result:


Q4 — Local Search 🟡

Question: Why is Local Beam Search with k states not the same as k parallel Hill Climbings?

Max’s answer: in LBS when the successors are generated, the global best 4 successors from all previous beams will be the future 4 beams. while in parallel hill climbing the successors only decide among the successors from the specific beam the future successors. so it only looks for local solutions, meaning parallel hill climbing might end up in a local minimum earlier than LBS.
Result:


Q5 — Local Search 🟡

Question: What is the idea behind Stochastic Beam Search and which problem does it solve?

Max’s answer:
Result:


Q6 — Local Search 🟢

Question: What guarantee does Random-Restart Hill Climbing provide?

Max’s answer:
Result:


Q7 — Local Search 🔴

Question: Why does Simulated Annealing guarantee the global optimum in theory but not in practice?

Max’s answer:
Result:


Q8 — Local Search 🟡

Question: Naive 1-point crossover fails on TSP. Why, and what is used instead?

Max’s answer:
Result:


Q9 — Local Search 🟡

Question: What is a memetic algorithm and why is it often better?

Max’s answer:
Result:


Q10 — Local Search 🔴

Question: Which properties must a GA’s fitness function satisfy for selection to work meaningfully?

Max’s answer:
Result:


Q11 — Local Search 🟡

Question: Neighbourhood-size trade-off: what happens with a small vs. a large neighbourhood?

Max’s answer:
Result:


Q12 — Local Search 🔴

Question: On the 8-Queens problem: why is Stochastic Hill Climbing often more successful than steepest-ascent HC?

Max’s answer:
Result:


Part 2 — Constraint Satisfaction (Q13–22)

Q13 — CSP 🟢

Question: Which three components formally define a CSP?

Max’s answer:
Result:


Q16 — CSP 🟡

Question: What is MRV (Minimum Remaining Values) for, and what is LCV (Least Constraining Value) for?

Max’s answer:
Result:


Q17 — CSP 🟢

Question: What is the degree heuristic and when is it used?

Max’s answer:
Result:


Q18 — CSP 🔴

Question: Difference between Arc Consistency and Path Consistency — why is AC not always enough?

Max’s answer:
Result:


Q19 — CSP 🟡

Question: Local Search for CSPs: what is the state space, the neighbourhood, and the objective function?

Max’s answer:
Result:


Q20 — CSP 🔴

Question: Local Search finds a local optimum with f(s) < constraints. What can you conclude?

Max’s answer:
Result:


Q21 — CSP 🟢

Question: Name the 8 relations of RCC-8.

Max’s answer:
Result:


Q22 — CSP 🔴

Question: Why is strong k-consistency stronger than plain k-consistency?

Max’s answer:
Result:


Part 3 — Planning I (Classical) (Q23–32)

Q23 — Planning I 🟢

Question: Explain the frame, qualification, and ramification problem in one sentence each.

Max’s answer:
Result:


Q24 — Planning I 🟢

Question: What are the three lists of a STRIPS action?

Max’s answer:
Result:


Q25 — Planning I 🔴

Question: How does STRIPS “solve” the frame problem — and why is this solution syntactic, not ontological?

Max’s answer:
Result:


Q27 — Planning I 🟢

Question: What does STRIPS assume about the world (which assumption)?

Max’s answer:
Result:


Q28 — Planning I 🟡

Question: What does a STRIPS action put(X, Y) describe with PRE/ADD/DEL for Blocksworld?

Max’s answer:
Result:


Q29 — Planning I 🔴

Question: “Ignore-Delete” heuristic: what is the idea, and is it admissible?

Max’s answer:
Result:


Q30 — Planning I 🟡

Question: How does PDDL differ syntactically from pure STRIPS, and which separation does it introduce?

Max’s answer:
Result:


Part 4 — Planning II (MDP) (Q33–42)

Q33 — Planning II 🟢

Question: Which four components make up the MDP tuple?

Max’s answer:
Result:


Q34 — Planning II 🟡

Question: State the Markov property.

Max’s answer:
Result:


Q35 — Planning II 🟡

Question: What distinguishes a plan (classical) from a policy (MDP)?

Max’s answer:
Result:


Q36 — Planning II 🔴

Question: Write the Bellman equation for a fixed policy π.

Max’s answer:
Result:


Q37 — Planning II 🔴

Question: Bellman optimality equation — how does it differ from policy evaluation?

Max’s answer:
Result:


Q38 — Planning II 🟡

Question: Describe Policy Iteration in two steps.

Max’s answer:
Result:


Q39 — Planning II 🔴

Question: What is the main difference between Value Iteration and Policy Iteration?

Max’s answer:
Result:


Q40 — Planning II 🟡

Question: Why does γ = 1 cause problems in non-terminating MDPs?

Max’s answer:
Result:


Q41 — Planning II 🟢

Question: Which property must p(s'|s,a) satisfy?

Max’s answer:
Result:


Q42 — Planning II 🔴

Question: In the grid-world example: why is a step reward of e.g. −0.04 useful, and what changes at +0.04?

Max’s answer:
Result:


Part 5 — Knowledge Representation (Q43–54)

Q43 — KR 🟢

Question: What goes in the TBox, what goes in the ABox?

Max’s answer:
Result:


Q44 — KR 🟡

Question: What does C ⊑ D mean semantically — and in which direction?

Max’s answer:
Result:


Q45 — KR 🔴

Question: What are the constructors of ALC and what does each mean?

Max’s answer:
Result:


Q46 — KR 🟡

Question: Open World Assumption vs. Closed World Assumption — who uses which?

Max’s answer:
Result:


Q47 — KR 🔴

Question: How do you test C ⊑ D with the tableaux algorithm?

Max’s answer:
Result:


Q48 — KR 🔴

Question: Which “vacuous truth” trap hides in ∀R.C?

Max’s answer:
Result:


Q49 — KR 🟢

Question: Which typical reasoning tasks exist in a DL knowledge base?

Max’s answer:
Result:


Q51 — KR 🟡

Question: How many Allen relations are there, and why not 14?

Max’s answer:
Result:


Q52 — KR 🔴

Question: Allen’s composition table — what does it state and why is it important?

Max’s answer:
Result:


Q53 — KR 🟡

Question: What distinguishes RCC-8 from metric geometry?

Max’s answer:
Result:


Q54 — KR 🔴

Question: Why does ALC have no role hierarchy, and what do you need for one?

Max’s answer:
Result:


Part 6 — Vagueness & Uncertainty (Q55–64)

Q55 — Fuzzy 🟢

Question: What is the core difference between vagueness and uncertainty?

Max’s answer:
Result:


Q56 — Fuzzy 🟢

Question: How are intersection, union, and complement defined for fuzzy sets (Zadeh standard)?

Max’s answer:
Result:


Q57 — Fuzzy 🔴

Question: Show that in fuzzy logic A ∨ ¬A ≠ 1 is possible. Give a concrete example.

Max’s answer:
Result:


Q58 — Fuzzy 🟡

Question: Which four properties define a t-norm?

Max’s answer:
Result:


Q59 — Fuzzy 🟡

Question: Besides the Zadeh min, also name the algebraic t-norm and s-norm.

Max’s answer:
Result:


Q60 — Fuzzy 🔴

Question: Why does probabilistic logic keep classical properties like P(A ∨ ¬A) = 1, but fuzzy logic does not?

Max’s answer:
Result:


Q61 — Uncertainty 🟢

Question: Write down the Kolmogorov axioms.

Max’s answer:
Result:


Q62 — Uncertainty 🟡

Question: Conditional probability — formula and condition.

Max’s answer:
Result:


Q64 — Uncertainty 🔴

Question: The Heap (Sorites) paradox — why is it an argument for fuzzy logic?

Max’s answer:
Result:


Part 7 — Machine Learning I & II (Q65–76)

Q65 — ML 🟢

Question: Define ML formally following Mitchell.

Max’s answer:
Result:


Q66 — ML 🟢

Question: What is inductive bias and why does every learner need one?

Max’s answer:
Result:


Q68 — ML 🟡

Question: Entropy of a set S — formula and extreme values.

Max’s answer:
Result:


Q69 — ML 🔴

Question: Information Gain — formula and what it measures.

Max’s answer:
Result:


Q71 — ML 🟡

Question: What is bagging and why does it reduce variance but not bias?

Max’s answer:
Result:


Q72 — ML 🔴

Question: How does a Random Forest differ from plain bagging?

Max’s answer:
Result:


Q74 — ML 🟢

Question: What are the three main categories of machine learning?

Max’s answer:
Result:


Q76 — ML 🔴

Question: Why does k-means find only local optima, and what would the global optimum be?

Max’s answer:
Result:


Part 8 — SVM & Perceptron (Q77–88)

Q77 — SVM 🟢

Question: What is the central idea of SVMs?

Max’s answer:
Result:


Q78 — SVM 🟡

Question: How large is the margin as a function of w, and which optimization does SVM solve?

Max’s answer:
Result:


Q79 — SVM 🔴

Question: Write down the SVM Lagrangian. Mind the sign.

Max’s answer:
Result:


Q80 — SVM 🔴

Question: Which KKT condition tells you which points are support vectors?

Max’s answer:
Result:


Q81 — SVM 🟡

Question: Explain the kernel trick in one sentence.

Max’s answer:
Result:


Q82 — SVM 🟡

Question: Write down the RBF/Gaussian kernel formula — both common notations.

Max’s answer:
Result:


Q85 — Perceptron 🟢

Question: Write down the perceptron training rule.

Max’s answer:
Result:


Q86 — Perceptron 🟡

Question: What does the perceptron convergence theorem state and which precondition does it require?

Max’s answer:
Result:


Q87 — Perceptron 🔴

Question: Why can a single-layer perceptron not learn XOR, and what historical consequence did this have?

Max’s answer:
Result:


Q88 — SVM vs. Perceptron 🟡

Question: Which fundamental training methods do SVM vs. perceptron rely on?

Max’s answer:
Result:


Part 9 — Neural Networks & Deep Learning (Q89–100)

Q89 — Hopfield 🟡

Question: Update rule and energy function of a Hopfield network — write down both.

Max’s answer:
Result:


Q90 — Hopfield 🔴

Question: What are spurious memories and how do they arise?

Max’s answer:
Result:


Q91 — MLP 🟢

Question: What is ReLU and why is it used today instead of sigmoid?

Max’s answer:
Result:


Q92 — MLP 🔴

Question: What does the Universal Approximation Theorem state and what is its practical limitation?

Max’s answer:
Result:


Q93 — Deep Learning 🟡

Question: Name three standard solutions against overfitting in deep networks.

Max’s answer:
Result:


Q94 — Deep Learning 🔴

Question: How do residual connections help in training very deep networks?

Max’s answer:
Result:


Q95 — Autoencoder 🟢

Question: What is an autoencoder and what is it used for?

Max’s answer:
Result:


Q96 — Transformer 🟡

Question: Write down the scaled dot-product attention formula and name Q, K, V.

Max’s answer:
Result:


Q97 — Transformer 🔴

Question: Why do you divide by √d_k in the attention formula?

Max’s answer:
Result:


Q99 — Transformer 🟡

Question: BERT vs. GPT — training, directionality, typical application.

Max’s answer:
Result:


Beyond the lecture (optional)

These questions go beyond the SoSe 2026 lecture slides (textbook / external additions). Kept for depth, not exam-critical.

Q1 — Local Search 🟢

Question: What distinguishes Local Search from classical search (BFS/DFS/A*)?

Max’s answer:
Result:


Q2 — Local Search 🟢

Question: Name the three main problems that pure Hill Climbing fails on.

Max’s answer:
Result:


Q14 — CSP 🟡

Question: What does AC-3 do at each step — and what happens when a domain becomes empty?

Max’s answer:
Result:


Q15 — CSP 🔴

Question: What is the time complexity of AC-3 and what do the variables mean?

Max’s answer:
Result:


Q26 — Planning I 🟡

Question: How many frame axioms does Situation Calculus need in the worst case with n actions and m facts?

Max’s answer:
Result:


Q31 — Planning I 🔴

Question: Why is planning in general PSPACE-complete and not merely NP-complete?

Max’s answer:
Result:


Q32 — Planning I 🟡

Question: State-space search vs. plan-space search in planning — what is the difference?

Max’s answer:
Result:


Q50 — KR 🟡

Question: What are the three OWL dialects and how do they differ?

Max’s answer:
Result:


Q63 — Uncertainty 🔴

Question: Dempster-Shafer: what is the difference between belief Bel(A) and plausibility Pl(A)?

Max’s answer:
Result:


Q67 — ML 🔴

Question: Bias-Variance decomposition: write down the decomposition of the expected squared error.

Max’s answer:
Result:


Q70 — ML 🔴

Question: Why does pure Information Gain favour attributes with many values — and what is used against it?

Max’s answer:
Result:


Q73 — ML 🟡

Question: Out-of-Bag (OOB) error — what is it and why is it “free”?

Max’s answer:
Result:


Q75 — ML 🟡

Question: k-fold cross-validation: procedure and main purpose.

Max’s answer:
Result:


Q83 — SVM 🔴

Question: Soft-margin SVM: what do the slack variables ξᵢ do and how does the C parameter act?

Max’s answer:
Result:


Q84 — SVM 🔴

Question: Mercer’s condition — when is a function a valid kernel?

Max’s answer:
Result:


Q98 — Transformer 🔴

Question: Why do transformers need positional encoding, and in which form is it classically added?

Max’s answer:
Result:


Q100 — Synthesis 🔴

Question: Ramsauer et al. (2020) showed a connection between self-attention and modern Hopfield networks. What is the core idea?

Max’s answer:
Result:


Topic Index (with score)

TopicQs🟢🟡🔴
Local Search1–12363
CSP13–22244
Planning I23–32343
Planning II33–42253
KR43–54255
Vagueness & Uncertainty55–64244
ML I & II65–76246
SVM & Perceptron77–88255
NN & Deep Learning89–100246

Total: 100 questions — 20 🟢 easy · 41 🟡 medium · 39 🔴 hard

Note: 17 questions have been moved to “Beyond the lecture (optional)” — the counts above reflect the original 100.


See also

Tags: methods-of-ai quiz ai-generated
Superlink: Methods of AI Lecture
Lernzettel: lernzettel_local-search_30-04-26 · lernzettel_csp_30-04-26 · lernzettel_planning-i_30-04-26 · lernzettel_planning-ii_30-04-26 · lernzettel_knowledge-representation_30-04-26 · lernzettel_vagueness-uncertainty_30-04-26 · lernzettel_ml-i-ii_30-04-26 · lernzettel_svm_30-04-26 · lernzettel_neural-networks-deep-learning_30-04-26

Created: 23/05/26