1. Home
  2. Explore
  3. Computer Science
  4. AI Knowledge & Reasoning

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

AI Knowledge & Reasoning

  • 52Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Knowledge-Based Agents
The ability to reason based on knowledge and apply these ideas to artificial intelligence is achieved through building
.

52 questions

  1. 1
    The ability to reason based on knowledge and apply these ideas to artificial intelligence is achieved through building
    _____
    .
    Hint

    These agents represent knowledge internally and use algorithms to find solutions or additional information.

    Answer

    knowledge-based agents

  2. 2
    In a logical inference example, given 'Harry visited Hagrid or Dumbledore but not both' and 'Harry visited Dumbledore today', one can conclude Harry did
    _____
    visit Hagrid today.
    Hint

    Consider the 'but not both' condition when one of the options is confirmed.

    Answer

    not

  3. 3
    The process of drawing conclusions from known information, such as inferring 'it did rain today' from 'If it didn't rain, then Harry visited Hagrid today' and 'Harry did not visit Hagrid today', is known as
    _____
    .
    Hint

    This is a type of logical reasoning where specific conclusions are drawn from general premises.

    Answer

    deduction

  4. 4
    In the context of AI, a
    _____
    is an assertion about the world in a knowledge representation language.
    Hint

    Think about what a basic unit of information is in a formal logical system.

    Answer

    sentence

  5. 5
    The type of logic that is based on propositions, or statements about the world, and uses propositional symbols like P or Q, is called
    _____
    logic.
    Hint

    This logic deals with simple statements that can be true or false.

    Answer

    propositional

  6. 6
    In propositional logic, individual facts or sentences about the world are represented by
    _____
    symbols.
    Hint

    These are usually single letters, like P, Q, or R.

    Answer

    propositional

  7. 7
    To connect propositional symbols and reason more complexly, logical
    _____
    are introduced.
    Hint

    These symbols include 'not', 'and', 'or', 'implies', and 'biconditional'.

    Answer

    connectives

  8. 8
    The logical connective 'not' inverts the truth value of a propositional symbol; if P is false, then 'not P' is
    _____
    .
    Hint

    It means the opposite.

    Answer

    true

  9. 9
    The truth table for 'and' (P and Q) shows that it is true only when
    _____
    .
    Hint

    This connective requires all its operands to be true for the compound statement to be true.

    Answer

    both P and Q are true

  10. 10
    The logical connective 'or' (P or Q) is true if at least one of its arguments is true; it is false only if
    _____
    .
    Hint

    This symbol represents an inclusive OR.

    Answer

    both P and Q are false

  11. 11
    The implication 'P implies Q' means that if P is true, then Q is also true. The only way 'P implies Q' is false is if P is true and Q is
    _____
    .
    Hint

    This represents a scenario where the premise holds but the conclusion does not.

    Answer

    false

  12. 12
    A biconditional, read as 'P if and only if Q', is only true when P and Q are
    _____
    .
    Hint

    Think about the truth values of P and Q being identical.

    Answer

    the same

  13. 13
    A
    _____
    assigns a truth value (true or false) to every propositional symbol, representing a possible world.
    Hint

    This concept helps determine what is actually true about the world given specific conditions.

    Answer

    model

  14. 14
    If there are N propositional symbols, the number of possible models is
    _____
    .
    Hint

    Each symbol can be either true or false.

    Answer

    2N2^N2N

  15. 15
    A
    _____
    is a set of sentences that an AI knows to be true, forming the basis for its reasoning.
    Hint

    This is where the AI stores its known facts about the world.

    Answer

    knowledge base

  16. 16
    The statement 'alpha entails beta' means that in every model in which sentence alpha is true, sentence beta is
    _____
    .
    Hint

    If alpha is true, beta must necessarily follow.

    Answer

    also true

  17. 17
    The process of deriving new sentences from existing ones, based on known information, is known as
    _____
    .
    Hint

    This is what an AI agent does to draw conclusions from its knowledge base.

    Answer

    inference

  18. 18
    Inference algorithms aim to answer the question: Does the knowledge base (KB)
    _____
    a query alpha?
    Hint

    This asks if the query can be logically concluded from the KB.

    Answer

    entail

  19. 19
    One of the simplest inference algorithms, which enumerates all possible models to check for entailment, is called
    _____
    .
    Hint

    This method considers every possible 'world' or truth assignment for variables.

    Answer

    model checking

  20. 20
    In model checking, if the knowledge base contains N variables, the algorithm needs to look through
    _____
    possible worlds.
    Hint

    Consider the number of truth assignments for N binary variables.

    Answer

    2N2^N2N

  21. 21
    The process of taking a problem and figuring out what propositional symbols and logical sentences to use to encode that idea is known as
    _____
    .
    Hint

    This involves translating real-world problems into a formal logical representation for computers.

    Answer

    knowledge engineering

  22. 22
    In the game of Clue, a propositional symbol like 'Mustard' is true if Colonel Mustard is inside the envelope and
    _____
    otherwise.
    Hint

    Propositional symbols represent a fact that can only have one of two truth values.

    Answer

    false

  23. 23
    In Clue, the knowledge that 'one of the three people is the murderer' can be encoded as 'Mustard or Plum or Scarlet', which is a logical
    _____
    .
    Hint

    This is a statement made using logical connectives.

    Answer

    sentence

  24. 24
    The rule 'If alpha implies beta, and alpha is true, then beta is true' is known as
    _____
    .
    Hint

    This is a fundamental rule of inference for conditional statements.

    Answer

    modus ponens

  25. 25
    The inference rule that states if 'alpha and beta' is true, then 'alpha' is true (or 'beta' is true), is called
    _____
    .
    Hint

    If a conjunction is true, then its individual conjuncts must also be true.

    Answer

    and elimination

  26. 26
    If a premise is 'not not alpha', the conclusion 'alpha' can be drawn using the rule of
    _____
    .
    Hint

    Two negatives cancel each other out.

    Answer

    double negation elimination

  27. 27
    The rule that translates an implication 'alpha implies beta' into 'not alpha or beta' is called
    _____
    .
    Hint

    This rule helps to convert conditional statements into disjunctive form.

    Answer

    implication elimination

  28. 28
    The rule that transforms 'alpha if and only if beta' into 'alpha implies beta and beta implies alpha' is known as
    _____
    .
    Hint

    This rule breaks down the double-sided implication.

    Answer

    biconditional elimination

  29. 29
    One of De Morgan's laws states that 'not (alpha and beta)' is equivalent to '
    _____
    '.
    Hint

    Negation distributes over a conjunction by flipping the connective.

    Answer

    not alpha or not beta

  30. 30
    Another of De Morgan's laws states that 'not (alpha or beta)' is equivalent to '
    _____
    '.
    Hint

    Negation distributes over a disjunction by flipping the connective.

    Answer

    not alpha and not beta

  31. 31
    The
    _____
    law allows us to transform 'alpha and (beta or gamma)' into '(alpha and beta) or (alpha and gamma)'.
    Hint

    Similar to how multiplication distributes over addition in arithmetic.

    Answer

    distributive

  32. 32
    Treating theorem proving as a search problem, the initial state is the
    _____
    .
    Hint

    This is the starting set of all known true sentences.

    Answer

    knowledge base

  33. 33
    In theorem proving as a search problem, the available
    _____
    are any of the inference rules that can be applied.
    Hint

    These are the steps taken to generate new knowledge.

    Answer

    actions

  34. 34
    The goal test in theorem proving as a search problem is checking to see if the
    _____
    we're trying to prove is inside our knowledge base.
    Hint

    The ultimate objective of the search.

    Answer

    statement

  35. 35
    The resolution inference rule states that if we know 'P or Q' and 'not P or R', we can conclude '
    _____
    '.
    Hint

    The conflicting literal 'P' and 'not P' cancel each other out.

    Answer

    Q or R

  36. 36
    A clause is formally defined as a
    _____
    of literals, meaning things connected with 'or'.
    Hint

    Contrast with 'conjunction' which uses 'and'.

    Answer

    disjunction

  37. 37
    A
    _____
    is either a propositional symbol or the opposite (negation) of a propositional symbol.
    Hint

    Examples include P, not P, Q, not Q.

    Answer

    literal

  38. 38
    A logical sentence that is a conjunction of clauses (an 'and' of individual clauses) is in
    _____
    form.
    Hint

    This is often abbreviated as CNF.

    Answer

    conjunctive normal

  39. 39
    The first step in converting a logical formula to conjunctive normal form (CNF) is to eliminate
    _____
    .
    Hint

    This refers to the 'if and only if' statements.

    Answer

    biconditionals

  40. 40
    After eliminating biconditionals, the next step in converting to CNF is to eliminate
    _____
    .
    Hint

    This refers to the 'if/then' statements.

    Answer

    implications

  41. 41
    To move 'nots' inwards in a logical formula during CNF conversion,
    _____
    laws are applied.
    Hint

    These laws help to simplify negations of conjunctions or disjunctions.

    Answer

    De Morgan's

  42. 42
    After moving 'nots' inwards, the
    _____
    law is used to distribute 'ors' so they are on the inside of expressions, leading to CNF.
    Hint

    This helps arrange the connectives into the required structure.

    Answer

    distributive

  43. 43
    In resolution, if we resolve P and not P together, we are left with the
    _____
    , which is always false.
    Hint

    This signifies a contradiction in logic.

    Answer

    empty clause

  44. 44
    Inference by resolution tries to prove that 'knowledge base and not alpha' leads to a
    _____
    .
    Hint

    This is a common proof technique that assumes the opposite.

    Answer

    contradiction

  45. 45
    If, during inference by resolution, we produce the empty clause, then we know that our knowledge base must
    _____
    the query alpha.
    Hint

    The contradiction confirms the original statement must be true.

    Answer

    entail

  46. 46
    If, during inference by resolution, no more new clauses can be added and the empty clause has not been produced, then there is no
    _____
    .
    Hint

    This indicates that the contradiction was not found, so the assumption of 'not alpha' is not contradictory.

    Answer

    entailment

  47. 47
    Propositional logic has limitations, especially when representing complex relationships, leading to the need for more powerful logics like
    _____
    .
    Hint

    This logic introduces objects, predicates, and quantifiers.

    Answer

    first order logic

  48. 48
    In first order logic,
    _____
    symbols represent objects like people or houses.
    Hint

    These are the nouns of the logical system.

    Answer

    constant

  49. 49
    In first order logic,
    _____
    symbols represent relations or functions that take inputs and evaluate them to true or false, like 'Person' or 'BelongsTo'.
    Hint

    These describe properties or relationships between objects.

    Answer

    predicate

  50. 50
    The quantifier that allows expressing an idea that something is true for all values of a variable is called
    _____
    quantification.
    Hint

    It uses an upside-down 'A' symbol.

    Answer

    universal

  51. 51
    The quantifier that states an expression is true for at least one value of a variable is called
    _____
    quantification.
    Hint

    It uses a backwards 'E' symbol.

    Answer

    existential

  52. 52
    First order logic can express more sophisticated logical statements than propositional logic by combining constant symbols, predicate symbols, and
    _____
    .
    Hint

    These additional features include universal and existential types.

    Answer

    quantifiers

1 of 52
Question 1 of 52

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent