Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations

UGC NET Computer Science Previous Year Questions (PYQs)

UGC NET Computer Science Artificial Intelligence (AI) PYQ


UGC NET Computer Science PYQ
The process of removing details from a given state representation is called ______





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2020 (Paper II) PYQ

Solution

Abstraction means hiding or removing unnecessary details and keeping only important information.

So, removing details from a state representation is called abstraction.

UGC NET Computer Science PYQ
Which of the following is NOT true in problem solving in artificial intelligence?





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2020 (Paper II) PYQ

Solution

AI problem solving commonly uses heuristic search.

In AI, solution steps may not always be explicit, and knowledge may be imprecise.

Repetition mechanism is mainly a feature of conventional algorithmic programming, not a special feature of AI problem solving.

UGC NET Computer Science PYQ
Which of the following is not a property of a good system for representation of knowledge in a particular domain?





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2023 (Paper II) PYQ

Solution

A good knowledge representation system has the following properties:

Representational adequacy

Inferential adequacy

Inferential efficiency

Acquisitional efficiency

Here, “Presentation adequacy” is not a standard property.

UGC NET Computer Science PYQ
For the fuzzy set
$A = {(x_1,0.3),(x_2,0.7),(x_3,0.4)}$, the complement of $A$ would be represented as:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2024 (Paper II) PYQ

Solution

Complement of fuzzy set:


$\mu_{A'}(x) = 1 - \mu_A(x)$


Compute:


$x_1$: $1 - 0.3 = 0.7$

$x_2$: $1 - 0.7 = 0.3$

$x_3$: $1 - 0.4 = 0.6$


Thus,


$A' = {(x_1,0.7),(x_2,0.3),(x_3,0.6)}$


UGC NET Computer Science PYQ
Which of the following is not the most common property in social network?





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2024 (Paper II) PYQ

Solution

Common properties of social networks:


• Scale-free degree distribution → True

• Small world property → True

• Short average path length → True


However, most social networks are not necessarily directed; many are modeled as undirected networks.


Thus the statement that is not a common property is:


UGC NET Computer Science PYQ
Which is not the component of the natural language understanding process?






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2023 (Paper II) PYQ

Solution

Morphological analysis, semantic analysis and pragmatic analysis are standard components of natural language understanding.


Meaning analysis is not a standard separate component because meaning is covered under semantic analysis.


UGC NET Computer Science PYQ
Which is not a basic approach to the problem of conflict resolution in a production system?





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2023 (Paper II) PYQ

Solution

In a production system, conflict resolution can be based on the rule matched, the object matched, or the action of the matched rule.


But assigning preference based on the action that the matched object would perform is not a standard conflict resolution approach.


UGC NET Computer Science PYQ
n a database, a rule is defined as $((P_1 \text{ and } P_2) \text{ or } P_3) \to R_1(0.8)$ and $R_2(0.3)$, where $P_1, P_2, P_3$ are premises and $R_1, R_2$ are conclusions of rules with certainty factors $(CF)$ $0.8$ and $0.3$ respectively. If any running program has produced $P_1, P_2, P_3$ with $CF$ as $0.5, 0.8, 0.2$ respectively, find the $CF$ of results on the basis of premises.





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Sep 2022 (Paper II) PYQ

Solution

Given,

$CF(P_1)=0.5,\ CF(P_2)=0.8,\ CF(P_3)=0.2$

For AND operation,

$CF(P_1 \text{ and } P_2)=\min(0.5,0.8)=0.5$

For OR operation,

$CF((P_1 \text{ and } P_2) \text{ or } P_3)=\max(0.5,0.2)=0.5$

Now,

$CF(R_1)=0.5 \times 0.8=0.40$

$CF(R_2)=0.5 \times 0.3=0.15$

UGC NET Computer Science PYQ
Which of the following statements are true?

(A) A sentence $\alpha$ entails another sentence $\beta$ if $\beta$ is true in few worlds where $\alpha$ is true.

(B) Forward chaining and backward chaining are very natural reasoning algorithms for knowledge bases in Horn form.

(C) Sound inference algorithms derive all sentences that are entailed.

(D) Propositional logic does not scale to environments of unbounded size.

Choose the correct answer from the options given below:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2020 (Paper II) PYQ

Solution

Statement (A) is false.

Entailment means if $\alpha$ is true, then $\beta$ must be true in all models where $\alpha$ is true.

Correct definition is:

$\alpha\models\beta$

means $\beta$ is true in every model in which $\alpha$ is true.

But statement (A) says few worlds, so it is false.

Statement (B) is true.

Forward chaining and backward chaining are natural reasoning algorithms for Horn form knowledge bases.

Statement (C) is false.

Sound inference algorithm derives only those sentences that are logically entailed.

But deriving all entailed sentences is the property of completeness, not soundness.

Statement (D) is true.

Propositional logic does not scale well to environments of unbounded size because it cannot represent general rules using variables and quantifiers.

Therefore, true statements are (B) and (D).

UGC NET Computer Science PYQ
Which of the following statements are true?

(A) Minimax search is breadth-first; it processes all the nodes at a level before moving to a node in next level.

(B) The effectiveness of the alpha-beta pruning is highly dependent on the order in which the states are examined.

(C) The alpha-beta search algorithm computes the same optimal moves as minimax algorithm.

(D) Optimal play in games of imperfect information does not require reasoning about the current and future belief states of each player.

Choose the correct answer from the options given below:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2020 (Paper II) PYQ

Solution

Minimax search is generally implemented using depth-first search, not breadth-first search.

Statement (B) is true.

Alpha-beta pruning depends highly on the order in which states are examined.

If the best moves are examined first, more pruning is possible.

Statement (C) is true.

Alpha-beta pruning does not change the final result of minimax.

It only reduces the number of nodes examined.

So, alpha-beta search computes the same optimal move as minimax.

Statement (D) is false.

In games of imperfect information, optimal play requires reasoning about current and future belief states of each player.

Therefore, true statements are (B) and (C).

UGC NET Computer Science PYQ
Arrange the following examples of Artificial Intelligence (AI) in the order of increasing complexity:

A. Spam email detection using rule-based systems
B. Handwritten digit recognition using shallow neural networks
C. Image classification using convolutional neural networks
D. Autonomous driving using reinforcement learning algorithms

Choose the correct answer from the options given below :





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2024 (Paper II) PYQ

Solution

Complexity increases as follows:


Rule-based system → simplest

Shallow neural network → moderate complexity

CNN image classification → more complex

Autonomous driving → highly complex system


Thus increasing order:


A → B → C → D


UGC NET Computer Science PYQ
Match List I with List II.
List I List II
(A) Branch-and-bound (I) Keeps track of all partial paths which can be candidate for further exploration.
(B) Steepest-accent hill climbing (II) Detects difference between current state and goal state.
(C) Constraint satisfaction (III) Discover problem state(s) that satisfy a set of constraints.
(D) Means-end-analysis (IV) Consider all moves from current state and select best move.
Choose the correct answer from the options given below:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2020 (Paper II) PYQ

Solution

Branch-and-bound keeps track of partial paths which can be candidates for further exploration.

So, (A) matches with I.

Steepest-accent hill climbing considers all possible moves from the current state and selects the best move.

So, (B) matches with IV.

Constraint satisfaction means finding state or states that satisfy a given set of constraints.

So, (C) matches with III.

Means-end-analysis detects the difference between current state and goal state.

So, (D) matches with II.

Final matching is:

A-I, B-IV, C-III, D-II

UGC NET Computer Science PYQ
Which of the following is not a mutation operator in a genetic algorithm?

A. Random resetting

B. Scramble

C. Inversion

D. Difference

Choose the correct answer from the options given below:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2023 (Paper II) PYQ

Solution

Random resetting, scramble and inversion are mutation operators in genetic algorithms.

Difference is not a standard mutation operator.

UGC NET Computer Science PYQ
Match List I with List II.
List I List II
(A) Greedy Best-First Search (I) Space complexity is $O(d)$ where $d$ is depth of the deepest optimal solution.
(B) $A^*$ (II) Incomplete even if the search space is finite.
(C) Recursive Best-First Search (III) Optimal if the optimal solution is reachable; otherwise, returns the best reachable optimal solution.
(D) $SMA^*$ (IV) Computation and space complexity are too high.
Choose the correct answer from the options given below:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2020 (Paper II) PYQ

Solution

Greedy Best-First Search selects the node that appears closest to the goal according to heuristic value.

It may get trapped and can be incomplete even if the search space is finite.

So, (A) matches with II.

$A^*$ search is optimal and complete under proper conditions, but its computation and space complexity are very high because it stores many generated nodes.

So, (B) matches with IV.

Recursive Best-First Search uses limited memory and its space complexity is linear in depth.

So, (C) matches with I.

$SMA^*$ means Simplified Memory-Bounded $A^*$.

It is optimal if the optimal solution is reachable within available memory; otherwise, it returns the best reachable solution.

So, (D) matches with III.

Final matching is:

A-II, B-IV, C-I, D-III

UGC NET Computer Science PYQ
In Genetic Algorithm’s cross over operation, mask is used in?





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2024 (Paper II) PYQ

Solution

In uniform crossover, a mask (binary mask) determines which parent contributes each gene.


Thus mask-based crossover = uniform crossover.


UGC NET Computer Science PYQ
Match List I with List II
 LIST I

LIST II 

 A. Expert system

 I. Decision tree

 B. Fuzzy system

 II. Scramble

 C. Operator in genetic algorithm

 III. Inference engine

 D. Supervised technique

 IV. Mycin

Choose the correct answer from the options given below:






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2023 (Paper II) PYQ

Solution

Expert system is related to Mycin.

Fuzzy system uses an inference engine.

Scramble is an operator in genetic algorithm.

Decision tree is a supervised learning technique.

So,

A – IV, B – III, C – II, D – I

UGC NET Computer Science PYQ
The Cardinality of a fuzzy set is:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2024 (Paper II) PYQ

Solution

In fuzzy set theory, cardinality is the sum of membership values:

$|A| = \sum \mu_A(x)$

The result depends on membership values and may vary.


UGC NET Computer Science PYQ
The parameter Actual count is used in Genetic Algorithm (GA) for:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2024 (Paper II) PYQ

Solution

In genetic algorithms, Actual Count refers to the expected number of copies of a chromosome in the next generation, used in selection (fitness proportionate selection).


UGC NET Computer Science PYQ

For the following Parents in figure (1) and (2):

Which is correct?






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2024 (Paper II) PYQ

Solution

The right parts of the parents are exchanged:


Parent₁: 10110 | 010

Parent₂: 10101 | 111


After crossover:


Child₁: 10110 | 111

Child₂: 10101 | 010


This is exactly what is shown in figure (2).


Thus it represents one-point crossover.


UGC NET Computer Science PYQ
Which of the following structures of knowledge representation are the most purely syntactic?

A. Conceptual dependency
B. Predicate logic
C. Slot-and-filler
D. Nonmonotonic systems





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2024 (Paper II) PYQ

Solution

Predicate logic → symbolic syntactic structure

Slot-and-filler → symbolic frame representation


Conceptual dependency → semantic

Nonmonotonic systems → reasoning method


UGC NET Computer Science PYQ
Given below are two statements:

Statement I: A genetic algorithm is a stochastic hill-climbing search in which a large population of states is maintained.

Statement II: In nondeterministic environments, agents can apply AND-OR search to generate contingent plans that reach the goal regardless of which outcomes occur during execution.

In the light of the above statements, choose the correct answer from the options given below:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2020 (Paper II) PYQ

Solution

Statement I is incorrect.

A genetic algorithm maintains a population of states, but it is generally considered a variant of stochastic beam search, not simple stochastic hill-climbing.

Hill-climbing usually works with one current state, while genetic algorithm works with a population of states and uses selection, crossover and mutation.

So, Statement I is false.

Statement II is true.

In nondeterministic environments, actions may have more than one possible outcome.

AND-OR search is used to handle such situations.

It generates contingent plans, where the next action depends on the outcome that actually occurs.

So, Statement II is true.

Therefore, Statement I is incorrect but Statement II is true.

UGC NET Computer Science PYQ
In a game playing search tree, upto which depth $\alpha-\beta$ pruning can be applied?

(A) Root $(0)$ level

(B) $6$ level

(C) $8$ level

(D) Depends on utility value in a breadth first order

Choose the correct answer from the options given below:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Sep 2022 (Paper II) PYQ

Solution

$\alpha-\beta$ pruning is an optimization technique used with the minimax algorithm in game playing search trees.

It can be applied at any depth of the game tree.

It is not restricted to only one particular level.

Now check each statement:

(A) Root $(0)$ level

At the root level, $\alpha$ and $\beta$ values are initialized and the search starts from this level.

So, $\alpha-\beta$ pruning can be applied from root level.

Therefore, statement (A) is correct.

(B) $6$ level

If the game tree is searched up to depth $6$, then $\alpha-\beta$ pruning can be applied up to level $6$.

Therefore, statement (B) is correct.

(C) $8$ level

Similarly, if the game tree is searched up to depth $8$, then $\alpha-\beta$ pruning can also be applied up to level $8$.

Therefore, statement (C) is correct.

(D) Depends on utility value in a breadth first order

This is incorrect because $\alpha-\beta$ pruning is normally applied using depth first search, not breadth first search.

It depends on $\alpha$ and $\beta$ values during depth first minimax search.

Therefore, only (A), (B) and (C) are correct.

UGC NET Computer Science PYQ
Arrange the following steps in proper sequence involved in a Genetic Algorithm :

(A) Selection
(B) Initialization
(C) Crossover
(D) Mutation
(E) Evaluation

Choose the correct answer from the options given below :





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science August 2024 (Paper II) PYQ

Solution

Typical steps of Genetic Algorithm:

Initialization

Evaluation

Selection

Crossover

Mutation

Thus order:

(B) → (E) → (A) → (C) → (D)

UGC NET Computer Science PYQ

Match List - I with List - II.


 List - I

 List - II

 (A) The activation function
 (I) is called the delta rule.
 (B) The learning method of perceptron
 (II) is one of the key components of the perceptron as in the most common neural network architecture.
 (C) Areas of application of artificial neural network include
 (III) is always boolean like a switch.
 (D) The output of the perceptron

 (IV) system identification and control.

Choose the correct answer from the options given below :






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science August 2024 (Paper II) PYQ

Solution

Activation function → key component of neural network → (II)

Learning rule of perceptron → called delta rule → (I)

Applications of ANN → system identification and control → (IV)

Output of perceptron → boolean (0 or 1) like a switch → (III)

Thus

(A) → (II)
(B) → (I)
(C) → (IV)
(D) → (III)

UGC NET Computer Science PYQ
Match List I with List II:
List-IList-II
(A) Ontological Engineering(I) Organizing subclass relations
(B) Taxonomy Hierarchy(II) Organizing knowledge into categories and sub-categories
(C) Inheritance(III) Attaches a number with each possibility
(D) Probability Modes(IV) Representing concepts, events, time, and physical concepts of different domains
Choose the correct answer from the options given below:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Sep 2022 (Paper II) PYQ

Solution

We have to match each AI concept with its correct meaning.

Ontological Engineering is used for representing knowledge of a domain.

It represents concepts, events, time and physical concepts of different domains.

So,

$(A)-(IV)$

Taxonomy Hierarchy organizes knowledge into categories and sub-categories.

It arranges concepts in a hierarchical structure.

So,

$(B)-(II)$

Inheritance is related to subclass relations.

In inheritance, lower-level classes can inherit properties from higher-level classes.

So,

$(C)-(I)$

Probability Modes are used to attach a number or probability value with each possibility.

So,

$(D)-(III)$

Final matching is:

$(A)-(IV), (B)-(II), (C)-(I), (D)-(III)$

UGC NET Computer Science PYQ
Which search technique is complete and optimal, when $h(n)$ is consistent?





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2022 Shift I (Paper II) PYQ

Solution

When heuristic function $h(n)$ is consistent, $A^*$ search is complete and optimal.

So, correct option is:

$\boxed{(c)\ A^*\ \text{Search}}$

UGC NET Computer Science PYQ
What is the process of capturing inference process as a single inference rule?





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2022 Shift I (Paper II) PYQ

Solution

Generalized modus ponens captures the inference process as a single inference rule.

UGC NET Computer Science PYQ
Fuzzy logic is a form of ____





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2022 Shift I (Paper II) PYQ

Solution

Fuzzy logic allows truth values between $0$ and $1$.

So, it is a form of many valued logic.

So, correct option is:

$\boxed{(d)\ \text{Many valued logic}}$

UGC NET Computer Science PYQ
The $4$ Ws problem canvas helps in identifying the key elements related to the problem. $4$ Ws problem canvas is a part of ____





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2022 Shift I (Paper II) PYQ

Solution

The $4$ Ws problem canvas is used in the problem scoping stage.

It helps identify key problem elements like who, what, where and why.

UGC NET Computer Science PYQ
Consider the game tree given below. Here circular nodes represent $MIN$ nodes and rectangular nodes represent $MAX$ nodes. The value of the root node of the game tree is:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2019 (Paper II) PYQ

Solution

The root node is a $MAX$ node.

In minimax method:

$MAX$ node selects the maximum value from its children.

$MIN$ node selects the minimum value from its children.

From the left subtree, the minimum level gives values such that the final value of the left side becomes

$7$

From the right subtree, the available minimum values make the right side value less than or equal to $5$.

Now, root is a $MAX$ node, so it selects maximum of left and right subtree values.

$\max(7,\le 5)=7$

Hence, the value of the root node is

$7$


UGC NET Computer Science PYQ
Match List-I with List-II:
List-I List-II
(a) Greedy best-first (i) Minimal cost $p+h(p)$
(b) Lowest cost-first (ii) Minimal $h(p)$
(c) $A^*$ Algorithm (iii) Minimal cost $p$
Choose the correct option from those given below:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2019 (Paper II) PYQ

Solution

Greedy best-first search selects the node with minimum heuristic value.

So,

$(a)\rightarrow(ii)$

Lowest cost-first search selects the node with minimum path cost.

So,

$(b)\rightarrow(iii)$

$A^*$ algorithm selects the node using cost plus heuristic value.

So,

$(c)\rightarrow(i)$

Therefore, the correct matching is

$(a)-(ii);\ (b)-(iii);\ (c)-(i)$


UGC NET Computer Science PYQ
The STRIPS representation is:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2019 (Paper II) PYQ

Solution

STRIPS is used in AI planning.

In STRIPS, actions are represented using:

Preconditions
Add list
Delete list

So, it mainly describes how actions change the state of the world.

Therefore, STRIPS representation is an action-centric representation.


UGC NET Computer Science PYQ
A fuzzy conjunction operator denoted as $t(x,y)$ and a fuzzy disjunction operator denoted as $s(x,y)$ form a dual pair if they satisfy the condition:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2019 (Paper II) PYQ

Solution

For fuzzy conjunction and fuzzy disjunction to be dual, they must satisfy De Morgan type relation.

The duality condition is:

$t(x,y)=1-s(1-x,1-y)$


UGC NET Computer Science PYQ
Let $A_{\alpha_0}$ denotes the $\alpha$-cut of a fuzzy set $A$ at $\alpha_0$. If $\alpha_1<\alpha_2$, then:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2019 (Paper II) PYQ

Solution

In fuzzy sets, a higher $\alpha$-cut gives a smaller or equal set.

Since,

$\alpha_1<\alpha_2$

the cut at $\alpha_1$ will contain all elements of the cut at $\alpha_2$.

So,

$A_{\alpha_1}\supseteq A_{\alpha_2}$



UGC NET Computer Science PYQ

Consider the following methods:

$M1$: Mean of maximum
$M2$: Centre of area
$M3$: Height method

Which of the following is/are defuzzification method(s)?






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2019 (Paper II) PYQ

Solution

Defuzzification converts fuzzy output into a crisp value.

Mean of maximum is a defuzzification method.

Centre of area is also a defuzzification method.

Height method is also used for defuzzification.

Therefore, all $M1,M2$ and $M3$ are defuzzification methods.


UGC NET Computer Science PYQ

Consider the following:

$(a)$ Evolution
$(b)$ Selection
$(c)$ Reproduction
$(d)$ Mutation

Which of the following are found in genetic algorithms?






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2019 (Paper II) PYQ

Solution

Genetic algorithms are based on the idea of natural evolution.

They use selection to choose better individuals.

They use reproduction to create new generations.

They use mutation to introduce variations.

So, evolution, selection, reproduction and mutation are all related to genetic algorithms.


UGC NET Computer Science PYQ

Consider the following table defining the sample inputs and corresponding target values for a perceptron model.

Sample No x1 x2 target w1 w2
S100000
S2011
S3101
S4111

What shall be the value of updated weights after applying all the samples S1 to S4 (in the order S1, S2, S3, S4) to this model. Given that the initial weights w1=0, w2=0, learning rate=0.1 and no bias is involved in the perceptron. The activation function for this perceptron is given below:

yobserved = { 1 if yin > 0
0 if yin < 0 }

  1. w1 = 0.1, w2 = 0.1
  2. w1 = 0.0, w2 = 0.2
  3. w1 = 0.0, w2 = 0.1
  4. w1 = 0.2, w2 = 0.2





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science 26 June 2025 (Paper II) PYQ

Solution

Using perceptron learning rule: Δw = η (t − y) x, where y = 1 if yin > 0 else 0.

S1 (0,0,t=0): yin=0 ⇒ y=0 ⇒ no change ⇒ (w1,w2)=(0,0)

S2 (0,1,t=1): yin=0 ⇒ y=0 ⇒ Δw=0.1(1−0)(0,1) ⇒ (w1,w2)=(0,0.1)

S3 (1,0,t=1): yin=0 ⇒ y=0 ⇒ Δw=0.1(1−0)(1,0) ⇒ (w1,w2)=(0.1,0.1)

S4 (1,1,t=1): yin=0.1+0.1=0.2>0 ⇒ y=1 ⇒ no change

Final Weights: w1=0.1, w2=0.1

Answer: (1)


UGC NET Computer Science PYQ
Given below are two statements:

Statement I: "Grandparent is a parent of one's parent".

Statement II: First Order Predicate Logic (FOPL) representation of above statement is

$\forall g,c\ grandparent(g,c)\Leftrightarrow \exists p\ parent(g,p)\land parent(p,c)$

In the light of the above statements, choose the most appropriate answer from the options given below:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Sep 2022 (Paper II) PYQ

Solution

Statement I says:

Grandparent is a parent of one's parent.

This is correct.

For example, if $g$ is parent of $p$ and $p$ is parent of $c$, then $g$ is grandparent of $c$.

Now check Statement II:

$\forall g,c\ grandparent(g,c)\Leftrightarrow \exists p\ parent(g,p)\land parent(p,c)$

This means:

For all $g$ and $c$, $g$ is grandparent of $c$ if and only if there exists some $p$ such that $g$ is parent of $p$ and $p$ is parent of $c$.

This is the correct FOPL representation of the grandparent relation.

Therefore, both Statement I and Statement II are correct.

UGC NET Computer Science PYQ
According to Dempster-Shafer theory for uncertainty management, where $Bel(A)$ denotes belief of event $A$.





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2019 (Paper II) PYQ

Solution

In probability theory,

$P(A)+P(\neg A)=1$

But in Dempster-Shafer theory, belief values need not add up to $1$ because some uncertainty may remain unassigned.

So,

$Bel(A)+Bel(\neg A)\le 1$


UGC NET Computer Science PYQ

Consider the game tree given below.

Here $\circ$ and $\square$ represent MIN and MAX nodes respectively. The value of the root node of the game tree is:






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2019 (Paper II) PYQ

Solution

In the given game tree:

$\square$ represents MAX node

$\circ$ represents MIN node

So, we evaluate the tree from bottom to top using the minimax rule.

At MIN node, minimum value is selected.

At MAX node, maximum value is selected.

From the left side of the tree:

$\min(17,19)=17$

After applying MAX and MIN levels, the left subtree gives value:

$17$

From the right side of the tree:

The available minimum values include $15$ and $14$, so the right subtree gives a value less than $17$.

At the root node, we have MAX node.

So root will select maximum value:

$\max(17,14)=17$

Therefore, the value of the root node is:

$17$


UGC NET Computer Science PYQ

Consider the following models:

$M_1:$ Mamdani model
$M_2:$ Takagi-Sugeno-Kang model
$M_3:$ Kosko's additive model $($SAM$)$

Which of the following option contains examples of additive rule model?






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2019 (Paper II) PYQ

Solution

Additive rule models combine the contribution of rules in an additive manner.

Takagi-Sugeno-Kang model is an additive rule model.

Kosko's Standard Additive Model $($SAM$)$ is also an additive rule model.

Mamdani model is not generally considered an additive rule model in this classification.

So, examples of additive rule model are:

$M_2$ and $M_3$


UGC NET Computer Science PYQ

A fuzzy conjunction operator $t(x,y)$ and a fuzzy disjunction operator $s(x,y)$ form a pair if they satisfy:

$t(x,y)=1-s(1-x,1-y)$

If $t(x,y)=\dfrac{xy}{x+y-xy}$, then $s(x,y)$ is given by:






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2019 (Paper II) PYQ

Solution

Given:

$t(x,y)=1-s(1-x,1-y)$

So,

$s(x,y)=1-t(1-x,1-y)$

Now,

$t(1-x,1-y)=\dfrac{(1-x)(1-y)}{(1-x)+(1-y)-(1-x)(1-y)}$

Numerator:

$(1-x)(1-y)=1-x-y+xy$

Denominator:

$(1-x)+(1-y)-(1-x)(1-y)$

$=2-x-y-(1-x-y+xy)$

$=1-xy$

So,

$t(1-x,1-y)=\dfrac{1-x-y+xy}{1-xy}$

Now,

$s(x,y)=1-\dfrac{1-x-y+xy}{1-xy}$

$s(x,y)=\dfrac{1-xy-1+x+y-xy}{1-xy}$

$s(x,y)=\dfrac{x+y-2xy}{1-xy}$


UGC NET Computer Science PYQ

Let $W_{ij}$ represents weight between node $i$ at layer $k$ and node $j$ at layer $(k-1)$ of a given multilayer perceptron. The weight updation using gradient descent method is given by:






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2019 (Paper II) PYQ

Solution

In gradient descent, weights are updated in the opposite direction of the gradient.

The general rule is:

$New\ Weight=Old\ Weight-\alpha\times Gradient$

Here,

$\alpha$ is the learning rate.

So,

$W_{ij}(t+1)=W_{ij}(t)-\alpha\dfrac{\partial E}{\partial W_{ij}}$


UGC NET Computer Science PYQ
The order of schema $?10?101?$ and $???0??1$ are $...............$ and $...............$ respectively.





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2019 (Paper II) PYQ

Solution

In genetic algorithm, the order of a schema is the number of fixed positions.

Fixed positions are symbols other than $?$

For schema $?10?101?$:

Fixed symbols are:

$1,\ 0,\ 1,\ 0,\ 1$

So, order is:

$5$

For schema $???0??1$:

Fixed symbols are:

$0,\ 1$

So, order is:

$2$


UGC NET Computer Science PYQ

Consider the following draw backs is/are of Rule based approach is/are:

A. The learning is static.

B. Any changes made to the original data will not be considered.

C. Once trained the model cannot improve on the basis of feedback.

Choose the correct answer from the options given below:






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2022 Shift I (Paper II) PYQ

Solution

In rule based approach, rules are fixed manually.

Learning is static because the system does not automatically update itself.

Changes in original data are not automatically considered.

It cannot improve automatically based on feedback.

So, all statements A, B and C are correct.

Correct option is:

$\boxed{(a)\ \text{All the above statements are correct}}$


UGC NET Computer Science PYQ

. Let the population of chromosomes in genetic algorithm is represented in terms of binary number. The strength of fitness of a chromosome in decimal form, $x$, is given by

$Sf(x)=\dfrac{f(x)}{\sum f(x)}$ where $f(x)=x^2$

The population is given by $P$ where:

$P={(01101),(11000),(01000),(10011)}$

The strength of fitness of chromosome $(11000)$ is $...............$






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2019 (Paper II) PYQ

Solution

Convert chromosomes into decimal form:

$(01101)_2=13$

$(11000)_2=24$

$(01000)_2=8$

$(10011)_2=19$

Now calculate $f(x)=x^2$

For $13$:

$f(13)=13^2=169$

For $24$:

$f(24)=24^2=576$

For $8$:

$f(8)=8^2=64$

For $19$:

$f(19)=19^2=361$

Now,

$\sum f(x)=169+576+64+361=1170$

Strength of fitness for chromosome $(11000)$:

$Sf(24)=\dfrac{576}{1170}$

$Sf(24)=0.4923$

In percentage:

$0.4923\times 100=49.23%\approx 49.2$


UGC NET Computer Science PYQ
Match List I with List II
 List I

 List II

 A. Linear Program
 I. Prim's Algorithm
 B. Predicate Logic
II. In order
 
 C. Tree Traversal
 III. Simplex Algorithm
 D. Minimum Spanning Tree Problem

 IV. First order logic






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2022 Shift I (Paper II) PYQ

Solution

Linear Program is solved by Simplex Algorithm.

Predicate Logic is also called First order logic.

Tree Traversal includes In order traversal.

Minimum Spanning Tree Problem can be solved by Prim's Algorithm.

So,

A → III
B → IV
C → II
D → I

Correct option is:

$\boxed{(b)\ A-III,\ B-IV,\ C-II,\ D-I}$


UGC NET Computer Science PYQ
Considering the following statements:

A. Data transformation is involved in Data mining process.
B. Online database is used in Data warehouse.
C. Classification is a measure of accuracy.
D. K-means clustering algorithm is based on the concept of minimizing the within-cluster variance.
E. Pattern evaluation is a process to identify knowledge based on interestingness measure.





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science 26 June 2025 (Paper II) PYQ

Solution

B – True: Data warehouses are used for online analytical processing (OLAP).
D – True: K-means minimizes within-cluster sum of squares (variance).
E – True: Pattern evaluation identifies useful patterns using interestingness measures.
A – Data transformation happens before mining (in preprocessing).
C – Classification is a process, not a measure of accuracy.

UGC NET Computer Science PYQ

Match List I with List II

List I (Operations on Fuzzy Sets) List II (Description)
A. Intersection IV. $\min(\mu_A(x), \mu_B(x))$
B. Bounded Sum III. $\min(1, \mu_A(x) + \mu_B(x))$
C. Bounded Difference II. $\max(0, \mu_A(x) - \mu_B(x))$
D. Algebraic Sum I. $\mu_A(x) + \mu_B(x) - \mu_A(x)\mu_B(x)$

Choose the correct answer from the options given below:






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science 26 June 2025 (Paper II) PYQ

Solution

Explanation:

  • A → IV → Intersection → $\min(\mu_A(x), \mu_B(x))$
  • B → III → Bounded Sum → $\min(1, \mu_A(x) + \mu_B(x))$
  • C → II → Bounded Difference → $\max(0, \mu_A(x) - \mu_B(x))$
  • D → I → Algebraic Sum → $\mu_A(x) + \mu_B(x) - \mu_A(x)\mu_B(x)$

UGC NET Computer Science PYQ

Consider the following:

(a) Trapping at local maxima

(b) Reaching a plateau

(c) Traversal along the ridge.

Which of the following option represents shortcomings of the hill climbing algorithm?






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2019 (Paper II) PYQ

Solution

Hill climbing algorithm has some common limitations.

It may get trapped at a local maximum.

It may reach a plateau where all neighboring states have almost same value.

It may face difficulty while traversing along a ridge.

So, all three are shortcomings of hill climbing algorithm.


UGC NET Computer Science PYQ
Consider the graph given below. What is the order in which the nodes mentioned in the options are to be traversed to find the shortest path from A to Z using best first search?
A. Node-A
B. Node-B
C. Node-C
D. Node-D
E. Node-E

Choose the correct answer from the options given below:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2022 Shift I (Paper II) PYQ

Solution

Using best first search, we always choose the next node with the minimum available cost.

From $A$:

$A \to C = 2$

$A \to F = 7$

So, choose $C$.

From $C$:

$C \to F = 3$

$C \to B = 10$

So, choose $F$.

From $F$:

$F \to D = 1$

$F \to E = 6$

So, choose $D$.

From $D$:

$D \to E = 2$

$D \to Z = 7$

So, choose $E$.

From $E$:

$E \to Z = 4$

Hence, the traversal order before reaching $Z$ is:

$A \to C \to F \to D \to E$

Correct option is:

$\boxed{(a)\ A \to C \to F \to D \to E}$


UGC NET Computer Science PYQ
Consider the following steps involved in the application of Genetic Algorithm for a problem:
A. Select a pair of parents from the population
B. Apply mutation at each locus with probability $p_m$
C. Calculate fitness of each member of the population
D. Apply crossover with probability $p_c$ to form offsprings
Choose the correct answer from the options given below describing the correct order of the above steps:





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science 26 June 2025 (Paper II) PYQ

Solution

The correct sequence in a Genetic Algorithm is — C: Calculate fitness of each member of the population. A: Select a pair of parents based on fitness. D: Apply crossover ($p_c$) to form offspring. B: Apply mutation ($p_m$) to maintain diversity. Hence, the correct order is C → A → D → B.

UGC NET Computer Science PYQ
Match List – I with List – II.
 List – I

 List – II

 (A) Natural language processing
 (I) A method of training algorithm by rewarding desired behaviour and/or punishing undesired one.

 (B) Reinforcement learning
 (II) System designed to emulate the decision making abilities of a human expert.

 (C) Support vector machine
 (III) A branch of AI focused on understanding and generating human language.

 (D) Expert system

 (IV) A machine learning technique that finds the hyperplane that best separates different classes in a feature space.

Choose the correct answer from the options given below :






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science August 2024 (Paper II) PYQ

Solution

(A) Natural language processing → Understanding human language → (III)

(B) Reinforcement learning → Reward and punishment learning → (I)

(C) Support vector machine → Hyperplane classification method → (IV)

(D) Expert system → Decision making like human expert → (II)

UGC NET Computer Science PYQ
Read the below passage and answer the questions.

Artificial Neural Networks (ANNs) are computational models inspired by the human brain’s neural networks. They consist of interconnected nodes, or neurons, organized into layers: an input layer, one or more hidden layers and an output layer. Each connection between neurons has a weight that adjusts as learning progresses allowing the network to adapt and improve its performance. ANNs are particularly effective in recognizing patterns making them valuable for tasks such as image and speech recognition, natural language processing and predictive analytics. Learning in ANNs typically involves training algorithms like back propagation, which minimize the error by adjusting the weights. As a subset of machine learning, ANNs have revolutionized the field of Artificial Intelligence by providing solutions to complex problems that traditional algorithms struggle with.

Which of the following is/are the application area(s) of ANN ?

(A) Natural Language Processing
(B) Image Processing
(C) Pattern Recognition
(D) Speech Recognition

Choose the correct answer from the options given below :






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science August 2024 (Paper II) PYQ

Solution

The passage clearly states that ANNs are useful in:

• Image recognition
• Speech recognition
• Natural language processing
• Pattern recognition

Thus all listed areas are applications of ANN.

UGC NET Computer Science PYQ
Which of the following is NOT a parent selection technique used in genetic algorithm implementations?





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science 26 June 2025 (Paper II) PYQ

Solution

Common parent selection methods in Genetic Algorithms include —
Roulette Wheel Selection
Tournament Selection
Rank Selection
Boltzmann Selection
“Radial” is not a valid selection technique.

UGC NET Computer Science PYQ
Read the below passage and answer the questions.

Artificial Neural Networks (ANNs) are computational models inspired by the human brain’s neural networks. They consist of interconnected nodes, or neurons, organized into layers: an input layer, one or more hidden layers and an output layer. Each connection between neurons has a weight that adjusts as learning progresses allowing the network to adapt and improve its performance. ANNs are particularly effective in recognizing patterns making them valuable for tasks such as image and speech recognition, natural language processing and predictive analytics. Learning in ANNs typically involves training algorithms like back propagation, which minimize the error by adjusting the weights. As a subset of machine learning, ANNs have revolutionized the field of Artificial Intelligence by providing solutions to complex problems that traditional algorithms struggle with.


Which of the following layers may be more than one in number?






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science August 2024 (Paper II) PYQ

Solution

In an Artificial Neural Network:

• Input layer → usually only one
• Output layer → usually only one
• Hidden layers → can be one or more layers

Thus the layer that may be more than one is hidden layer.

UGC NET Computer Science PYQ
Which agent deals with the happy and unhappy state?





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2021 (Paper II) PYQ

Solution

Utility-based agent works with utility value.

Utility value tells how good or bad a state is for the agent.

A happy state means higher utility.

An unhappy state means lower utility.

So, the agent that deals with happy and unhappy states is Utility-based agent.

UGC NET Computer Science PYQ
Read the below passage and answer the questions.

Artificial Neural Networks (ANNs) are computational models inspired by the human brain’s neural networks. They consist of interconnected nodes, or neurons, organized into layers: an input layer, one or more hidden layers and an output layer. Each connection between neurons has a weight that adjusts as learning progresses allowing the network to adapt and improve its performance. ANNs are particularly effective in recognizing patterns making them valuable for tasks such as image and speech recognition, natural language processing and predictive analytics. Learning in ANNs typically involves training algorithms like back propagation, which minimize the error by adjusting the weights. As a subset of machine learning, ANNs have revolutionized the field of Artificial Intelligence by providing solutions to complex problems that traditional algorithms struggle with.


Artificial Neural Networks (ANNs) are inspired by:






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science August 2024 (Paper II) PYQ

Solution

The passage states that ANN models are inspired by the human brain’s neural networks.

UGC NET Computer Science PYQ
Given below are two statements

Statement I: Breadth-First Search is optimal when all the step costs are equal whereas uniform-cost search is optimal with any step-cost.
Statement II: When all the step costs are same uniform-cost search expands more nodes at depth $d$ than the Breadth-First Search.
In light of the above statements, choose the correct answer from the options given below.





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2021 (Paper II) PYQ

Solution

Utility-based agent works with utility value.

Utility value tells how good or bad a state is for the agent.

A happy state means higher utility.

An unhappy state means lower utility.

So, the agent that deals with happy and unhappy states is Utility-based agent.Breadth-First Search gives optimal solution when all step costs are equal.

Uniform-cost search gives optimal solution when step costs may be different but non-negative.

So, Statement I is true.

When all step costs are same, Uniform-cost search behaves like Breadth-First Search.
It expands nodes in increasing path-cost order, which becomes same as increasing depth order.
So, it does not expand more nodes at depth $d$ than Breadth-First Search.
Therefore, Statement II is false.

UGC NET Computer Science PYQ
Read the below passage and answer the questions.

Artificial Neural Networks (ANNs) are computational models inspired by the human brain’s neural networks. They consist of interconnected nodes, or neurons, organized into layers: an input layer, one or more hidden layers and an output layer. Each connection between neurons has a weight that adjusts as learning progresses allowing the network to adapt and improve its performance. ANNs are particularly effective in recognizing patterns making them valuable for tasks such as image and speech recognition, natural language processing and predictive analytics. Learning in ANNs typically involves training algorithms like back propagation, which minimize the error by adjusting the weights. As a subset of machine learning, ANNs have revolutionized the field of Artificial Intelligence by providing solutions to complex problems that traditional algorithms struggle with.


What is the role of weights in an ANN?






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science August 2024 (Paper II) PYQ

Solution

Weights represent the strength of connections between neurons.
During training, weights are adjusted to reduce error and improve performance.

UGC NET Computer Science PYQ
Consider the given tree below. Calculate the value at the root of the tree using alpha‐beta pruning algorithm.







Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2021 (Paper II) PYQ

Solution

Root node $A$ is a Max node.

Nodes $B$ and $C$ are Min nodes.

Nodes $D,E,F,G$ are Max nodes.

First calculate Max node values:

$D=\max(3,5)=5$

$E=\max(6,9)=9$

$F=\max(1,2)=2$

$G=\max(0,-1)=0$

Now calculate Min node values:

$B=\min(D,E)=\min(5,9)=5$

$C=\min(F,G)=\min(2,0)=0$

Now root node $A$ is Max node:

$A=\max(B,C)=\max(5,0)=5$

Hence, the value at the root is $5$.

UGC NET Computer Science PYQ
Which among the following statement(s) is(are) FALSE?

A. Greedy best-first search is not optimal but is often efficient.

B. $A^*$ is complete and optimal provided $h(n)$ is admissible or consistent.

C. Recursive best-first search is efficient in terms of time complexity but poor in terms of space complexity.

D. $h(n)=0$ is an admissible heuristic for the $8$-puzzle.





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2021 (Paper II) PYQ

Solution

Statement A is true because greedy best-first search is generally not optimal, but it is often efficient.

Statement B is true because $A^*$ is optimal when the heuristic is admissible, and consistency is a stronger condition.

Statement C is false because recursive best-first search uses less memory, so it is good in terms of space complexity, but it may be poor in time because nodes can be regenerated.

Statement D is true because $h(n)=0$ never overestimates the actual cost, so it is admissible.

Therefore, only statement C is false.

UGC NET Computer Science PYQ
Consider the sentence below.

There is a country that borders both India and Pakistan.

Which of the following logical expressions express the above sentence correctly when the predicate $Country(x)$ represents that $x$ is a country and $Borders(x,y)$ represents that the countries $x$ and $y$ share the border?





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2021 (Paper II) PYQ

Solution


The sentence says there exists some country $c$.

So, we use existential quantifier:

$\exists c$

That country must satisfy three conditions:

$c$ is a country.

$c$ borders India.

$c$ borders Pakistan.

So, the correct expression is:

$\exists c\ [Country(c)\land Border(c,India)\land Border(c,Pakistan)]$

Option (b) is incorrect because implication does not force $c$ to be a country that borders both.

Option (c) is incorrect because it separates existence of country from border condition.

Option (d) is syntactically incorrect because $Country(c)$ is a predicate, not an object to be used inside $Border$.

UGC NET Computer Science PYQ
Consider a domain consisting of three Boolean variables Toothache, Cavity, and Catch. The full joint distribution is a $2\times2\times2$ table as shown below.
toothache$\neg$toothache
catch$\neg$catchcatch$\neg$catch
cavity$0.108$$0.012$$0.072$$0.008$
$\neg$cavity$0.016$$0.064$$0.144$$0.576$
The marginal probability of cavity $P(cavity)$ is __________.





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2021 (Paper II) PYQ

Solution

Marginal probability means we add all probabilities where $cavity$ is true.

From the table, cavity row values are:

$0.108,\ 0.012,\ 0.072,\ 0.008$

So,

$P(cavity)=0.108+0.012+0.072+0.008$

$P(cavity)=0.200$

UGC NET Computer Science PYQ
Consider a domain consisting of three Boolean variables Toothache, Cavity, and Catch. The full joint distribution is a $2\times2\times2$ table as shown below.
toothache$\neg$toothache
catch$\neg$catchcatch$\neg$catch
cavity$0.108$$0.012$$0.072$$0.008$
$\neg$cavity$0.016$$0.064$$0.144$$0.576$
The probability of a cavity, given evidence of a toothache, $P(cavity\mid toothache)$ is ________.





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2021 (Paper II) PYQ

Solution

We need:

$P(cavity\mid toothache)=\frac{P(cavity\cap toothache)}{P(toothache)}$

From table,

$P(cavity\cap toothache)=0.108+0.012=0.120$

Also,

$P(toothache)=0.108+0.012+0.016+0.064=0.200$

So,

$P(cavity\mid toothache)=\frac{0.120}{0.200}=0.600$

UGC NET Computer Science PYQ
Consider the following steps used by a knowledge base designer to represent a world:
A. Selects atoms to represent propositions
B. Ask questions about intended interpretation
C. Choose a task domain
D. Axiomatizing the domain





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science 26 June 2025 (Paper II) PYQ

Solution

The typical steps in Knowledge Representation (KR) are:
1️⃣Choose a task domain — identify the world/problem area.
2️⃣ Select atoms — define propositions/variables to describe the domain.
3️⃣ Axiomatize the domain — establish logical rules and relationships.
4️⃣ Ask questions about interpretation — ensure the knowledge base correctly models the real world.

UGC NET Computer Science PYQ
Consider a domain consisting of three Boolean variables Toothache, Cavity, and Catch. The full joint distribution is a $2\times2\times2$ table as shown below.
toothache$\neg$toothache
catch$\neg$catchcatch$\neg$catch
cavity$0.108$$0.012$$0.072$$0.008$
$\neg$cavity$0.016$$0.064$$0.144$$0.576$
The probability of a toothache, given evidence of a cavity, $P(toothache\mid cavity)$ is ________.





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2021 (Paper II) PYQ

Solution


$P(toothache\mid cavity)=\frac{P(toothache\cap cavity)}{P(cavity)}$

From table,

$P(toothache\cap cavity)=0.108+0.012=0.120$

Also,

$P(cavity)=0.108+0.012+0.072+0.008=0.200$

So,

$P(toothache\mid cavity)=\frac{0.120}{0.200}=0.600$

UGC NET Computer Science PYQ
Consider a domain consisting of three Boolean variables Toothache, Cavity, and Catch. The full joint distribution is a $2\times2\times2$ table as shown below.
toothache$\neg$toothache
catch$\neg$catchcatch$\neg$catch
cavity$0.108$$0.012$$0.072$$0.008$
$\neg$cavity$0.016$$0.064$$0.144$$0.576$
$P(cavity\vee toothache)$ is ________.





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2021 (Paper II) PYQ

Solution

We need:

$P(cavity\vee toothache)=P(cavity)+P(toothache)-P(cavity\cap toothache)$

From table,

$P(cavity)=0.200$

$P(toothache)=0.108+0.012+0.016+0.064=0.200$

$P(cavity\cap toothache)=0.108+0.012=0.120$

So,

$P(cavity\vee toothache)=0.200+0.200-0.120=0.280$

UGC NET Computer Science PYQ
Consider a domain consisting of three Boolean variables Toothache, Cavity, and Catch. The full joint distribution is a $2\times2\times2$ table as shown below.
toothache$\neg$toothache
catch$\neg$catchcatch$\neg$catch
cavity$0.108$$0.012$$0.072$$0.008$
$\neg$cavity$0.016$$0.064$$0.144$$0.576$
The probability for Cavity, given that either Toothache or Catch is true, $P(Cavity\mid toothache\vee catch)$ is ________.





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Nov 2021 (Paper II) PYQ

Solution

We need:

$P(Cavity\mid toothache\vee catch)=\frac{P(Cavity\cap(toothache\vee catch))}{P(toothache\vee catch)}$

Numerator:

$P(Cavity\cap(toothache\vee catch))=0.108+0.012+0.072=0.192$

Denominator:

$P(toothache\vee catch)=1-P(\neg toothache\cap \neg catch)$

$=1-(0.008+0.576)=0.416$

So,

$P(Cavity\mid toothache\vee catch)=\frac{0.192}{0.416}=0.4615$


UGC NET Computer Science PYQ
Consider the following statements regarding Agent systems:
A. Agent system comprises of an agent and an environment on which it acts
B. The controller part of an agent receives percepts from its body and sends commands to the environment
C. Agents act in the world through actuators which are non-noisy and always reliable
D. The actuators of an agent convert stimuli into percepts





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science 26 June 2025 (Paper II) PYQ

Solution

(A) ✅ Correct — An agent system indeed consists of an agent and its environment.
(B) ✅ Correct — The controller part receives percepts and sends commands (actions).
(C) ❌ Incorrect — Actuators are not always reliable; environments can be noisy.
(D) ❌ Incorrect — Sensors, not actuators, convert stimuli into percepts.
✅ Therefore, only A and B are true.

UGC NET Computer Science PYQ
Which of the following is not a valid property over two fuzzy relations $\tilde R$ and $\tilde S$ for performing $\lambda$-cut defuzzifications?

1. $(\tilde R \cup \tilde S)\lambda=\tilde R\lambda\cup \tilde S_\lambda$ 
2. $(\tilde R \cap \tilde S)\lambda=\tilde R\lambda\cap \tilde S_\lambda$ 
3. $(\overline{\tilde R})\lambda\neq \tilde R\lambda\ \text{except when }\lambda=1$
4. For any $\lambda\le \beta$, where $0\le \beta\le1$, it is true that $R_\beta\subseteq R_\lambda$





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science 26 June 2025 (Paper II) PYQ

Solution

For a fuzzy set $A$, the $\lambda$-cut is defined as: $$A_\lambda = \{x \mid \mu_A(x) \ge \lambda\}$$

  • Union Property: $(A \cup B)_\lambda = A_\lambda \cup B_\lambda$ ✅
  • Intersection Property: $(A \cap B)_\lambda = A_\lambda \cap B_\lambda$ ✅
  • Monotonicity: If $\lambda \le \beta$, then $A_\beta \subseteq A_\lambda$ ✅
  • Complement: $\mu_{\overline{A}}(x) = 1 - \mu_A(x)$ ⇒ $(\overline{A})_\lambda = \{x \mid 1 - \mu_A(x) \ge \lambda\} = \{x \mid \mu_A(x) \le 1 - \lambda\}$ ❌

Hence, $(\overline{A})_\lambda$ is not equal to $A_\lambda$, even when $\lambda = 1$. Therefore, the statement “except when $\lambda = 1$” is incorrect.

✅ Final Answer: Option 3 is not valid.


UGC NET Computer Science PYQ
List I (GA termination criteria) List II (description)
A. Worst Individual I. At least half of the individual will be better than or equal to convergence value
B. Best Individual II. Guarantees that virtually all individuals in the population will be within a particular fitness range
C. Sum of Fitness III. Guarantees that the entire population to be of a minimum standard
D. Median Fitness IV. Faster search convergence, guaranteeing at least one best solution






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science 26 June 2025 (Paper II) PYQ

Solution

Binary of 8 = 1000 Gray code is obtained by XORing each bit with the next bit. → MSB remains same. → Remaining bits: perform XOR with the bit to its left. So, $1000 \rightarrow 1100$

UGC NET Computer Science PYQ
STRIPS Representation of a Planning Problem
A. STRIPS is a feature-centric representation
B. The features describing the state of the world are divided into Primitive and Derived
C. The STRIPS representation of the action comprises of Preconditions and Effects
D. STRIPS can directly define conditional effects





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science 26 June 2025 (Paper II) PYQ

Solution

A: Incorrect — STRIPS is state-centric, not feature-centric.
B: Correct — STRIPS divides world state features into primitive and derived predicates.
C: Correct — STRIPS action representation includes Preconditions and Effects.
D: Incorrect — STRIPS cannot directly handle conditional effects; this is supported in extensions like ADL.

UGC NET Computer Science PYQ
The $A^*$ algorithm is optimal when,





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2022 Shift II (Paper II) PYQ

Solution

$A^*$ algorithm uses the evaluation function:

$f(n)=g(n)+h(n)$

where,

$g(n)$ is the cost from start node to current node.

$h(n)$ is the estimated cost from current node to goal node.

$A^*$ is optimal when the heuristic function $h$ is admissible.

Admissible means:

$h(n)$ never overestimates the actual cost.

So, $A^*$ always finds the solution with the lowest total cost when $h$ is admissible.


UGC NET Computer Science PYQ
Which Artificial Intelligence technique enables computers to understand the associations and relationships between objects and Events?





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2022 Shift II (Paper II) PYQ

Solution

The question asks about understanding associations and relationships between objects and events.

In Artificial Intelligence, symbolic representation is used to represent facts, objects, events, and their relationships.

Here, "Relative symbolism" means representing relationships among different objects and events using symbols.

Heuristic processing is used for problem-solving using rules of thumb.

Cognitive science studies human thinking and intelligence.

Pattern matching is used to identify similar patterns.

So, the technique related to associations and relationships is Relative symbolism.


UGC NET Computer Science PYQ

Where does the values of alpha-beta search get updated?






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2022 Shift II (Paper II) PYQ

Solution

In alpha-beta pruning, two values are maintained:

$ \alpha $ = best value found so far for MAX player

$ \beta $ = best value found so far for MIN player

These values are updated while moving along the search path in the game tree.

So, alpha and beta values do not update only at the initial state or only at the end.

They are updated along the path of search.


UGC NET Computer Science PYQ
Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R.

Assertion A: Dendral is an expert system

Reason R: The rationality of an agent is not related to its reaction to the environment.

In the light of the above statements, choose the correct answer from the options
given below.





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2023 (Paper II) PYQ

Solution

Dendral is an expert system. It was a groundbreaking AI project developed in the 1960s and 1970s aimed at automatically deducing the structure of organic molecules based on their mass spectrometry data. So, assertion A is correct. 

The second statement, however, is incorrect. The rationality of an agent in AI is very much related to its reaction to its environment. Rational agents should be able to make decisions based on their perceptions of the environment in order to achieve the best possible outcome or, in the case of uncertainty, the best expected outcome. Therefore, reason R is false

UGC NET Computer Science PYQ
Which of the following is not a solution representation in a genetic algorithm?
1.Binary valued
2.Real valued
3.Permutation
4.Combinations





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2023 (Paper II) PYQ

Solution

In a genetic algorithm, solution representation refers to how the potential solutions, or individuals in the population, are encoded. The given options can be categorized as follows:

• Binary valued: Represents solutions using binary encoding, where each gene is typically represented as either 0 or 1.

• Real valued: Represents solutions using real numbers, allowing for a more continuous representation.

• Permutation: Represents solutions as permutations of elements, where the order of elements matters.

• Combinations: This is not a standard representation in genetic algorithms. While permutations represent ordered arrangements, combinations represent unordered selections of elements. Genetic algorithms typically use representations that capture the structure and relationships among elements, and combinations may not be suitable for many optimization problems.


UGC NET Computer Science PYQ

Which AI System mimics the evolutionary process to generate increasingly better solutions to a problem?

I. Self organizing neural network.
II. Back propagation neural network.
III. Genetic algorithm.
IV. Forward propagation neural network.

Choose the correct answer from the options given below:






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2022 Shift II (Paper II) PYQ

Solution

A Genetic Algorithm is based on the idea of natural selection and evolution.

It improves solutions using operations like:

Selection
Crossover
Mutation

So, the AI system that mimics the evolutionary process is:

III. Genetic algorithm


UGC NET Computer Science PYQ
Given below are two statements:

Statement I: Fuzzifier is a part of a fuzzy system

Statement II: Inference engine is a part of fuzzy system

In the light of the above statements, choose the most appropriate answer from the options given below.





Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2023 (Paper II) PYQ

Solution

A fuzzy system generally includes fuzzifier, knowledge base, inference engine, and defuzzifier.

Statement I: Fuzzifier is a part of a fuzzy system. Correct.

Statement II: Inference engine is a part of fuzzy system. Correct.

UGC NET Computer Science PYQ

Match List I with List II

 List-I

 List-II

a. Text planning
I. Natural language understanding
b. Sentence planning

II. Natural language generation

 
c. Sentence generation

d. Map the input to useful representations


Choose the correct answer from the options given below:






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science Dec 2022 Shift II (Paper II) PYQ

Solution

Text planning is a part of Natural Language Generation.

So,

a → II

Sentence planning is also a part of Natural Language Generation.

So,

b → II

Sentence generation is also a part of Natural Language Generation.

So,

c → II

Mapping the input to useful representations is a part of Natural Language Understanding.

So,

d → I

Correct matching:

a-II, b-II, c-II, d-I


UGC NET Computer Science PYQ

For the fuzzy sets

$A = {(x_1,0.3), (x_2,0.7), (x_3,0.4)}$ and

$B = {(x_1,0.5), (x_2,0.2), (x_3,0.5)}$, the $A \cap B$ would be:






Go to Discussion

UGC NET Computer Science UGC NET PYQ UGC NET Computer Science UGC NET Computer Science June 2024 (Paper II) PYQ

Solution

For fuzzy sets, the intersection operation is defined as:

$\mu_{A \cap B}(x) = \min(\mu_A(x), \mu_B(x))$

Now compute for each element:

$x_1$ : $\min(0.3, 0.5) = 0.3$
$x_2$ : $\min(0.7, 0.2) = 0.2$
$x_3$ : $\min(0.4, 0.5) = 0.4$

Thus,

$A \cap B = {(x_1,0.3),(x_2,0.2),(x_3,0.4)}$



UGC NET Computer Science


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

UGC NET Computer Science


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Limited Seats
× Aspire MCA Promotion

Game Changer NIMCET Test Series 2026

Boost your preparation with mock tests, analysis and rank-focused practice.

JOIN NOW
Ask Your Question or Put Your Review.

loading...