Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.
Computational Intelligence 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. Fuzzy sets and their operations
Asked 2 times in 2020, 2023 · Unit 2
From the papers
“Let fuzzy sets A and B be given as: A = 0.5/3 + 1/5 + 0.6/7 + 0.8/8, B = 1/3 + 0.5/5 + 0.1/7 + 1/8, where the universe of discourse being X = {3, 5, 7, 8}. Obtain A + B, the Algebraic Sum; A.B, the Algebraic Product; S(A, B) the subsethood measure; E(A, B) the equality measure.” (Nov 2023)
“Consider two Fuzzy sets X and Y with the following membership function. X = {(x1/0.4), (x2/0.7), (x3/0.8), (x4/1)}, Y = {(x1/0.3), (x2/0.6), (x3/0.5), (x4/0.9)}. Calculate X ∪ Y, X ∩ Y, X − Y, X + Y.” (Dec 2020)
The short answer
A fuzzy set gives each element a membership value between 0 and 1 instead of a plain yes or no. Fuzzy set operations combine these values element by element.
Write these points
Basic operations
Operation
Rule for each element x
Meaning
Union A ∪ B
max(μA, μB)
in A or in B
Intersection A ∩ B
min(μA, μB)
in A and in B
Complement A′
1 − μA
not in A
Difference A − B
min(μA, 1 − μB)
in A but not in B
Algebraic sum A + B
μA + μB − μA × μB
a softer union
Algebraic product A.B
μA × μB
a softer intersection
Measures between two sets
Cardinality |A| is the sum of all membership values.
Subsethood S(A, B) = |A ∩ B| / |A| shows how far A sits inside B.
Equality E(A, B) = |A ∩ B| / |A ∪ B| shows how alike the two sets are.
Support is the set of elements with μ > 0. The core is the set with μ = 1.
Dec 2020 question.
X = {0.4, 0.7, 0.8, 1} and Y = {0.3, 0.6, 0.5, 0.9} on x1 to x4.
X ∪ Y = {0.4, 0.7, 0.8, 1}. X ∩ Y = {0.3, 0.6, 0.5, 0.9}.
Y′ = {0.7, 0.4, 0.5, 0.1}, so X − Y = min(X, Y′) = {0.4, 0.4, 0.5, 0.1}.
X + Y: 0.4 + 0.3 − 0.12 = 0.58, then 0.88, 0.90 and 1. So X + Y = {0.58, 0.88, 0.9, 1}.
Nov 2023 question.
A = 0.5/3 + 1/5 + 0.6/7 + 0.8/8 and B = 1/3 + 0.5/5 + 0.1/7 + 1/8.
A + B = 1/3 + 1/5 + 0.64/7 + 1/8. A.B = 0.5/3 + 0.5/5 + 0.06/7 + 0.8/8.
Think of the word "tall" in a class. A student of 6 feet is tall with value 1. A student of 5 feet 8 inches is tall with value 0.7. A normal set would force a yes or no at one fixed height. A fuzzy set keeps the in-between truth.
Figure: membership of X and Y; union takes the larger bar, intersection the smaller
Same or opposite: crisp set and fuzzy set
Point
Crisp set
Fuzzy set
Same or opposite
Membership
0 or 1
Any value from 0 to 1
Opposite
Boundary
Sharp
Gradual
Opposite
Union and intersection
Defined
Defined, with max and min
Same
Law of excluded middle
Holds
Does not hold
Opposite
Exam tip. Write the table of rules first. Then work the numbers element by element in a neat row. Show |A ∩ B| and |A| before you divide.
Q2. Genetic algorithm: working, operators and fitness function
Asked 2 times in 2020, 2023 · Unit 3
From the papers
“Explain the procedures of genetic algorithms and what are the different genetic representations.” (Nov 2023)
“Define the term mutation and crossover used in Genetic Algorithm.” (Dec 2020)
“Write various advantages and disadvantages of Genetic Algorithm.” (Dec 2020)
“Short note: Genetic Operators.” (Nov 2023)
The short answer
A genetic algorithm (GA) is a search method copied from natural evolution. It keeps a population of possible answers and improves it over generations through selection, crossover and mutation.
Write these points
Working of a GA
Encode each possible answer as a chromosome, often a bit string.
Create a random starting population.
Find the fitness of each chromosome with a fitness function.
Crossover: join parts of two parents to make children.
Mutation: flip a gene now and then with a small probability.
Replace the old population and repeat until the answer is good enough.
Genetic operators
Reproduction (selection) copies good chromosomes into a mating pool.
Crossover mixes two parents: single point, two point or uniform.
Mutation keeps variety and stops the search from getting stuck early.
Advantages and disadvantages
Advantages
Disadvantages
Needs no derivative of the function
No guarantee of the exact best answer
Searches many points at once
Slow when fitness is costly to compute
Works on discrete and mixed problems
Settings (population, rates) need tuning
Less likely to stop at a local peak
May converge too early without enough mutation
One generation for maximum of f(x) = x², x from 0 to 31.
Population with 5 bits: 01101 (13, f = 169), 11000 (24, f = 576), 01000 (8, f = 64), 10011 (19, f = 361).
Total fitness = 1170. Roulette chances: 0.14, 0.49, 0.05, 0.31.
Crossover of 01101 and 11000 after bit 4 gives 01100 (12) and 11001 (25).
f(25) = 625 is better than any parent. Mutation of one bit, such as 01100 to 11100 (28), can jump further.
Real-life example
A farmer keeps the seeds of the best wheat plants each year and crosses two good types. Now and then a plant comes out different, which is mutation. After many seasons the crop is far better than the first one. A GA does the same with answers.
Figure: the genetic algorithm loop
Same or opposite: crossover and mutation
Point
Crossover
Mutation
Same or opposite
Parents used
Two
One
Opposite
Main job
Mix good parts
Add new variety
Opposite
Rate
High, about 0.6 to 0.9
Low, about 0.01
Opposite
Genetic operator
Yes
Yes
Same
Exam tip. Draw the GA loop. Write the steps in order with the words fitness, selection, crossover and mutation. A small x² example with bit strings earns full marks.
Q3. Components and types of computational intelligence
Asked 2 times in 2020, 2023 · Unit 1
From the papers
“Explain all the components of Computational with help of example.” (Nov 2023)
“Discuss the various component of computational intelligence.” (Dec 2020)
“Short note: Types of Computational Intelligence.” (Dec 2020)
The short answer
Computational intelligence (CI) is the study of systems that learn and adapt from data and experience, in ways inspired by nature. Its main components are neural networks, fuzzy systems and evolutionary computing, with swarm intelligence and rough sets beside them.
Write these points
Components
Neural networks learn patterns from examples, like the brain.
Fuzzy systems reason with vague words such as "hot" or "near".
Evolutionary computing (genetic algorithms) searches by copying evolution.
Swarm intelligence solves problems through many simple agents, like ants or birds.
Rough sets and probabilistic models handle uncertain or incomplete data.
Types of CI by what they copy
Type
Inspired by
Good for
Neural
Brain cells
Recognising patterns
Fuzzy
Human reasoning
Control with vague rules
Evolutionary
Natural selection
Search and optimisation
Swarm
Ant colonies, bird flocks
Paths and schedules
How CI differs from classic AI
Classic AI uses exact symbols and rules written by people.
CI learns from numbers and copes with noise and missing data.
Matching a task to a component.
Read handwritten PIN codes on letters: neural network.
Keep room temperature with an AC that thinks "a little warm": fuzzy controller.
Make a college timetable with no clashes: genetic algorithm.
Find short delivery routes for 50 shops: ant colony optimization.
Real-life example
A food delivery app uses several CI parts. A neural network guesses how long a cook will take. Fuzzy rules decide surge pricing when demand is "high" and riders are "few". A swarm method plans the route. Each part solves the piece it suits best.
Figure: components of computational intelligence
Same or opposite: computational intelligence and classic AI
Point
Computational intelligence
Classic AI
Same or opposite
Knowledge
Learned from data
Written as rules
Opposite
Handles noisy data
Well
Poorly
Opposite
Aim
Intelligent behaviour
Intelligent behaviour
Same
Example
Neural network
Expert system
Opposite
Exam tip. List the components with one line and one example each. A small table of type, inspiration and use makes the answer complete.
“Design Feed Forward Neural Network to Solve Singular Boundary Value Problems.” (Nov 2023)
“What is meant by Feed forward or Feedback Networks?” (Dec 2020)
The short answer
In a feed forward network signals move one way, from input to hidden to output, with no loops. In a feedback (recurrent) network some outputs are sent back as inputs, so the network keeps a memory.
Write these points
Feed forward network
Layers: input, one or more hidden, output. Each neuron finds net = Σ w x + b, then an activation such as sigmoid.
Trained with backpropagation: the error at the output is sent back to adjust the weights.
Uses: classification, function fitting, pattern recognition.
Feedback network
Has loops, so the output depends on past inputs too.
Examples: Hopfield network (associative memory), Elman and other recurrent nets.
Uses: speech, time series, sequence data.
FFNN for a boundary value problem
Write a trial solution that meets the boundary values by itself, such as y(x) = A(x) + x(1 − x) N(x), where N is the network output.
Pick training points x1 to xn inside the domain.
The error at each point is how far y(x) misses the differential equation.
Train the weights to make the sum of squared errors small. For a singular point, choose points that avoid the singular value or use a trial form that cancels it.
Forward pass through one hidden neuron.
Inputs x1 = 1 and x2 = 0. Weights 0.5 and 0.4, bias −0.2. Net = 0.5 − 0.2 = 0.3.
Output weight 0.8, so output net = 0.459 and the output is sigmoid(0.459) = 0.613.
If the target is 1, the error 0.387 is sent back to change the three weights.
Real-life example
A feed forward net is like a factory line: raw material goes in one end and the product comes out the other. A feedback net is like a chat with a friend. What you say next depends on what was said before.
Figure: a feed forward net and a feedback net
Same or opposite: feed forward and feedback networks
Point
Feed forward
Feedback
Same or opposite
Loops
None
Yes
Opposite
Memory of past inputs
No
Yes
Opposite
Built from neurons and weights
Yes
Yes
Same
Example
Multilayer perceptron
Hopfield, Elman
Opposite
Exam tip. Draw both nets side by side and mark the loop. For the design question, write the trial solution form and the error to minimise.
“Define defuzzification and explain the different defuzzification methods.” (Dec 2020)
“Short note: Defuzzification.” (Nov 2023)
The short answer
Defuzzification turns the fuzzy output of a fuzzy system into one crisp number that a machine can use. It is the last step of fuzzy inference.
Write these points
Common methods
Method
Rule
Note
Max membership (height)
z with the highest μ
Fast, ignores the shape
Centroid (centre of gravity)
z* = Σ μ(z) z / Σ μ(z)
Most used, smooth
Weighted average
Σ μ × peak / Σ μ
For symmetric output sets
Mean of maximum
Average of all z with the top μ
When the top is flat
Centre of sums, centre of largest area
Use areas of the clipped sets
Less common
What a good method needs
Continuity: a small input change gives a small output change.
Low computation, so the controller can run in real time.
No doubt about the result: one input gives one output.
Plausibility: the crisp value sits where the output set is strongest.
Centroid on a discrete output.
Output z (brake %) = 10, 20, 30, 40 with μ = 0.2, 0.6, 0.8, 0.4.
Σ μ z = 2 + 12 + 24 + 16 = 54. Σ μ = 2.0.
Centroid z* = 54 / 2.0 = 27%.
Max membership gives 30%, because μ = 0.8 is the highest.
Real-life example
A judge panel gives a dancer scores like "good 0.6, very good 0.8". The show still needs one final number on the screen. Defuzzification is that last step that turns many opinions into one score.
Figure: where defuzzification sits
Same or opposite: centroid and max membership
Point
Centroid
Max membership
Same or opposite
Uses
The whole output shape
Only the peak
Opposite
Computation
More
Less
Opposite
Gives a crisp value
Yes
Yes
Same
Output change
Smooth
Can jump
Opposite
Exam tip. Define it in one line, then give the table of methods with the centroid formula. A small number example with Σ μ z makes the answer stand out.
“Explain in detail how fuzzy logic can be used in Automobile Industry.” (Dec 2020)
“Short note: Fuzzy Rules.” (Nov 2023)
The short answer
Fuzzy logic reasons with degrees of truth using IF-THEN rules written in words, such as "IF speed is high THEN brake is hard". A fuzzy controller uses these rules to run machines smoothly.
Write these points
Fuzzy rules
Form: IF x is A AND y is B THEN z is C. A, B and C are fuzzy sets such as low, medium or high.
AND takes the min of the memberships. OR takes the max.
Each rule fires to the degree its IF part is true.
Steps of a fuzzy controller
Choose inputs and outputs and their membership functions.
Fuzzification: turn each crisp input into membership values.
Rule evaluation and inference (Mamdani or Sugeno).
Aggregate the clipped output sets.
Defuzzify to one control value.
Fuzzy logic in the automobile industry
Anti-lock brakes and automatic emergency braking.
Automatic gearboxes that pick a gear from speed and load.
Cruise control, engine idle control and climate control in the cabin.
Washer, wiper and headlight control that respond to "light rain" or "dusk".
One rule firing in a braking controller.
Distance 12 m is "near" with μ = 0.7. Speed 60 km/h is "high" with μ = 0.4.
Rule: IF distance is near AND speed is high THEN brake is hard.
Rule strength = min(0.7, 0.4) = 0.4, so the "hard" output set is cut at 0.4.
After all rules fire, the centroid gives one brake value, such as 65%.
Real-life example
A driver never thinks "distance is 12.3 m, so press the brake 61%". The driver thinks "the car ahead is close and I am fast, so brake firmly". Fuzzy logic lets a car's computer follow the same kind of rule.
Figure: fuzzy inference in a car braking controller
Same or opposite: Mamdani and Sugeno inference
Point
Mamdani
Sugeno
Same or opposite
Rule output
A fuzzy set
A formula or constant
Opposite
Needs defuzzification
Yes, full
Simple weighted average
Opposite
Uses fuzzy IF-THEN rules
Yes
Yes
Same
Best for
Expert knowledge
Fast control, tuning
Opposite
Exam tip. Write two or three rules in words. Show one rule firing with min. For the automobile part, list four uses with one line each.
Q7. Rough sets: set approximation, rough membership and decision tree
Asked 2 times in 2020, 2023 · Unit 4
From the papers
“Explain the rough set-based decision tree with help of example.” (Nov 2023)
“Explain following term: Rough Membership; Decision tree model.” (Dec 2020)
“Short note: Set approximation.” (Dec 2020)
The short answer
Rough set theory (Pawlak, 1982) describes a vague set through two crisp sets. The lower approximation holds objects that surely belong and the upper one holds objects that may belong.
Write these points
Basic ideas
Information table: objects in rows, attributes in columns.
Indiscernibility: objects with equal attribute values cannot be told apart. They form equivalence classes.
Lower approximation: union of classes fully inside the set X.
Upper approximation: union of classes that touch X.
Boundary region: upper minus lower. If it is empty, X is crisp. Otherwise X is rough.
Accuracy = |lower| / |upper|.
Rough membership
μX(x) = |[x] ∩ X| / |[x]|, the share of x's class that lies in X.
It is 1 in the lower approximation and 0 outside the upper one.
Rough set based decision tree
Find the reduct: the smallest set of attributes that keeps the same classes.
At each node pick the attribute that gives the largest lower approximation (most certain rules).
Each path becomes an IF-THEN rule. Certain rules come from the lower approximation and possible rules from the boundary.
Six patients.
Attributes (headache, temperature): 1 and 2 are (yes, high). 3 is (no, high). 4 is (no, normal). 5 and 6 are (yes, normal).
X = patients with flu = {1, 2, 6}. Classes: {1, 2}, {3}, {4}, {5, 6}.
Rough membership of patient 6 = 1 / 2 = 0.5. Of patient 1 = 1.
Real-life example
A teacher grades only "pass" or "fail" from marks rounded to tens. Two students with 40 look the same, but one passed and one failed on exact marks. The teacher can say only who surely passed and who might have. That is a lower and an upper approximation.
Figure: lower approximation, boundary and upper approximation
Same or opposite: lower and upper approximation
Point
Lower
Upper
Same or opposite
Contains
Objects that surely belong
Objects that may belong
Opposite
Size
Smaller or equal
Larger or equal
Opposite
Made of whole equivalence classes
Yes
Yes
Same
Gives
Certain rules
Possible rules
Opposite
Exam tip. Make a small table, list the classes and then write lower, upper and boundary. Draw the three regions. Give the rough membership formula.
“Explain Hidden Markov Models with its application and with help of suitable example.” (Nov 2023)
“Describe Hidden Markov Model and its application.” (Dec 2020)
The short answer
A hidden Markov model (HMM) is a model in which the system moves between hidden states by fixed probabilities while each state gives visible outputs by other probabilities. We see only the outputs and guess the states.
Write these points
Parts of an HMM λ = (A, B, π)
States S1 to SN, which are hidden.
Observations O1 to OM, which we see.
A: state transition probabilities aij.
B: emission probabilities bj(k) of seeing Ok in state j.
π: starting probabilities.
Three basic problems
Evaluation: how likely is an observation sequence? Forward algorithm.
Decoding: which hidden state sequence is most likely? Viterbi algorithm.
Learning: find A, B and π from data. Baum-Welch algorithm.
Applications
Speech recognition, part of speech tagging, handwriting recognition, gene finding, gesture recognition.
Forward algorithm on two days.
States Rainy (R) and Sunny (S). π: R 0.6, S 0.4. Transitions R→R 0.7, R→S 0.3, S→R 0.4, S→S 0.6.
Emissions: R gives walk 0.1, shop 0.4. S gives walk 0.6, shop 0.3. We see walk, then shop.
Your friend in another city tells you each day only what they did: walked, shopped or cleaned. You cannot see the weather there. From the pattern of activities you can still guess whether it rained. The weather is the hidden state.
Figure: an HMM with hidden weather and seen activities
Same or opposite: Markov chain and hidden Markov model
Point
Markov chain
Hidden Markov model
Same or opposite
States
Seen directly
Hidden
Opposite
Has transition probabilities
Yes
Yes
Same
Emission probabilities
None
Yes
Opposite
Example
Board game moves
Speech recognition
Opposite
Exam tip. Write λ = (A, B, π) and the three problems with their algorithms. Draw two states with arrows and outputs. A two step forward calculation earns extra marks.
“Why the Ant colony optimization, Particle Swarm optimization and other techniques are used for feature selection?” (Nov 2023)
“Explain Ant colony optimization techniques and discuss why Ant colony techniques used for optimization.” (Dec 2020)
The short answer
Ant colony optimization (ACO) is a swarm method in which artificial ants build answers step by step and leave pheromone on good paths. Later ants prefer paths with more pheromone, so short paths get stronger over time.
Write these points
How it works
Put pheromone τ on every edge of the problem graph.
Each ant builds a path. It picks the next node with probability that grows with τ^α × η^β, where η = 1 / distance.
After all ants finish, pheromone evaporates: τ ← (1 − ρ) τ.
Each ant adds Q / L on the edges it used, where L is its path length.
Repeat until the best path stops changing.
Why ACO is used for optimization
It suits graph problems such as shortest path, travelling salesman and routing.
Many ants search in parallel and share what they learn through pheromone.
Evaporation lets the colony forget bad paths and adapt when the graph changes.
ACO and PSO for feature selection
Choosing the best subset of features from many is a huge search with no formula.
An ant's path or a particle's position stands for a feature subset. Fitness is model accuracy with few features.
These methods search well without testing every subset.
Pheromone update on two paths.
Two paths from nest to food: length 2 and length 4. Both start with τ = 1. ρ = 0.5, Q = 1.
One ant uses each path. Short path: 0.5 × 1 + 1 / 2 = 1.0. Long path: 0.5 × 1 + 1 / 4 = 0.75.
The next ant picks the short path with probability 1.0 / 1.75 = 0.57.
Each round the gap grows, so almost all ants end up on the short path.
Real-life example
Watch ants carrying sugar in a kitchen. At first they wander. Soon they walk in one neat line along the shortest way. No ant knows the map. The shared smell trail does the planning.
Figure: pheromone builds up on the short path
Same or opposite: ACO and PSO
Point
Ant colony optimization
Particle swarm optimization
Same or opposite
Inspired by
Ants and pheromone
Bird flocks
Opposite
Best for
Paths on graphs
Continuous values
Opposite
Population based
Yes
Yes
Same
Memory
Pheromone on edges
Personal and global best
Opposite
Exam tip. Write the probability rule and the pheromone update with evaporation. Draw the two paths. Name two uses, such as TSP and network routing.
Bee colony optimization, mainly the Artificial Bee Colony (ABC) algorithm of Karaboga (2005), copies how honey bees find and share food sources. Each food source is a possible answer and its nectar is the fitness.
Write these points
Three kinds of bees
Employed bees each work one food source and try a nearby one.
Onlooker bees watch the dance and choose sources with probability in proportion to fitness.
Scout bees leave a source that has not improved for a set number of tries and search at random.
Steps of ABC
Place food sources at random.
Employed bee phase: v = x + φ (x − xk), with φ random in −1 to 1. Keep v if it is better.
Onlooker phase: pick sources with p = fit / Σ fit and improve them the same way.
Scout phase: replace any source past its limit with a random one.
Remember the best source and repeat.
Uses
Function optimisation, job scheduling, training neural networks, clustering, image processing.
One employed bee step for f(x) = x².
Food source x = 2, so f = 4 and fitness = 1 / (1 + f) = 0.2.
Neighbour xk = 4 and φ = 0.5: v = 2 + 0.5 × (2 − 4) = 1.
f(1) = 1, fitness = 0.5. It is better, so the bee moves to x = 1 (greedy choice).
If a source fails to improve, say, 10 times, a scout replaces it with a random x.
Real-life example
In a college canteen line, a few friends taste every stall. They come back and praise the good ones. More friends then go to the best stall. One curious friend still tries a new stall now and then. That is employed, onlooker and scout behaviour.
Figure: one cycle of the artificial bee colony
Same or opposite: employed bees and scout bees
Point
Employed bees
Scout bees
Same or opposite
Search
Near a known source
Anywhere at random
Opposite
Role
Exploit
Explore
Opposite
Part of the same colony
Yes
Yes
Same
When used
Every cycle
Only when a source is used up
Opposite
Exam tip. Name the three bee types and the neighbour formula. Write the onlooker probability. One small number step shows you know how it moves.
Q11. Learning models: parametric and nonparametric
Asked 2 times in 2020, 2023 · Unit 1
From the papers
“Explain the working of Parametric Model and explain its application in statistics.” (Nov 2023)
“Short note: Learning Model.” (Dec 2020)
The short answer
A learning model is a mathematical form whose settings are found from training data. Parametric models have a fixed number of parameters, while nonparametric models grow with the data.
Write these points
Learning and training
Training data shows inputs and, in supervised learning, correct outputs.
The model's parameters are changed to reduce the error on that data.
It is then tested on new data to check that it generalises.
Parametric models
Assume a shape, such as a straight line or a normal distribution.
Examples: linear regression, logistic regression, naive Bayes, a fixed size neural network.
In statistics: estimate the mean and variance of a normal population, or fit y = a + bx by least squares.
Nonparametric models
Make few shape assumptions and keep or use much of the data.
Examples: k-nearest neighbours, decision trees, kernel density estimates.
Same data, two models.
Points (1, 2), (2, 4), (3, 5). Mean x = 2, mean y = 3.67.
Parametric line: b = [(−1)(−1.67) + 0 + (1)(1.33)] / 2 = 1.5. a = 3.67 − 3 = 0.67. At x = 4, y = 6.67.
Nonparametric 2-NN: the two nearest points to x = 4 are (3, 5) and (2, 4). Prediction = 4.5.
The line follows a trend past the data. k-NN stays inside what it has seen.
Real-life example
A shopkeeper guesses next month's sales by drawing a straight line through past months. That is parametric. A new shopkeeper instead asks "what happened in the most similar months before?" That is nonparametric.
Figure: kinds of learning models
Same or opposite: parametric and nonparametric models
Point
Parametric
Nonparametric
Same or opposite
Number of parameters
Fixed
Grows with data
Opposite
Assumes a shape
Yes
Few assumptions
Opposite
Learns from training data
Yes
Yes
Same
Example
Linear regression
k-nearest neighbours
Opposite
Exam tip. Define both with two examples each. Then give the regression line example for "application in statistics". A compare table finishes it.
“Explain the working of Particle Swarm Optimization (PSO Algorithm) with suitable help of example.” (Nov 2023)
The short answer
Particle swarm optimization (PSO), by Kennedy and Eberhart (1995), copies a flock of birds. Each particle is a possible answer that flies through the search space, pulled toward its own best spot and the swarm's best spot.
Write these points
Update rules
Velocity: v ← w v + c1 r1 (pbest − x) + c2 r2 (gbest − x).
Position: x ← x + v.
w is inertia. c1 and c2 are learning factors, often 2. r1 and r2 are random numbers from 0 to 1.
Algorithm
Start particles at random places with random velocities.
Find the fitness of each particle.
Update pbest for each particle and gbest for the swarm.
Update velocity and position.
Repeat until the best answer stops improving.
Uses
Training neural network weights, tuning controllers, feature selection, power system dispatch.
One PSO step to find the minimum of f(x) = x².
Particle at x = 5 with v = 1. pbest = 4, gbest = 2. w = 0.5, c1 = c2 = 2, r1 = 0.5, r2 = 0.25.
x = 5 + (−2) = 3. f(3) = 9, better than f(5) = 25.
Over more steps the swarm closes in on x = 0.
Real-life example
A group of friends search a mela for the best chaat stall. Each one remembers the best stall they found. They also hear on the phone which stall the group likes best. Everyone drifts toward a mix of the two. Soon all of them meet at the best stall.
Figure: the PSO loop
Same or opposite: PSO and genetic algorithm
Point
PSO
Genetic algorithm
Same or opposite
Operators
Velocity update
Crossover, mutation
Opposite
Memory
pbest and gbest
None beyond the population
Opposite
Population based search
Yes
Yes
Same
Settings to tune
Few
More
Opposite
Exam tip. Write both update formulas and say what each term means. Show one velocity update with numbers. Name two uses.
“Explain different Encoding Techniques available for Genetic Algorithms with help of examples.” (Nov 2023)
“A budget airline company operates 3 plains and employs 5 cabin crews. Only one crew can operate on any plain on a single day, and each crew cannot work for more than two days in a row. The company uses all planes every day. A Genetic Algorithm is used to work out the best combination of crews on any particular day. Suggest what chromosome could represent an individual. Suggest what could be the alphabet of this algorithm. What is its size?” (Nov 2023)
The short answer
Encoding is the way an answer is written as a chromosome so that a genetic algorithm can work on it. The right encoding makes crossover and mutation produce valid answers.
Write these points
Encoding techniques
Encoding
Chromosome looks like
Used for
Binary
1 0 1 1 0 1
Numbers, yes or no choices (knapsack)
Permutation
3 1 5 2 4
Order problems (travelling salesman)
Value
1.2 5.3 0.7
Real numbers, network weights
Tree
( + x ( * 2 y ) )
Programs, formulas (genetic programming)
Alphabet and size
The alphabet is the set of values a gene can take.
The size of the alphabet and the number of genes fix how big the search space is.
Every chromosome should map to one real answer. Every answer should have a chromosome.
Invalid strings are either repaired or given a low fitness.
Nov 2023 airline question.
3 planes, 5 crews, one crew per plane per day.
Chromosome: 3 genes, one per plane, each holding a crew number. For example [2, 5, 1] means crew 2 on plane 1, crew 5 on plane 2, crew 1 on plane 3.
Alphabet: {1, 2, 3, 4, 5}, so its size is 5. The search space has 5³ = 125 strings.
Rules such as "no crew twice in a day" or "not more than two days in a row" go into the fitness function as penalties.
Binary version of the same.
Each crew number needs 3 bits (0 to 7), so a day is 9 bits, such as 010 101 001.
Codes 5, 6 and 7 are not valid crews, so they also get a penalty.
Real-life example
A recipe card can be written as a list of ingredients or as the order of steps. A cook changes one ingredient (mutation) or mixes two cards (crossover). If the card is written badly, the mix makes no sense. Encoding is writing the card well.
Figure: encoding techniques in a GA
Same or opposite: binary and permutation encoding
Point
Binary
Permutation
Same or opposite
Gene values
0 or 1
Numbers in an order
Opposite
Needs special crossover
No
Yes, such as order crossover
Opposite
Used in genetic algorithms
Yes
Yes
Same
Best for
Numbers, selections
Routes, schedules
Opposite
Exam tip. Give the four encodings in a table with one example each. For the airline question, write one sample chromosome, the alphabet and its size.
“Define alpha cut, strong alpha cut sets and level sets of a give fuzzy set with help of your data set.” (Nov 2023)
“Explain the concept of Fuzzy relations and their composition with help of examples.” (Nov 2023)
The short answer
An alpha cut of a fuzzy set is the crisp set of elements whose membership is at least alpha. A fuzzy relation gives a membership value to each pair of elements, while composition joins two relations.
Write these points
Alpha cuts
Alpha cut Aα = {x : μA(x) ≥ α}.
Strong alpha cut Aα+ = {x : μA(x) > α}.
Level set = the set of all distinct membership values in A.
Fuzzy relations
R on X × Y is a matrix of membership values, such as "x is close to y".
Operations such as union and intersection work entry by entry.
Composition
Max-min: T(x, z) = max over y of min(R(x, y), S(y, z)).
A college gives a merit list where each student has a score from 0 to 1. "Everyone above 0.5" is an alpha cut. If students are linked to clubs and clubs to events, composition tells how strongly each student is linked to each event.
Figure: max-min composition of two relations
Same or opposite: alpha cut and strong alpha cut
Point
Alpha cut
Strong alpha cut
Same or opposite
Condition
μ ≥ α
μ > α
Opposite
Includes the boundary value
Yes
No
Opposite
Result is a crisp set
Yes
Yes
Same
Size
Equal or larger
Equal or smaller
Opposite
Exam tip. Define all three cuts with the same small set. For composition, write the max-min rule and work a 2 by 2 example cell by cell.
“Explain the difference between fuzzy set and rough fuzzy sets with the help of examples.” (Nov 2023)
The short answer
A fuzzy set deals with vague boundaries through degrees of membership. A rough fuzzy set is a fuzzy set seen through equivalence classes, so it gets a lower and an upper fuzzy approximation.
Write these points
Fuzzy set
Each element has μ from 0 to 1.
Handles vagueness in meaning, such as "tall" or "hot".
Rough set
Elements in one class cannot be told apart.
Handles coarse data through lower and upper approximation.
Rough fuzzy set
For each class, the lower membership is the smallest μ in the class.
The upper membership is the largest μ in the class.
It shows both kinds of uncertainty at once: vague meaning and coarse data.
Fuzzy rough set
The reverse case: the target set is crisp but the classes themselves are fuzzy, such as "similar" objects.
Tall students in height bands.
Fuzzy set "tall": A 0.6, B 0.8, C 0.3, D 0.4.
Heights are recorded only in bands, so {A, B} and {C, D} are equivalence classes.
Lower approximation: A and B get 0.6, C and D get 0.3. Upper approximation: A and B get 0.8, C and D get 0.4.
So we can say A is tall to a degree between 0.6 and 0.8.
Real-life example
A weather app says "likely hot" and also reports temperature only to the nearest 5 degrees. "Hot" is fuzzy and the rounding is rough. A rough fuzzy set describes both at once.
Figure: from a fuzzy set to a rough fuzzy set
Same or opposite: fuzzy set and rough fuzzy set
Point
Fuzzy set
Rough fuzzy set
Same or opposite
Uncertainty handled
Vague meaning
Vague meaning and coarse data
Opposite
Membership
One value
A lower and an upper value
Opposite
Values lie from 0 to 1
Yes
Yes
Same
Needs equivalence classes
No
Yes
Opposite
Exam tip. Define each with one line. Then work one small example that shows the lower and upper membership. Close with a three row compare table.
RGPV teaches Computational Intelligence to 2 branches under one syllabus. Each branch prints its own code on the paper, but the units are the same. So one page and one PDF serve all of them.
We counted every question in the Computational Intelligence papers on this site by topic, from 2020 to 2023. A topic that keeps coming back is a topic RGPV likes, so it sits higher in the table. One branch alone has only a few papers. Counting them together gives a surer list.
Computational Intelligence important questions by branch
CS-702-AComputational Intelligence important questions for CSE, Semester 7
CS-702-A follows the same RGPV syllabus as the other codes on this page. The 15 topics and answers above are the CS-702-A important questions too.
Computational Intelligence (CS-702 A) is an elective in Semester 7 of RGPV B.Tech CSE. It covers ways of solving hard problems that are inspired by nature and human thinking: neural networks, fuzzy logic, genetic algorithms, rough sets and swarms. Work one numerical example for each technique.
Computational Intelligence unit-wise brief
Unit 1: Introduction to computational intelligence
This unit introduces computational intelligence, its types and components, the idea of a learning or training model, parametric and non-parametric models, and feed forward and feedback multilayer networks. Be able to say how the main components differ.
Unit 2: Fuzzy systems
Here you learn fuzzy sets, their operations, membership functions, fuzzy relations and measures, fuzzy logic with rules and inference, and fuzzy control: fuzzification, rule based design and defuzzification. Do one full fuzzy control example from input to output.
Unit 3: Genetic algorithms
Genetic algorithms copy natural selection. The unit covers basic genetics, the working principle, encoding, fitness functions, selection, and the operators of reproduction, crossover and mutation, with genetic modelling and its benefits. Run one generation on paper.
Unit 4: Rough set theory
This unit introduces rough sets: set approximation, rough membership, attributes and optimisation. It also covers hidden Markov models and decision trees. Learn the lower and upper approximation with a small table.
Unit 5: Swarm intelligence
The last unit covers swarm intelligence and its techniques, ant colony, particle swarm and bee colony optimisation, with applications of computational intelligence. Compare the three techniques in a short table.
Units follow the RGPV scheme and syllabus, B.Tech Computer Science and Engineering, Semester 7 (AICTE flexible curriculum, w.e.f. July 2020) (copy hosted by VIT Bhopal (RGPV-affiliated)). For the full topic list of each unit, open the Computational Intelligence notes.
What are the most important topics in Computational Intelligence?
By how often they were asked in the papers on this site: Fuzzy sets and their operations (2 times); Genetic algorithm: working, operators and fitness function (2 times); Components and types of computational intelligence (2 times); Feed forward and feedback networks (2 times); Defuzzification and its methods (2 times).
How were these Computational Intelligence important questions chosen?
Each topic was counted from the questions in the past papers listed on this site (2020-2023). 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 Computational Intelligence important questions with answers?
Yes. The Paperwala Imp Question & Answer PDF for Computational Intelligence is free to download from this page.
The 15 most repeated topics of Computational Intelligence (CS-702-A) for RGPV B.Tech CSE semester 7, counted from the previous year papers on this site. The same syllabus is taught under 2 codes: CS-702-A, AD-702-C.