Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.
Soft Computing important questions with answers
Each answer starts with the short answer. Then come the points to write, a diagram and an exam tip. The questions under each topic are copied from the RGPV papers.
Q1. Knowledge representation and reasoning: predicate logic, resolution, forward and backward, monotonic and non monotonic
Asked 8 times in 2014, 2015, 2016, 2017, 2018, 2019, 2020 · Unit 1
From the papers
“Differentiate the following: i) Forward Reasoning Vs Backward Reasoning ii) Monotonic Reasoning Vs Non Monotonic Reasoning” (Jun 2016, Nov 2019)
“Consider the following sentences: a) Marcus was a man. b) Marcus was a Roman. c) All men are people. d) Caesar was a ruler. e) All Romans were either loyal to Caesar or hated him (or both). f) Everyone is loyal to someone. g) People only try to assassinate rulers they are not loyal to. h) Marcus tried to assassinate Caesar. I. Translate above sentences into predicate logic. II. Convert them into clausal form. III. Prove using resolution that Marcus hated Caesar.” (Jun 2020)
“Describe the various issues in knowledge representation with suitable example.” (May 2018)
“What are the properties of good knowledge representation technique? Explain each of them in brief.” (Jun 2017)
The short answer
Knowledge representation stores facts in a form a program can reason with, such as predicate logic. Resolution proves a statement by adding its negation and deriving a contradiction. Forward reasoning goes from facts to goals, while backward reasoning goes from the goal to the facts.
With 4 and 8: ¬person(Marcus). With 3: ¬man(Marcus). With 1: the empty clause. So hate(Marcus, Caesar) is proved.
Real-life example
A detective lists every fact about a case, assumes the suspect is innocent and keeps checking facts until the assumption breaks. That is proof by resolution. A doctor who starts from symptoms works forward. A doctor who suspects malaria and orders a test to confirm it works backward.
Figure: proof by resolution
Same or opposite: forward and backward reasoning
Point
Forward
Backward
Same or opposite
Direction
Facts to goal
Goal to facts
Opposite
Uses rules
Yes
Yes
Same
Good when
Few facts, many goals
One clear goal
Opposite
Example
Monitoring systems
Diagnosis
Opposite
Exam tip. Number every sentence, write it in logic, convert to clauses and show each resolution step. Examiners give marks for every correct clause.
Q2. Error back propagation: MLP, activation functions, derivation, momentum, characteristics
Asked 7 times in 2014, 2015, 2016, 2017, 2018, 2019 · Unit 3
From the papers
“Give the mathematical derivation of error back propagation algorithm when activation function is sigmoidal. Also explain the importance of momentum in EBPA.” (Jun 2016, Nov 2019)
“What is Multi-layer perceptron? Explain different types of activation functions.” (Dec 2016, Nov 2019)
“Define activation function. Explain the purpose of activation function in multilayer neural networks. Give any two activation functions.” (May 2018)
“Write the characteristics and applications of Error Back Propagation Algorithm.” (May 2018)
The short answer
Error back propagation (EBPA) trains a multi-layer perceptron. It passes the input forward to get an output and measures the error. Then it sends the error backward and changes every weight a little to reduce the error (gradient descent).
Write these points
Activation functions
Function
Formula
Range
Step
1 if net > 0 else 0
0 or 1
Sigmoid
1 ÷ (1 + e^−net)
0 to 1
Tanh
(e^net − e^−net) ÷ (e^net + e^−net)
−1 to 1
ReLU
max(0, net)
0 to ∞
A sigmoid is used instead of a step because it is smooth. Its derivative f′ = f(1 − f) exists everywhere, so gradient descent can work.
Derivation with a sigmoid
Error E = ½ Σ (t_k − o_k)².
Output unit: δ_k = (t_k − o_k) o_k (1 − o_k).
Hidden unit: δ_j = o_j (1 − o_j) Σ_k δ_k w_jk.
Weight change: Δw_ij = η δ_j x_i.
With momentum: Δw(t) = η δ x + α Δw(t − 1), with α about 0.9.
Momentum, characteristics and limits
Momentum speeds learning on flat parts and damps zig-zags.
Learns any smooth mapping with enough hidden units.
Limits: slow, can stop in local minima, needs many samples, learning rate must be tuned.
Applications: handwriting and speech recognition, forecasting, medical diagnosis.
One weight update.
Input x = 1, weight w = 0.5, target t = 1, learning rate η = 0.5.
Forward: net = 0.5, o = 1 ÷ (1 + e^−0.5) = 0.6225.
Δw = 0.5 × 0.0887 × 1 = 0.0444. New w = 0.5444, so the next output moves closer to 1.
Real-life example
A cricket coach watches a bowler's wide ball and corrects the run-up, then the wrist, then the release, each by a small amount. The correction flows back from the result to every step that caused it. Back propagation corrects each weight in the same way.
Figure: a multi-layer perceptron with forward and backward passes
Same or opposite: single layer perceptron and MLP with back propagation
Point
Single layer
MLP with EBPA
Same or opposite
Hidden layers
None
One or more
Opposite
Solves XOR
No
Yes
Opposite
Learns from labelled examples
Yes
Yes
Same
Activation
Step
Sigmoid or similar
Opposite
Exam tip. Draw the three layer network. Write the four equations of the derivation in order, then one line on momentum. A small numeric update earns extra marks.
Asked 7 times in 2014, 2015, 2016, 2018, 2020 · Unit 3
From the papers
“What are the difference in learning approach of counter propagations network to feed forward network.” (Dec 2016, Jun 2020)
“Explain the working of counter propagation network by giving its architecture.” (May 2018, Dec 2020)
“Explain counter propagation network in terms of the following: i) Architecture ii) Functioning iii) Characteristics” (Jun 2016)
“Explain the architecture of counter propagations algorithm.” (Dec 2016)
The short answer
A counter propagation network (CPN) joins two layers trained in different ways. The Kohonen layer groups inputs by competition (unsupervised). The Grossberg layer maps the winning group to the desired output (supervised). It learns much faster than back propagation.
Write these points
Architecture
Input layer: passes the input vector.
Kohonen (competitive) layer: each unit has a weight vector; the closest one wins.
Grossberg (outstar) layer: gives the output tied to the winner.
Functioning
Find the winner: the Kohonen unit with the smallest distance ‖x − w‖.
Update only the winner: w = w + α (x − w).
Then update the Grossberg weights of the winner: v = v + β (t − v).
In use, the winner's Grossberg weights are the output.
Learning compared with a feed forward (EBPA) network
Point
CPN
Feed forward with EBPA
Training
Competitive, then supervised
Fully supervised
Weights changed
Only the winner's
All weights
Speed
Fast
Slow
Accuracy
Like a lookup table
Smooth mapping
Characteristics and uses
Works as a look-up table that generalises.
Full CPN can map both ways (x to y and y to x).
Used for data compression, pattern mapping, image classification.
In a school, students first sort themselves into houses by who is most like whom (Kohonen layer). Then each house captain is told what uniform colour the house wears (Grossberg layer). A new student finds the nearest house and gets its colour.
Figure: counter propagation network
Same or opposite: Kohonen layer and Grossberg layer
Point
Kohonen
Grossberg
Same or opposite
Learning
Unsupervised
Supervised
Opposite
Rule
Winner takes all
Outstar
Opposite
Part of CPN
Yes
Yes
Same
Output
Index of winner
Final output
Opposite
Exam tip. Draw the three layers with the winner marked. Write the two update rules. Add the table if the question compares CPN with feed forward learning.
Q4. Associative memory, BAM, Hopfield and recurrent networks
Asked 7 times in 2014, 2015, 2016, 2017, 2019, 2020 · Unit 3
From the papers
“What do you understand by Associative Memory?” (Jun 2015, Dec 2016, Jun 2016)
“Consider the two pairs of patterns with bipolar symbols. Calculate the weights for 2 x 2 Bidirectional Associative Memory (BAM).” (Jun 2017, Nov 2019)
“Differentiate hopfield with Boltzmann machine.” (Jun 2016)
“What is recurrent network? Explain stability constraints.” (Jun 2016)
The short answer
An associative memory recalls a stored pattern from a partial or noisy cue, by content and not by address. A BAM (bidirectional associative memory) stores pairs (A, B) and recalls in both directions. A Hopfield network is a single layer recurrent network that settles into a stored pattern.
Write these points
Types
Auto-associative (HAM, Hopfield): recalls the same pattern from a noisy copy.
Hetero-associative (BAM): recalls B from A and A from B.
Hopfield and recurrent network
Every unit feeds back to every other. Weights are symmetric (w_ij = w_ji) and w_ii = 0.
Stability constraint: with symmetric weights an energy function falls at each update, so the net settles.
Limits: capacity about 0.15 N patterns for N units; can fall into false (spurious) states.
Uses: noise removal, simple optimisation such as small TSP.
W = sum = rows (0 0 0 0), (−2 2 −2 2), (2 −2 2 −2).
Check: A1 W = (−4, 4, −4, 4), sign = B1. A2 W = (4, −4, 4, −4), sign = B2. Both pairs are recalled.
Real-life example
Hearing the first two lines of an old Bollywood song brings back the whole song. That is auto-associative memory. Seeing a friend's face and remembering their phone number is hetero-associative, like BAM.
Figure: BAM with the June 2017 weight matrix
Same or opposite: auto-associative and hetero-associative memory
Point
Auto (Hopfield)
Hetero (BAM)
Same or opposite
Recall
Same pattern
Paired pattern
Opposite
Layers
One
Two
Opposite
Stores patterns in weights
Yes
Yes
Same
Uses Hebb's rule
Yes
Yes
Same
Exam tip. Define associative memory and give the two types. For BAM, show W = Σ AᵀB and check one recall. For Hopfield, state the symmetric weight condition.
Q5. Genetic algorithm operators: selection, crossover and mutation
Asked 7 times in 2014, 2016, 2017, 2018, 2020 · Unit 5
From the papers
“Explain different types of mutation function in Genetic Algorithm?” (Jun 2017, Dec 2020)
“What is cross over? Explain various types of cross over operators used in GA.” (Jun 2016)
“Under the reproduction phase of genetic algorithm what are the various selection techniques and which is the most effective of the rest.” (Dec 2016)
“What is Reproduction? Give various methods of selecting chromosomes for parents to cross over.” (Jun 2014)
The short answer
A genetic algorithm uses three operators. Selection picks fitter strings as parents. Crossover mixes two parents to make children. Mutation flips a few bits to keep variety.
Write these points
Selection methods
Method
How it works
Roulette wheel
Chance in proportion to fitness
Tournament
Pick k strings at random; the best one wins
Rank
Chance by rank, not by raw fitness
Elitism
Copy the best few unchanged
Tournament selection is often the most effective: it is simple, fast and keeps pressure even when fitness values are close.
Crossover types
Single point: swap tails after one cut.
Two point: swap the middle part.
Uniform: each bit from either parent by a coin toss.
Order and PMX crossover for permutations such as TSP routes.
Mutation types
Bit flip (binary strings).
Swap and inversion (permutations).
Random resetting or Gaussian (real numbers).
Usual rate: 0.001 to 0.05 per bit.
Roulette and tournament on four strings.
Fitness of 13, 5, 10, 3 is 2.44, 3.44, 3.75, 2.44. Total = 12.06.
A random number 0.55 falls in 0.49 to 0.80, so string 10 is chosen.
Tournament of two: 13 and 5 are picked; 5 wins because 3.44 > 2.44.
Real-life example
Choosing a college cricket team is like selection: better players are more likely to be picked. Two good players training together and sharing skills is crossover. One player trying a brand new shot is mutation. It may fail, but sometimes it wins the match.
Figure: single point crossover and bit flip mutation
Same or opposite: crossover and mutation
Point
Crossover
Mutation
Same or opposite
Parents needed
Two
One
Opposite
Rate
High, about 0.6 to 0.9
Low, about 0.01
Opposite
Makes new strings
Yes
Yes
Same
Main role
Exploit good parts
Explore new parts
Opposite
Exam tip. Give a table for each operator, then draw single point crossover with real bits. Name the best selection method and give one reason.
Q6. Working of a genetic algorithm: steps, fitness function, generation cycle, worked maximisation
Asked 7 times in 2014, 2015, 2016, 2017, 2018, 2020 · Unit 5
From the papers
“Let a function f(x) = x − x²/16 be defined on the interval [0, 31]. Apply Genetic Algorithm for determining the maximum of the given function (Assume suitable missing data).” (Jun 2017, Dec 2020)
“Explain in detail the generation cycle of genetic algorithm.” (Dec 2016, Dec 2020)
“Explain the steps of Genetic Algorithm (GA).” (May 2018)
“Mention the role of fitness function in GA and what are the requirements of GA?” (Jun 2017)
The short answer
A genetic algorithm (GA) is a search method based on Darwin's idea of survival of the fittest. It keeps a population of coded solutions and improves it generation by generation through selection, crossover and mutation. The fitness function scores how good each solution is.
Write these points
Steps
Encode a solution as a string (binary for x in 0 to 31: 5 bits).
Create a random initial population.
Evaluate fitness of each string.
Select parents.
Apply crossover and mutation.
Form the new generation.
Repeat until the best fitness stops improving.
Role of the fitness function
It is the only link between the GA and the problem.
It must give a higher value for a better solution.
It must be quick to compute, because it runs thousands of times.
Requirements of a problem for GA
Solutions can be coded as strings.
A fitness value can be computed for any string.
Maximise f(x) = x − x²/16 on [0, 31] (December 2020 and June 2017).
Population: 13 (01101), 5 (00101), 10 (01010), 3 (00011). f = 2.44, 3.44, 3.75, 2.44. Average = 3.02.
Selected pairs: (10, 5) cut after bit 3 gives 9 (01001) and 6 (00110). (10, 13) cut after bit 4 gives 11 (01011) and 12 (01100).
New f = 3.94, 3.75, 3.44, 3.00. Average rises to 3.53.
Mutating the last bit of 9 gives 8 (01000), f = 8 − 4 = 4. This is the true maximum, since f′ = 1 − x/8 = 0 at x = 8.
Real-life example
A mango farmer plants seeds from his sweetest trees each year and sometimes grafts two good varieties together. Over many seasons the orchard gets sweeter. A genetic algorithm improves solutions the same way.
Figure: the generation cycle of a genetic algorithm
Same or opposite: generation cycle and one GA run
Point
One generation
Full GA run
Same or opposite
Contains
Selection, crossover, mutation once
Many generations
Opposite
Uses the fitness function
Yes
Yes
Same
Output
New population
Best solution found
Opposite
Stops when
Population is replaced
Fitness stops improving
Opposite
Exam tip. Draw the cycle and write the steps. In the numerical, show the population table before and after one generation. Say that average fitness rose.
Q7. Perceptron: architecture, linear separability, training algorithm, Hebb and delta rules, ADALINE and MADALINE
Asked 7 times in 2015, 2016, 2018, 2019, 2020 · Unit 3
From the papers
“Define the architecture of a perceptron? What do you mean by linear separability?” (May 2018, Nov 2019, Dec 2020, Jun 2020)
“Explain in detail the algorithm for Hoff rule used in pattern association.” (Dec 2020)
“State and explain the Hebb's learning rule for Neural network.” (May 2018)
“Write and explain Delta rule.” (Jun 2016)
The short answer
A perceptron is a single neuron that adds weighted inputs and a bias, then applies a step function to give +1 or −1. It can learn any problem that is linearly separable, which means one straight line (or plane) can split the two classes.
Write these points
Perceptron training algorithm
Set weights and bias to 0 or small values. Choose a learning rate α.
For each input, find net = Σ w_i x_i + b and output y.
If y ≠ target t, update w_i = w_i + α t x_i and b = b + α t.
Repeat over all inputs until no weight changes.
Linear separability
AND and OR are linearly separable.
XOR is not: no single line splits (0,1), (1,0) from (0,0), (1,1).
Fix: add a hidden layer (MLP) or new features.
Learning rules
Rule
Weight change
Used in
Hebb
Δw = x y
Associative memory
Perceptron
Δw = α t x when wrong
Perceptron
Delta (Widrow-Hoff, LMS)
Δw = α (t − net) x
ADALINE
ADALINE: one unit trained by the delta rule on the net input.
MADALINE: many ADALINEs feeding a majority or AND/OR unit; can solve XOR.
Training a bipolar AND.
Inputs (1,1)→1, (1,−1)→−1, (−1,1)→−1, (−1,−1)→−1. Start w = (0, 0), b = 0, α = 1.
(1,1): net = 0, wrong. w = (1, 1), b = 1. (1,−1): net = 1, wrong. w = (0, 2), b = 0.
(−1,1): net = 2, wrong. w = (1, 1), b = −1. (−1,−1): net = −3, right.
Second pass: all four are right. Final w = (1, 1), b = −1.
Real-life example
A security guard lets a person in only if they have both an ID card and a pass. He weighs both and opens the gate when the total crosses a limit. That simple yes or no decision on weighted evidence is what a perceptron does.
Figure: a trained perceptron for bipolar AND
Same or opposite: perceptron rule and delta rule
Point
Perceptron rule
Delta rule
Same or opposite
Uses
Output after step
Net input before step
Opposite
Changes weights
Only when wrong
Always, by error size
Opposite
Needs a learning rate
Yes
Yes
Same
Converges on
Separable data
Least squares fit
Opposite
Exam tip. Draw the perceptron, write the four training steps and show the AND example. Then say why XOR is not linearly separable.
Q8. Neural network basics and learning: neuron, ANN vs brain, characteristics, applications, supervised, unsupervised and reinforcement learning
Asked 7 times in 2014, 2015, 2016, 2017, 2018, 2020 · Unit 2
From the papers
“Compare and contrast Supervised, Unsupervised and Reinforcement learning.” (May 2018, Dec 2020)
“What is ANN? Explain characteristics and applications of ANN.” (Dec 2016, Jun 2016)
“Distinguish between supervised learning and unsupervised learning?” (Jun 2017)
“Define structure and function of single neuron.” (Dec 2016)
The short answer
An artificial neural network (ANN) is a network of simple units modelled on brain neurons. Each unit adds weighted inputs and passes the sum through an activation function. The network learns by changing its weights from examples.
Write these points
Biological and artificial neuron
Biological
Artificial
Dendrites
Inputs x_i
Synapse strength
Weights w_i
Cell body
Summation Σ w_i x_i + b
Axon
Output f(net)
ANN and human brain
Brain: about 86 billion neurons, slow units, massively parallel, learns for life.
ANN: far fewer units, fast, needs much data, does one task well.
Characteristics and applications
Learns from examples, generalises, tolerates noise and faults, works in parallel.
Uses: face and speech recognition, credit scoring, weather forecasting, medical diagnosis.
Types of learning
Type
Data
Example
Supervised
Inputs with correct answers
Spam filter, perceptron, EBPA
Unsupervised
Inputs only
Kohonen map, customer groups
Reinforcement
Reward or penalty after actions
Game playing robot
Output of one neuron.
Inputs x = (0.5, 0.8), weights w = (0.4, 0.6), bias b = 0.1.
If the target is 1, the error 0.314 is used to change the weights during learning.
Real-life example
Learning to ride a cycle with a parent holding the seat and correcting you is supervised learning. Sorting your clothes into piles without anyone telling you the groups is unsupervised. Learning a video game from the score alone is reinforcement learning.
Figure: types of learning in neural networks
Same or opposite: supervised and unsupervised learning
Point
Supervised
Unsupervised
Same or opposite
Labels needed
Yes
No
Opposite
Learns from data
Yes
Yes
Same
Typical task
Classification
Clustering
Opposite
Example net
Perceptron, MLP
Kohonen SOM
Opposite
Exam tip. Draw or table the neuron mapping, then list characteristics and applications. For learning types, the three row table is the answer.
Asked 6 times in 2016, 2017, 2018, 2019, 2020 · Unit 1
From the papers
“Discuss with example hill climbing techniques.” (Nov 2019, Dec 2020)
“What are the limitations of Hill climbing techniques? Explain each of them in brief.” (May 2018)
“What are the limitations of Hill Climbing? Give the possible solutions of these limitations.” (Jun 2017)
“What are the problems associated with hill climbing, explain each of them?” (Jun 2016)
The short answer
Hill climbing is a heuristic search that moves from the current state to a better neighbour, again and again, until no neighbour is better. It is fast and uses little memory, but it can stop at a point that is not the best.
Write these points
Algorithm
Evaluate the start state. If it is the goal, stop.
Apply an operator to make a neighbour.
If the neighbour is better, make it the current state.
Repeat until no better neighbour exists.
Types
Simple: take the first better neighbour.
Steepest ascent: look at all neighbours and take the best.
Stochastic: pick randomly among better neighbours.
Limitations and their solutions
Problem
What happens
Fix
Local maximum
All neighbours are worse but a higher peak exists
Backtrack or random restart
Plateau
All neighbours equal, no direction
Make a big jump
Ridge
Higher ground lies only in a diagonal direction
Apply two moves together
Compared with generate and test
Generate and test tries solutions blindly. Hill climbing uses a heuristic to guide each step, so it is faster but not complete.
Stuck on a local maximum.
Values: start S = 3. Its neighbours: A = 5, B = 4. Move to A.
A's neighbours: C = 6, D = 2. Move to C.
C's neighbours: A = 5, E = 5. None is better, so the search stops at 6.
But E leads to G = 9. A random restart from E would reach the true best value 9.
Real-life example
Climbing a hill in fog, you take each step that goes up. You may reach a small hilltop and think you are at the summit, because every direction goes down. You cannot see the higher peak beyond the valley.
Figure: local maximum, plateau and global maximum
Same or opposite: hill climbing and best first search
Point
Hill climbing
Best first search
Same or opposite
States remembered
Only current
Open list of many
Opposite
Uses a heuristic
Yes
Yes
Same
Can backtrack
No
Yes
Opposite
Memory
Very low
Higher
Opposite
Exam tip. Write the steps, then draw the curve with local maximum, plateau and global maximum labelled. The three row problem table gets most marks.
Q10. Genetic algorithm compared with traditional methods, applications, advances and convergence
Asked 6 times in 2014, 2015, 2016, 2017, 2020 · Unit 5
From the papers
“Discuss the applications of Genetic algorithm.” (Dec 2020)
“What is similarity between GA and other traditional methods?” (Dec 2020)
“How does Genetic Algorithm differ from conventional algorithm? Give the advantages of GA over conventional algorithms.” (Jun 2017)
“Write a note on: Advances in GA” (Jun 2016)
The short answer
A genetic algorithm differs from traditional search and optimisation methods because it works on a population of coded strings, uses only fitness values and moves by probabilistic rules. It does not need derivatives.
Write these points
GA and traditional methods compared
Point
GA
Traditional (calculus, hill climbing)
Works on
Coded strings
The variables themselves
Search from
Many points at once
One point
Needs
Only fitness
Derivatives or problem detail
Rules
Probabilistic
Deterministic
Local optimum
Rarely stuck
Often stuck
Similarities
Both search for the best value of an objective.
Both stop on a convergence rule.
Both are iterative.
Applications
Timetable and exam scheduling.
Route planning (TSP, vehicle routing).
Design of aircraft wings and circuits.
Training or tuning neural networks.
Stock portfolio selection.
Advances and convergence
Advances: real coded GA, multi-objective GA (NSGA-II), parallel GA, hybrid neuro-genetic and fuzzy GA.
Convergence: the population becomes similar and best fitness stops rising. Too fast convergence (premature) is avoided by mutation and diversity.
Why GA searches better than one point.
For f(x) = x − x²/16 on 0 to 31 there are 32 possible x values.
A GA with 4 strings looks at 4 points per generation and shares good bits between them.
In the worked run, the maximum x = 8 was found in the second generation.
A hill climber started at x = 31 also reaches 8 here, but on a curve with two peaks it can stop at the wrong one.
Real-life example
A traditional method is one student solving a puzzle alone, step by step. A GA is a whole class trying different answers, sharing what works and trying new ideas. The class is less likely to get stuck.
Figure: where genetic algorithms are used
Same or opposite: GA and calculus based optimisation
Point
GA
Calculus based
Same or opposite
Needs a derivative
No
Yes
Opposite
Searches for an optimum
Yes
Yes
Same
Points at a time
Population
One
Opposite
Result
Near optimal, rarely stuck
Exact if smooth
Opposite
Exam tip. Make the five row table first. Then list three applications and one line on convergence. That covers every version of this question.
Q11. Fuzzy sets: crisp and fuzzy sets and relations, properties, operations and membership functions
Asked 6 times in 2016, 2017, 2018, 2020 · Unit 4
From the papers
“Give the properties on fuzzy sets and also explain the operations involved in it?” (Jun 2017, Dec 2020)
“What are the features of membership functions?” (Dec 2016, Jun 2016)
“Define membership function with its features. Also, state its importance in Fuzzy logic.” (May 2018)
“Explain why law of contradiction and law of exclusive middle are violated in fuzzy set theory.” (Jun 2016)
The short answer
A fuzzy set lets an element belong partly, with a membership value between 0 and 1. A crisp set allows only 0 (out) or 1 (in). A membership function gives the membership value for every input.
Write these points
Crisp and fuzzy
Point
Crisp
Fuzzy
Membership
0 or 1
0 to 1
Boundary
Sharp
Gradual
Relation
Pairs are related or not
Pairs related to a degree μ_R(x, y)
Operations
Union: μ_A∪B = max(μ_A, μ_B).
Intersection: μ_A∩B = min(μ_A, μ_B).
Complement: μ_A′ = 1 − μ_A.
Properties
Commutative, associative, distributive, idempotent and De Morgan's laws hold.
Law of contradiction (A ∩ A′ = ∅) and law of excluded middle (A ∪ A′ = X) do not hold. An element can be partly in both.
Features of a membership function
Core: where μ = 1.
Support: where μ > 0.
Boundary: where 0 < μ < 1.
Common shapes: triangle, trapezoid, Gaussian, sigmoid.
Operations and the broken laws.
A = {0.3, 0.7, 1.0}, B = {0.6, 0.4, 0.5} over x1, x2, x3.
A ∪ B = {0.6, 0.7, 1.0}. A ∩ B = {0.3, 0.4, 0.5}. A′ = {0.7, 0.3, 0}.
A ∩ A′ = {0.3, 0.3, 0}. It is not empty, so the law of contradiction fails.
A ∪ A′ = {0.7, 0.7, 1.0}. It is not the full set, so the law of excluded middle fails.
Real-life example
Is 16 °C cold? A crisp rule says cold below 18, so 17.9 is cold and 18.1 is not. A person would say 16 °C is a little cold and a little pleasant. Fuzzy sets let a computer say the same.
Figure: membership functions for cold, warm and hot
Same or opposite: crisp set and fuzzy set
Point
Crisp
Fuzzy
Same or opposite
Membership values
0 or 1
Any value 0 to 1
Opposite
Union and intersection defined
Yes
Yes
Same
Excluded middle holds
Yes
No
Opposite
Models vague words
No
Yes
Opposite
Exam tip. Draw the three membership curves and mark core and support on one. Then do union, intersection and complement on a small set.
Q12. Fuzzy logic, fuzzy rule base, fuzzy inference system and defuzzification
Asked 6 times in 2014, 2015, 2016, 2018, 2019 · Unit 4
From the papers
“What is fuzzy inference system? Discuss various methods of fuzzy inference system.” (Dec 2016, Nov 2019)
“What is fuzzy logic? Explain its importance.” (Nov 2019)
“With neat diagram, explain the working of Fuzzy Inference System (FIS).” (May 2018)
“What is the need of fuzzification? Explain the methods used for defuzzification.” (Jun 2016)
The short answer
A fuzzy inference system (FIS) maps crisp inputs to a crisp output using fuzzy IF-THEN rules. It has four steps: fuzzification, rule evaluation, aggregation and defuzzification.
Write these points
Parts of a fuzzy rule base system
Fuzzifier: turns a crisp input into membership values.
Rule base: rules like IF temperature is hot AND humidity is high THEN fan is fast.
Inference engine: finds each rule's strength (min for AND, max for OR) and clips its output set.
Aggregator: joins all clipped output sets with max.
Defuzzifier: turns the joined set into one crisp number.
Methods of fuzzy inference
Method
Rule output
Note
Mamdani
A fuzzy set
Easy to read, needs defuzzification
Sugeno (TSK)
A formula, such as ax + b
Fast, good for control
Tsukamoto
A monotonic function
Weighted average output
Defuzzification methods
Centroid (COA): centre of area, x* = Σ μ(x) x ÷ Σ μ(x).
Centre of sums (COS).
Mean of maximum (MOM): average of x where μ is largest.
Importance of fuzzy logic
Handles vague words like "hot" and "fast".
Needs no exact maths model.
Used in washing machines, ACs, metro braking, camera focus.
Mean of maximum gives 30, because μ = 1 only at 30.
Real-life example
A fully automatic washing machine senses how dirty the clothes are and how big the load is. Its rules say "very dirty and big load means long wash". It then picks an exact time such as 52 minutes. That is a fuzzy inference system.
Figure: fuzzy inference system
Same or opposite: Mamdani and Sugeno inference
Point
Mamdani
Sugeno
Same or opposite
Rule output
Fuzzy set
Function
Opposite
Defuzzification
Needed
Weighted average
Opposite
Uses IF-THEN rules
Yes
Yes
Same
Speed
Slower
Faster
Opposite
Exam tip. Draw the four step flow. Name the three inference methods in a table and do one centroid sum.
Asked 6 times in 2015, 2016, 2017, 2018, 2020 · Unit 1
From the papers
“Write and explain AO* algorithm.” (Jun 2016, Jun 2017, Jun 2020)
“Give the comparison between Breadth First Search and Depth First Search with their pros and cons.” (May 2018)
“Define Breadth first and depth first search techniques.” (Dec 2016)
“Explain A* and AO* algorithm with suitable example.” (Jun 2015)
The short answer
Search finds a path from a start state to a goal. BFS and DFS search blindly, level by level or branch by branch. A* uses f(n) = g(n) + h(n), the cost so far plus an estimate to the goal. AO* searches AND-OR graphs, where a problem splits into sub-problems.
Write these points
BFS and DFS
Point
BFS
DFS
Data structure
Queue
Stack
Finds shortest path (equal costs)
Yes
No
Memory
High
Low
Can get lost in deep branches
No
Yes
A* algorithm
Put the start on OPEN with f = h(start).
Take the node with the lowest f from OPEN. If it is the goal, stop.
Expand it. For each child, g = g(parent) + cost, f = g + h.
Put children on OPEN (keep the lower g if seen before). Repeat.
If h never overestimates (admissible), A* finds the cheapest path.
AO* algorithm
Works on AND-OR graphs: an AND arc means all sub-problems must be solved.
Expands the best partial solution graph, then revises costs upward to the root.
Marks nodes SOLVED when all needed children are solved.
A* trace on the figure's graph.
Start S: OPEN = {A: f = 1 + 6 = 7, B: f = 4 + 4 = 8}. Expand A.
From A: B with g = 3, f = 3 + 4 = 7 (better than 8). G with g = 13, f = 13. Expand B.
From B: G with g = 3 + 5 = 8, f = 8. OPEN has G at f = 8, the lowest, so stop.
Path S → A → B → G with cost 8. The direct S → B → G costs 9.
Real-life example
Google Maps does not try every road in India. It grows the route from your home and keeps choosing the road that looks best by distance travelled plus straight-line distance left. That is the idea of A*.
Figure: an A* search graph
Same or opposite: A* and AO*
Point
A*
AO*
Same or opposite
Graph type
OR graph
AND-OR graph
Opposite
Uses a heuristic
Yes
Yes
Same
Result
One path
A solution graph
Opposite
Example
Route finding
Problem decomposition
Opposite
Exam tip. Write the A* steps and trace a small graph. For AO*, explain AND arcs with a small sketch. Add the BFS and DFS table if asked.
Q14. Soft computing and hard computing, AI and soft computing techniques
Asked 5 times in 2014, 2015, 2016, 2020 · Unit 1
From the papers
“Define the following: i) Artificial Intelligence ii) Soft Computing” (Jun 2016, Jun 2020)
“Differentiate between soft computing and hard computing.” (Jun 2014, Dec 2016)
“What is artificial intelligence? How it differ from natural Intelligence?” (Jun 2014, Jun 2015)
“What is soft computing? Compare soft computing with hard computing. OR Explain various soft computing techniques.” (Jun 2020)
The short answer
Soft computing is a group of methods that give good, approximate answers to hard real-world problems by tolerating imprecision and uncertainty. Hard computing needs exact inputs and exact models and gives precise answers. AI is the field of making machines act intelligently.
Write these points
Soft and hard computing compared
Point
Soft computing
Hard computing
Model
Approximate
Exact
Logic
Fuzzy, probabilistic
Binary, crisp
Input
Can be noisy or vague
Must be exact
Programs
Learn or evolve
Written fully by hand
Example
Face recognition
Payroll calculation
Why it is called "soft"
It accepts some error in exchange for low cost, speed and tolerance of noise, like human reasoning. The term was given by Lotfi Zadeh.
Soft computing techniques
Neural networks: learn from examples.
Fuzzy logic: reason with vague terms.
Genetic algorithms and swarm methods: search and optimise.
Probabilistic reasoning: Bayesian networks.
Hybrids: neuro-fuzzy (ANFIS), fuzzy GA.
AI and natural intelligence
Natural intelligence learns from little data, is creative and general.
AI is fast and tireless but limited to the task it was built for.
Same task, two approaches.
Task: set the AC to keep a room comfortable.
Hard computing: IF temperature > 25 THEN cooling ON, else OFF. At 25.1 °C the AC jumps to full power.
Soft computing: temperature is "a little warm" (0.6) so cooling is set to about 40%.
The fuzzy AC changes power smoothly. It saves energy and feels more comfortable.
Real-life example
Asking a friend for "a little sugar" in tea works fine, because people handle vague words. A recipe machine that needs "7.5 grams exactly" is hard computing. Soft computing lets computers work more like your friend.
Figure: soft computing techniques
Same or opposite: soft computing and hard computing
Point
Soft
Hard
Same or opposite
Precision
Approximate
Exact
Opposite
Handles uncertainty
Yes
No
Opposite
Runs on computers
Yes
Yes
Same
Best for
Recognition, control
Accounts, sorting
Opposite
Exam tip. Start with both definitions. Give the five row table and list four techniques. Mention Zadeh when asked why it is called soft.
“Explain the operation of Adaptive resonance Theory for binary pattern.” (May 2018)
“Explain ART with respect to: i) Architecture ii) Working” (Jun 2016)
“What is ART? Explain Rules and Applications.” (Jun 2015)
“Explain Chinese character Recognition method using ART2.” (Jun 2015)
The short answer
Adaptive resonance theory (ART) networks learn new patterns without forgetting old ones, which solves the stability-plasticity dilemma. A new input either matches a stored category closely enough (resonance) or creates a new category.
Write these points
Architecture of ART1
F1 (comparison) layer: holds the input.
F2 (recognition) layer: category units that compete; one wins.
Bottom-up and top-down weights link F1 and F2.
Reset unit: compares the match with the vigilance ρ.
Gain control units manage when each layer is active.
Working
The input activates F2. The best category wins.
Its top-down prototype is compared with the input. Match = |I ∧ W| ÷ |I|.
If match ≥ ρ, there is resonance. The prototype learns (W = I ∧ W).
If match < ρ: reset that unit and try the next. If none fits, make a new category.
Uses: character recognition (including Chinese characters with ART2), radar signals, medical diagnosis.
Vigilance decides a match.
Vigilance ρ = 0.7. Stored prototype W = 1110.
Input I = 1100. I ∧ W = 1100. Match = 2 ÷ 2 = 1.0 ≥ 0.7, so resonance. W becomes 1100.
Next input I = 0011. I ∧ W = 0000. Match = 0 ÷ 2 = 0 < 0.7, so reset.
No other category fits, so a new category with prototype 0011 is created.
Real-life example
A librarian shelves a new book with similar books if it fits a section well enough. If it fits no section, she starts a new shelf instead of forcing it into the wrong one. Old shelves stay as they were. ART learns the same way.
Figure: one ART1 learning step
Same or opposite: ART and back propagation network
Point
ART
BPN
Same or opposite
New learning erases old
No
Often yes
Opposite
Learning
Unsupervised (ART1)
Supervised
Opposite
Neural network
Yes
Yes
Same
Number of classes
Grows as needed
Fixed
Opposite
Exam tip. Name the stability-plasticity dilemma first. Draw F1, F2 and the reset unit, then show the vigilance test with two inputs.
What are the most important topics in Soft Computing?
By how often they were asked in the papers on this site: Knowledge representation and reasoning: predicate logic, resolution, forward and backward, monotonic and non monotonic (8 times); Error back propagation: MLP, activation functions, derivation, momentum, characteristics (7 times); Counter propagation network: architecture, functioning, characteristics (7 times); Associative memory, BAM, Hopfield and recurrent networks (7 times); Genetic algorithm operators: selection, crossover and mutation (7 times).
How were these Soft Computing important questions chosen?
Each topic was counted from the questions in the past papers listed on this site (2014-2020). Repeated is the number of times the topic came. The counts come from keyword matching and the answers are not teacher-reviewed, so use them together with your syllabus.
Is there a PDF of Soft Computing important questions with answers?
Yes. The Paperwala Imp Question & Answer PDF for Soft Computing is free to download from this page.
The 15 most repeated topics of Soft Computing (AI-701) for RGPV B.Tech CSE-AI semester 7, counted from the previous year papers on this site. Soft Computing is also searched for as CS-801.