Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

Which is omitted in prolog unification algorithm?(a) Variable check(b) Occur check(c) Proposition check(d) Both Occur & Proposition checkThis question was addressed to me in final exam.This interesting question is from Backward Chaining topic in section Logical Agents of Artificial Intelligence

Answer» RIGHT option is (b) Occur check

Explanation: Occur check is omitted in PROLOG UNIFICATION algorithm because of unsound inferences.
2.

What form of negation does the prolog allows?(a) Negation as failure(b) Proposition(c) Substitution(d) Negation as successI got this question by my school principal while I was bunking the class.The doubt is from Backward Chaining in chapter Logical Agents of Artificial Intelligence

Answer»

The CORRECT ANSWER is (a) NEGATION as failure

For EXPLANATION: NONE.

3.

How the logic programming can be constructed?(a) Variables(b) Expressing knowledge in a formal language(c) Graph(d) All of the mentionedI got this question by my college professor while I was bunking the class.The question is from Backward Chaining topic in portion Logical Agents of Artificial Intelligence

Answer»

The correct choice is (B) EXPRESSING knowledge in a formal language

For explanation: Logic programming can be CONSTRUCTED by expressing knowledge in a formal EXPRESSION and the problem can be solved by running INFERENCE process.

4.

Which problem can frequently occur in backward chaining algorithm?(a) Repeated states(b) Incompleteness(c) Complexity(d) Both Repeated states & IncompletenessThis question was addressed to me at a job interview.This interesting question is from Backward Chaining topic in portion Logical Agents of Artificial Intelligence

Answer» RIGHT choice is (d) Both Repeated states & INCOMPLETENESS

The explanation: If there is any LOOP in the chain means, It will lead to incompleteness and repeated states.
5.

Which algorithm are in more similar to backward chaining algorithm?(a) Depth-first search algorithm(b) Breadth-first search algorithm(c) Hill-climbing search algorithm(d) All of the mentionedI got this question in an interview for job.Question is from Backward Chaining topic in portion Logical Agents of Artificial Intelligence

Answer»

The CORRECT answer is (a) Depth-first search algorithm

The best I can EXPLAIN: It is depth-first search algorithm because its SPACE requirements are LINEAR in the SIZE of the proof.

6.

What is used in backward chaining algorithm?(a) Conjuncts(b) Substitution(c) Composition of substitution(d) None of the mentionedI had been asked this question in my homework.Question is taken from Backward Chaining in chapter Logical Agents of Artificial Intelligence

Answer» CORRECT option is (C) COMPOSITION of substitution

Best EXPLANATION: NONE.
7.

How can be the goal is thought of in backward chaining algorithm?(a) Queue(b) List(c) Vector(d) StackThe question was posed to me in a job interview.This question is from Backward Chaining topic in chapter Logical Agents of Artificial Intelligence

Answer» RIGHT choice is (d) Stack

For explanation: The goals can be thought of as stack and if all of them us satisfied MEANS, then CURRENT branch of proof succeeds.
8.

What will backward chaining algorithm will return?(a) Additional statements(b) Substitutes matching the query(c) Logical statement(d) All of the mentionedThe question was posed to me in an internship interview.This key question is from Backward Chaining topic in division Logical Agents of Artificial Intelligence

Answer»

Right answer is (b) Substitutes matching the QUERY

To elaborate: It will contains the list of goals containing a single element and RETURNS the SET of all SUBSTITUTIONS SATISFYING the query.

9.

Which is mainly used for automated reasoning?(a) Backward chaining(b) Forward chaining(c) Logic programming(d) Parallel programmingI had been asked this question in unit test.I need to ask this question from Backward Chaining in portion Logical Agents of Artificial Intelligence

Answer»

Right answer is (c) LOGIC PROGRAMMING

For EXPLANATION: Logic programming is mainly used to check the WORKING process of the system.

10.

Which algorithm will work backward from the goal to solve a problem?(a) Forward chaining(b) Backward chaining(c) Hill-climb algorithm(d) None of the mentionedI have been asked this question in exam.I want to ask this question from Backward Chaining in chapter Logical Agents of Artificial Intelligence

Answer»

Right ANSWER is (b) Backward chaining

To explain I WOULD say: Backward chaining algorithm will WORK backward from the GOAL and it will chain the known facts that support the proof.

11.

How many possible sources of complexity are there in forward chaining?(a) 1(b) 2(c) 3(d) 4This question was addressed to me in homework.The query is from Forward Chaining topic in division Logical Agents of Artificial Intelligence

Answer» CORRECT choice is (c) 3

The explanation is: The THREE possible SOURCES of complexity are an inner LOOP, algorithm rechecks every rule on every iteration, algorithm might generate many facts IRRELEVANT to the goal.
12.

Which will solve the conjuncts of the rule so that the total cost is minimized?(a) Constraint variable(b) Conjunct ordering(c) Data complexity(d) All of the mentionedI got this question during an internship interview.Enquiry is from Forward Chaining in division Logical Agents of Artificial Intelligence

Answer»

Right ANSWER is (b) Conjunct ordering

The best explanation: Conjunct ordering will find an ordering to solve the conjuncts of the RULE PREMISE so that the total cost is MINIMIZED.

13.

From where did the new fact inferred on new iteration is derived?(a) Old fact(b) Narrow fact(c) New fact(d) All of the mentionedI got this question during an internship interview.I want to ask this question from Forward Chaining in chapter Logical Agents of Artificial Intelligence

Answer» RIGHT ANSWER is (C) NEW fact

Explanation: NONE.
14.

How to eliminate the redundant rule matching attempts in the forward chaining?(a) Decremental forward chaining(b) Incremental forward chaining(c) Data complexity(d) None of the mentionedThe question was posed to me in an internship interview.My question is from Forward Chaining topic in section Logical Agents of Artificial Intelligence

Answer»

Right answer is (b) Incremental FORWARD chaining

The best I can EXPLAIN: We can eliminate the redundant RULE matching ATTEMPTS in the forward chaining by using incremental forward chaining.

15.

Which knowledge base is called as fixed point?(a) First-order definite clause are similar to propositional forward chaining(b) First-order definite clause are mismatch to propositional forward chaining(c) All of the mentioned(d) None of the mentionedI have been asked this question in unit test.The query is from Forward Chaining topic in division Logical Agents of Artificial Intelligence

Answer» RIGHT answer is (a) First-order definite clause are SIMILAR to PROPOSITIONAL forward CHAINING

Explanation: Fixed POINT reached by forward chaining with first-order definiteclause are similar to those for propositional forward chaining.
16.

Which will be the instance of the class datalog knowledge bases?(a) Variables(b) No function symbols(c) First-order definite clauses(d) None of the mentionedI had been asked this question in final exam.The above asked question is from Forward Chaining in section Logical Agents of Artificial Intelligence

Answer»

Correct ANSWER is (b) No function symbols

To elaborate: If the knowledge BASE contains no function symbols MEANS, it is an INSTANCE of the class DATALOG knowledge base.

17.

Which are more suitable normal form to be used with definite clause?(a) Positive literal(b) Negative literal(c) Generalized modus ponens(d) Neutral literalThis question was posed to me in an online interview.Query is from Forward Chaining topic in section Logical Agents of Artificial Intelligence

Answer»

The CORRECT option is (C) Generalized modus ponens

To elaborate: Definite clauses are a suitable NORMAL form for use with generalized modus ponen.

18.

Which closely resembles propositional definite clause?(a) Resolution(b) Inference(c) Conjunction(d) First-order definite clausesI had been asked this question in my homework.My question is from Forward Chaining in section Logical Agents of Artificial Intelligence

Answer»

Right OPTION is (d) First-order definite clauses

Explanation: Because they are disjunction of LITERALS of which EXACTLY one is positive.

19.

Which condition is used to cease the growth of forward chaining?(a) Atomic sentences(b) Complex sentences(c) No further inference(d) All of the mentionedThis question was posed to me in an online interview.I need to ask this question from Forward Chaining in chapter Logical Agents of Artificial Intelligence

Answer»

The correct ANSWER is (c) No further inference

To EXPLAIN: FORWARD chain can grow by adding NEW atomic SENTENCES until no further inference is made.

20.

What is the condition of variables in first-order literals?(a) Existentially quantified(b) Universally quantified(c) Both Existentially & Universally quantified(d) None of the mentionedI had been asked this question in an interview for internship.Query is from Forward Chaining in division Logical Agents of Artificial Intelligence

Answer»

The correct ANSWER is (b) Universally quantified

Best explanation: First-order LITERALS will ACCEPT VARIABLES only if they are universally quantified.

21.

When the resolution is called as refutation-complete?(a) Sentence is satisfiable(b) Sentence is unsatisfiable(c) Sentence remains the same(d) None of the mentionedThe question was asked in an online quiz.The doubt is from Resolution in portion Logical Agents of Artificial Intelligence

Answer»

Correct answer is (B) Sentence is unsatisfiable

For explanation I would SAY: RESOLUTION is refutation-complete, if a set of sentence is unsatisfiable, then resolution will ALWAYS be ABLE to derive a contradiction.

22.

What will happen if two literals are identical?(a) Remains the same(b) Added as three(c) Reduced to one(d) None of the mentionedI have been asked this question in homework.I want to ask this question from Resolution in division Logical Agents of Artificial Intelligence

Answer»

Right option is (C) Reduced to one

For explanation I would say: Propositional factoring REDUCES two literals to one if they are identical.

23.

What is meant by factoring?(a) Removal of redundant variable(b) Removal of redundant literal(c) Addition of redundant literal(d) Addition of redundant variableI got this question in a national level competition.Enquiry is from Resolution in division Logical Agents of Artificial Intelligence

Answer»

The correct choice is (b) REMOVAL of redundant literal

The explanation: NONE.

24.

Which rule is equal to the resolution rule of first-order clauses?(a) Propositional resolution rule(b) Inference rule(c) Resolution rule(d) None of the mentionedI had been asked this question during an online interview.I'm obligated to ask this question of Resolution topic in chapter Logical Agents of Artificial Intelligence

Answer»

The correct choice is (a) PROPOSITIONAL resolution RULE

Explanation: The resolution rule for first-order CLAUSES is simply a LIFTED VERSION of the propositional resolution rule.

25.

At which state does the propositional literals are complementary?(a) If one variable is less(b) If one is the negation of the other(c) All of the mentioned(d) None of the mentionedI have been asked this question by my college director while I was bunking the class.My question is taken from Resolution topic in division Logical Agents of Artificial Intelligence

Answer» RIGHT choice is (B) If ONE is the negation of the other

The explanation is: Propositional literals are complementary if one is the negation of the other.
26.

Which sentence will be unsatisfiable if the CNF sentence is unsatisfiable?(a) Search statement(b) Reading statement(c) Replaced statement(d) Original statementThe question was posed to me during an interview for a job.Asked question is from Resolution topic in section Logical Agents of Artificial Intelligence

Answer»

The correct option is (d) Original STATEMENT

The BEST EXPLANATION: The CNF statement will be unsatisfiable just when the original SENTENCE is unsatisfiable.

27.

Which can be converted to inferred equivalent CNF sentence?(a) Every sentence of propositional logic(b) Every sentence of inference(c) Every sentence of first-order logic(d) All of the mentionedThe question was asked during an internship interview.Enquiry is from Resolution in chapter Logical Agents of Artificial Intelligence

Answer»

Correct answer is (c) EVERY sentence of first-order logic

For EXPLANATION I would say: Every sentence of first-order logic can be converted to inferred equivalent CNF sentence.

28.

What is the condition of literals in variables?(a) Existentially quantified(b) Universally quantified(c) Quantified(d) None of the mentionedThis question was addressed to me in class test.The question is from Resolution in portion Logical Agents of Artificial Intelligence

Answer»

The CORRECT choice is (B) Universally QUANTIFIED

Easiest explanation: Literals that CONTAIN variables are assumed to be universally quantified.

29.

What kind of clauses are available in Conjunctive Normal Form?(a) Disjunction of literals(b) Disjunction of variables(c) Conjunction of literals(d) Conjunction of variablesThe question was asked in examination.This interesting question is from Resolution in portion Logical Agents of Artificial Intelligence

Answer»

Right OPTION is (a) Disjunction of LITERALS

For explanation: First-order resolution requires the CLAUSE to be in disjunction of literals in CONJUNCTIVE NORMAL Form.

30.

Which is a refutation complete inference procedure for propositional logic?(a) Clauses(b) Variables(c) Propositional resolution(d) PropositionThis question was addressed to me in an online quiz.This key question is from Resolution in chapter Logical Agents of Artificial Intelligence

Answer»

Correct ANSWER is (c) PROPOSITIONAL resolution

The explanation: Propositional resolution is a refutation COMPLETE inference PROCEDURE for propositional logic.

31.

What can be viewed as a single lateral of disjunction?(a) Multiple clause(b) Combine clause(c) Unit clause(d) None of the mentionedThe question was asked in examination.This interesting question is from Propositional Logic topic in section Logical Agents of Artificial Intelligence

Answer» RIGHT CHOICE is (c) Unit clause

To explain I WOULD say: A single LITERAL can be viewed as a disjunction or one literal also, CALLED a unit clause.
32.

Which form is called as a conjunction of disjunction of literals?(a) Conjunctive normal form(b) Disjunctive normal form(c) Normal form(d) All of the mentionedThis question was addressed to me in a job interview.I'd like to ask this question from Propositional Logic in division Logical Agents of Artificial Intelligence

Answer»

Correct answer is (a) CONJUNCTIVE NORMAL form

The EXPLANATION: None.

33.

Which is also called single inference rule?(a) Reference(b) Resolution(c) Reform(d) None of the mentionedThis question was posed to me during an online exam.My doubt stems from Propositional Logic topic in division Logical Agents of Artificial Intelligence

Answer»

The correct choice is (b) RESOLUTION

To EXPLAIN: Because resolution yields a complete INFERENCE RULE when coupled with any search algorithm.

34.

From which rule does the modus ponens are derived?(a) Inference rule(b) Module rule(c) Both Inference & Module rule(d) None of the mentionedThe question was posed to me in an internship interview.My question is based upon Propositional Logic in division Logical Agents of Artificial Intelligence

Answer»

The correct answer is (a) Inference rule

The explanation: Inference rule contains the STANDARD PATTERN that LEADS to desired GOAL. The best form of inference rule is modus ponens.

35.

Which are needed to compute the logical inference algorithm?(a) Logical equivalence(b) Validity(c) Satisfiability(d) All of the mentionedThe question was posed to me in a national level competition.My question is from Propositional Logic in section Logical Agents of Artificial Intelligence

Answer» RIGHT option is (d) All of the mentioned

Explanation: Logical inference algorithm can be solved be USING logical equivalence, Validity and satisfiability.
36.

Which is used to compute the truth of any sentence?(a) Semantics of propositional logic(b) Alpha-beta pruning(c) First-order logic(d) Both Semantics of propositional logic & Alpha-beta pruningThis question was addressed to me in homework.My query is from Propositional Logic in division Logical Agents of Artificial Intelligence

Answer»

The correct CHOICE is (a) Semantics of propositional logic

For explanation I would SAY: Because the meaning of the sentences is REALLY NEEDED to compute the truth.

37.

How many logical connectives are there in artificial intelligence?(a) 2(b) 3(c) 4(d) 5I have been asked this question in exam.Origin of the question is Propositional Logic topic in chapter Logical Agents of Artificial Intelligence

Answer»

Correct OPTION is (d) 5

For explanation: The five LOGICAL SYMBOLS are negation, conjunction, disjunction, implication and biconditional.

38.

How many proposition symbols are there in artificial intelligence?(a) 1(b) 2(c) 3(d) 4I have been asked this question in an interview for internship.The query is from Propositional Logic in portion Logical Agents of Artificial Intelligence

Answer»

Right OPTION is (b) 2

To explain: The TWO proposition symbols are true and FALSE.

39.

Which is used to construct the complex sentences?(a) Symbols(b) Connectives(c) Logical connectives(d) All of the mentionedThis question was posed to me during a job interview.My question comes from Propositional Logic topic in section Logical Agents of Artificial Intelligence

Answer»

Correct OPTION is (c) LOGICAL connectives

Best explanation: NONE.

40.

Which is created by using single propositional symbol?(a) Complex sentences(b) Atomic sentences(c) Composition sentences(d) None of the mentionedThe question was posed to me in quiz.The doubt is from Propositional Logic in division Logical Agents of Artificial Intelligence

Answer» RIGHT answer is (b) ATOMIC sentences

The best I can explain: Atomic sentences are INDIVISIBLE syntactic elements CONSISTING of single propositional symbol.
41.

First Order Logic is also known as ___________(a) First Order Predicate Calculus(b) Quantification Theory(c) Lower Order Calculus(d) All of the mentionedThis question was posed to me in an internship interview.Asked question is from First-Order Logic topic in chapter Logical Agents of Artificial Intelligence

Answer» RIGHT OPTION is (d) All of the mentioned

For EXPLANATION: NONE.
42.

A Term is either an individual constant (a 0-ary function), or a variable, or an n-ary function applied to n terms: F(t1 t2 ..tn).(a) True(b) FalseI have been asked this question in homework.Question is taken from First-Order Logic in chapter Logical Agents of Artificial Intelligence

Answer» CORRECT choice is (a) True

Explanation: Definition of TERM in FOL.
43.

The statement comprising the limitations of FOL is/are ____________(a) Expressiveness(b) Formalizing Natural Languages(c) Many-sorted Logic(d) All of the mentionedThe question was asked during an interview for a job.My doubt stems from First-Order Logic topic in division Logical Agents of Artificial Intelligence

Answer»

Right option is (d) All of the mentioned

Best explanation: The Löwenheim–Skolem theorem shows that if a first-order theory has any infinite model, then it has infinite models of every cardinality. In PARTICULAR, no first-order theory with an infinite model can be CATEGORICAL. Thus there is no first-order theory whose only model has the set of NATURAL numbers as its domain, or whose only model has the set of real numbers as its domain. Many extensions of first-order logic, including infinitely logics and higher-order logics, are more expressive in the sense that they do permit categorical axiomatizations of the natural numbers or real numbers. This expressiveness comes at a meta-logical cost, however: by Lindström’s theorem, the compactness theorem and the downward Löwenheim–Skolem theorem cannot hold in any logic stronger than first-order.

Formalizing Natural Languages : First-order logic is able to formalize many simple quantifier constructions in natural language, such as “every person who lives in PERTH lives in Australia”. But there are many more complicated FEATURES of natural language that cannot be expressed in (single-sorted) first-order logic.

Many-sorted Logic: Ordinary first-order interpretations have a single domain of discourse over which all quantifiers range. Many-sorted first-order logic allows variables to have different sorts, which have different domains.

44.

A _________ is used to demonstrate, on a purely syntactic basis, that one formula is a logical consequence of another formula.(a) Deductive Systems(b) Inductive Systems(c) Reasoning with Knowledge Based Systems(d) Search Based SystemsThe question was posed to me in exam.This intriguing question originated from First-Order Logic topic in chapter Logical Agents of Artificial Intelligence

Answer» CORRECT CHOICE is (a) Deductive Systems

Best explanation: REFER the definition of Deductive based systems.
45.

There exist only two types of quantifiers, Universal Quantification and Existential Quantification.(a) True(b) FalseI have been asked this question during an interview.My question is from First-Order Logic topic in portion Logical Agents of Artificial Intelligence

Answer» RIGHT ANSWER is (a) True

To EXPLAIN: NONE.