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

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
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 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
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
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 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


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

Ask Your Question or Put Your Review.

loading...