knowledge base for Wumpus World — AI Technical Interview Questions & Answers

knowledge base for Wumpus World

knowledge base for Wumpus World

  • KB starts with rules: breeze iff a neighbour is a pit (in the standard toy). As you visit squares, you Tell facts: ~Pit(1,1), Breeze(1,2), … Inference marks some squares safe. That KB is why a logic agent beats a random walker.
  • Exam: write two sentences in English or PL, not a full axiom dump.
  • Output: idea / do / check for knowledge base for Wumpus World. Fill those three in the viva.

Technical Interview Tip: Two KB sentences for breeze/pit.

Code Examples for knowledge base for Wumpus World

Example

# knowledge base for Wumpus World
print("idea :", "knowledge base for Wumpus World")
print("do   : one tiny example on paper")
print("check: one failure case")

Output: idea / do / check for knowledge base for Wumpus World. Fill those three in the viva.

How to Explain knowledge base for Wumpus World to an Interviewer

Explain knowledge base for Wumpus World as if you are teaching a junior — definition, then one example.

Rules + visited facts. Infer safe squares.

What does the example print, and what does that prove?

idea / do / check for knowledge base for Wumpus World

What mistake do freshers make with knowledge base for Wumpus World?

Only the buzzword, no example