Flashcards
Tap a card to flip it
63 flashcards in this kit — the app reviews them with
spaced repetition so the right card returns on the right day.
Question
What is adversarial search?
tap to flip ↻
Answer
A search technique in AI where two or more agents compete, each trying to achieve their own goal, often in zero-sum games.
Question
In the context of adversarial search, what does 'zero-sum' mean?
tap to flip ↻
Answer
A situation where one agent's gain is exactly the other agent's loss, so the total utility remains constant.
Question
What is the Minimax algorithm?
tap to flip ↻
Answer
A recursive algorithm for choosing the optimal move in a two-player zero-sum game, assuming both players play optimally. It minimizes the maximum possible loss.
Question
In Minimax, what does the MAX player try to do?
tap to flip ↻
Answer
Maximize the utility score.
Question
In Minimax, what does the MIN player try to do?
tap to flip ↻
Answer
Minimize the utility score.
Question
What is alpha-beta pruning?
tap to flip ↻
Answer
An optimization technique for Minimax that reduces the number of nodes evaluated by pruning branches that cannot influence the final decision.
Question
In alpha-beta pruning, what does alpha represent?
tap to flip ↻
Answer
The best value found so far for MAX along the path.
Question
In alpha-beta pruning, what does beta represent?
tap to flip ↻
Answer
The best value found so far for MIN along the path.
Question
What is a k-ply look ahead in game playing?
tap to flip ↻
Answer
Searching ahead k moves (plies) from the current state to evaluate the desirability of a move.
Question
What is a ply in game tree search?
tap to flip ↻
Answer
A single move by one player.
Question
What is the basic definition of probability?
tap to flip ↻
Answer
A measure of the likelihood that an event will occur, quantified as a number between 0 and 1.
Question
What is a random variable?
tap to flip ↻
Answer
A variable whose possible values are numerical outcomes of a random phenomenon.
Question
What is a Bayesian network?
tap to flip ↻
Answer
A probabilistic graphical model that represents a set of variables and their conditional dependencies via a directed acyclic graph (DAG).
Question
In a Bayesian network, what does each node represent?
tap to flip ↻
Answer
A random variable.
Question
In a Bayesian network, what does a directed edge from X to Y signify?
tap to flip ↻
Answer
That X has a direct influence on Y (X is a parent of Y).
Question
What is a logical agent?
tap to flip ↻
Answer
An agent that uses logical reasoning to deduce actions based on its knowledge base and percepts.
Question
What is a knowledge base (KB) in logical agents?
tap to flip ↻
Answer
A set of sentences expressed in a formal language that the agent uses to reason and make decisions.
Question
What is inference in the context of logical agents?
tap to flip ↻
Answer
The process of deriving new sentences from the knowledge base using logical rules.
Question
What is model checking in propositional logic?
tap to flip ↻
Answer
A method to determine if a knowledge base entails a sentence by checking all possible truth assignments (models).
Question
What does the PEAS framework stand for?
tap to flip ↻
Answer
Performance measure, Environment, Actuators, Sensors.
Question
In PEAS, what does 'P' stand for?
tap to flip ↻
Answer
Performance measure: how well the agent is doing.
Question
In PEAS, what does 'E' stand for?
tap to flip ↻
Answer
Environment: the surroundings in which the agent operates.
Question
In PEAS, what does 'A' stand for?
tap to flip ↻
Answer
Actuators: mechanisms through which the agent acts on the environment.
Question
In PEAS, what does 'S' stand for?
tap to flip ↻
Answer
Sensors: mechanisms through which the agent perceives the environment.
Question
What is the minimax value of a terminal state in a game tree?
tap to flip ↻
Answer
The utility value of that state for the MAX player.
Question
In alpha-beta pruning, when can a branch be pruned?
tap to flip ↻
Answer
When the value of the current node is worse than the best value found so far for the opponent (i.e., alpha >= beta).
Question
What is the time complexity of Minimax for a game tree with branching factor b and depth m?
tap to flip ↻
Answer
$O(b^m)$
Question
What is the main advantage of alpha-beta pruning over plain Minimax?
tap to flip ↻
Answer
It can reduce the number of nodes evaluated, allowing deeper search in the same time, but does not affect the final decision.
Question
What is a conditional probability?
tap to flip ↻
Answer
The probability of an event given that another event has occurred, denoted $P(A|B)$.
Question
What is Bayes' theorem?
tap to flip ↻
Answer
A formula that relates conditional probabilities: $P(A|B) = \frac{P(B|A) \cdot P(A)}{P(B)}$.
Question
In a Bayesian network, what is the joint probability distribution defined as?
tap to flip ↻
Answer
The product of conditional probabilities of each node given its parents: $P(X_1, \ldots, X_n) = \prod_{i=1}^n P(X_i | \text{Parents}(X_i))$.
Question
What is a tautology in propositional logic?
tap to flip ↻
Answer
A sentence that is true in all possible models (truth assignments).
Question
What is a contradiction in propositional logic?
tap to flip ↻
Answer
A sentence that is false in all possible models.
Question
What is the entailment relation in logic?
tap to flip ↻
Answer
A sentence A entails B (written A ⊨ B) if in every model where A is true, B is also true.
Question
What is the Modus Ponens inference rule?
tap to flip ↻
Answer
From $P$ and $P \Rightarrow Q$, infer $Q$.
Question
What is the Modus Tollens inference rule?
tap to flip ↻
Answer
From $\neg Q$ and $P \Rightarrow Q$, infer $\neg P$.
Question
What is the And-Elimination inference rule?
tap to flip ↻
Answer
From $P \land Q$, infer $P$ (or infer $Q$).
Question
What is the And-Introduction inference rule?
tap to flip ↻
Answer
From $P$ and $Q$, infer $P \land Q$.
Question
What is the Or-Introduction inference rule?
tap to flip ↻
Answer
From $P$, infer $P \lor Q$ for any Q.
Question
What is the resolution inference rule?
tap to flip ↻
Answer
From $P \lor Q$ and $\neg P \lor R$, infer $Q \lor R$.
Question
What is a Horn clause?
tap to flip ↻
Answer
A clause with at most one positive literal, often used in logic programming.
Question
What is forward chaining?
tap to flip ↻
Answer
A data-driven inference method that starts from known facts and applies inference rules to derive new facts until the goal is reached.
Question
What is backward chaining?
tap to flip ↻
Answer
A goal-driven inference method that starts from the goal and works backward to find supporting facts.
Question
In the PEAS framework, what is the performance measure for a self-driving car?
tap to flip ↻
Answer
Safety, time, comfort, legality, etc.
Question
In the PEAS framework, what are the actuators for a self-driving car?
tap to flip ↻
Answer
Steering, accelerator, brake, signals, etc.
Question
In the PEAS framework, what are the sensors for a self-driving car?
tap to flip ↻
Answer
Cameras, lidar, speedometer, GPS, etc.
Question
What is the environment type for tic-tac-toe in terms of observability?
tap to flip ↻
Answer
Fully observable.
Question
What is the environment type for tic-tac-toe in terms of determinism?
tap to flip ↻
Answer
Deterministic.
Question
What is the environment type for tic-tac-toe in terms of number of agents?
tap to flip ↻
Answer
Multi-agent (two players).
Question
What is the environment type for tic-tac-toe in terms of dynamism?
tap to flip ↻
Answer
Static (state doesn't change while agent deliberates).
Question
What is the environment type for tic-tac-toe in terms of discreteness?
tap to flip ↻
Answer
Discrete.
Question
What is the environment type for tic-tac-toe in terms of episodicity?
tap to flip ↻
Answer
Sequential (current move affects future moves).
Question
What is the environment type for tic-tac-toe in terms of known/unknown?
tap to flip ↻
Answer
Known (rules and outcomes are known).
Question
What is the minimax value of a non-terminal state?
tap to flip ↻
Answer
For MAX: maximum of minimax values of children; for MIN: minimum of minimax values of children.
Question
What is the purpose of the alpha parameter in alpha-beta pruning?
tap to flip ↻
Answer
To keep track of the best value that MAX can guarantee so far.
Question
What is the purpose of the beta parameter in alpha-beta pruning?
tap to flip ↻
Answer
To keep track of the best value that MIN can guarantee so far.
Question
What is a probabilistic model?
tap to flip ↻
Answer
A mathematical model that uses probability theory to represent uncertainty and make predictions.
Question
What is the law of total probability?
tap to flip ↻
Answer
The total probability of an event A is the sum of its conditional probabilities given a partition of the sample space: $P(A) = \sum_i P(A|B_i)P(B_i)$.
Question
What is a conditional probability table (CPT) in a Bayesian network?
tap to flip ↻
Answer
A table that specifies the probability of each value of a node given each combination of parent values.
Question
What is the Markov property in Bayesian networks?
tap to flip ↻
Answer
Each variable is conditionally independent of its non-descendants given its parents.
Question
What is a logical model in propositional logic?
tap to flip ↻
Answer
An assignment of truth values (true/false) to each propositional symbol.
Question
What is satisfiability in propositional logic?
tap to flip ↻
Answer
A sentence is satisfiable if it is true in at least one model.
Question
What is validity in propositional logic?
tap to flip ↻
Answer
A sentence is valid if it is true in all models (tautology).