CS-702-A AD-702-C Computational Intelligence

Computational Intelligence Important Questions

RGPV · B.Tech · CSE · Semester 7 · 1 papers (2020 to 2020)

  1. Read the answers

    Start with the topics that come every year.

  2. Revise unit notes

    Go through each unit once to score more.

Paperwala Imp Topics - Computational Intelligence important questions

Download Paperwala Imp Question & Answer (PDF)

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

OperationRule for each element xMeaning
Union A ∪ Bmax(μA, μB)in A or in B
Intersection A ∩ Bmin(μA, μB)in A and in B
Complement A′1 − μAnot in A
Difference A − Bmin(μA, 1 − μB)in A but not in B
Algebraic sum A + BμA + μB − μA × μBa softer union
Algebraic product A.BμA × μBa 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.

|A ∩ B| = 0.5 + 0.5 + 0.1 + 0.8 = 1.9. |A| = 2.9. So S(A, B) = 1.9 / 2.9 = 0.66.

|A ∪ B| = 1 + 1 + 0.6 + 1 = 3.6. So E(A, B) = 1.9 / 3.6 = 0.53.

Real-life example

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
Figure: membership of X and Y; union takes the larger bar, intersection the smaller

Same or opposite: crisp set and fuzzy set

PointCrisp setFuzzy setSame or opposite
Membership0 or 1Any value from 0 to 1Opposite
BoundarySharpGradualOpposite
Union and intersectionDefinedDefined, with max and minSame
Law of excluded middleHoldsDoes not holdOpposite

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.

Back to the topic list

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

  1. Encode each possible answer as a chromosome, often a bit string.
  2. Create a random starting population.
  3. Find the fitness of each chromosome with a fitness function.
  4. Select parents, giving fitter ones a higher chance (roulette wheel, tournament, rank).
  5. Crossover: join parts of two parents to make children.
  6. Mutation: flip a gene now and then with a small probability.
  7. 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

AdvantagesDisadvantages
Needs no derivative of the functionNo guarantee of the exact best answer
Searches many points at onceSlow when fitness is costly to compute
Works on discrete and mixed problemsSettings (population, rates) need tuning
Less likely to stop at a local peakMay 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
Figure: the genetic algorithm loop

Same or opposite: crossover and mutation

PointCrossoverMutationSame or opposite
Parents usedTwoOneOpposite
Main jobMix good partsAdd new varietyOpposite
RateHigh, about 0.6 to 0.9Low, about 0.01Opposite
Genetic operatorYesYesSame

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.

Back to the topic list

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

TypeInspired byGood for
NeuralBrain cellsRecognising patterns
FuzzyHuman reasoningControl with vague rules
EvolutionaryNatural selectionSearch and optimisation
SwarmAnt colonies, bird flocksPaths 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
Figure: components of computational intelligence

Same or opposite: computational intelligence and classic AI

PointComputational intelligenceClassic AISame or opposite
KnowledgeLearned from dataWritten as rulesOpposite
Handles noisy dataWellPoorlyOpposite
AimIntelligent behaviourIntelligent behaviourSame
ExampleNeural networkExpert systemOpposite

Exam tip. List the components with one line and one example each. A small table of type, inspiration and use makes the answer complete.

Back to the topic list

Q4. Feed forward and feedback networks

Asked 2 times in 2020, 2023 · Unit 1

From the papers

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

  1. 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.
  2. Pick training points x1 to xn inside the domain.
  3. The error at each point is how far y(x) misses the differential equation.
  4. 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.

Hidden output = sigmoid(0.3) = 1 / (1 + e^−0.3) = 0.574.

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
Figure: a feed forward net and a feedback net

Same or opposite: feed forward and feedback networks

PointFeed forwardFeedbackSame or opposite
LoopsNoneYesOpposite
Memory of past inputsNoYesOpposite
Built from neurons and weightsYesYesSame
ExampleMultilayer perceptronHopfield, ElmanOpposite

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.

Back to the topic list

Q5. Defuzzification and its methods

Asked 2 times in 2020, 2023 · Unit 2

From the papers

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

MethodRuleNote
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 maximumAverage of all z with the top μWhen the top is flat
Centre of sums, centre of largest areaUse areas of the clipped setsLess 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
Figure: where defuzzification sits

Same or opposite: centroid and max membership

PointCentroidMax membershipSame or opposite
UsesThe whole output shapeOnly the peakOpposite
ComputationMoreLessOpposite
Gives a crisp valueYesYesSame
Output changeSmoothCan jumpOpposite

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.

Back to the topic list

Q6. Fuzzy logic, fuzzy rules and fuzzy control

Asked 2 times in 2020, 2023 · Unit 2

From the papers

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

  1. Choose inputs and outputs and their membership functions.
  2. Fuzzification: turn each crisp input into membership values.
  3. Rule evaluation and inference (Mamdani or Sugeno).
  4. Aggregate the clipped output sets.
  5. 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
Figure: fuzzy inference in a car braking controller

Same or opposite: Mamdani and Sugeno inference

PointMamdaniSugenoSame or opposite
Rule outputA fuzzy setA formula or constantOpposite
Needs defuzzificationYes, fullSimple weighted averageOpposite
Uses fuzzy IF-THEN rulesYesYesSame
Best forExpert knowledgeFast control, tuningOpposite

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.

Back to the topic list

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

Lower = {1, 2}. Upper = {1, 2, 5, 6}. Boundary = {5, 6}. Accuracy = 2 / 4 = 0.5.

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
Figure: lower approximation, boundary and upper approximation

Same or opposite: lower and upper approximation

PointLowerUpperSame or opposite
ContainsObjects that surely belongObjects that may belongOpposite
SizeSmaller or equalLarger or equalOpposite
Made of whole equivalence classesYesYesSame
GivesCertain rulesPossible rulesOpposite

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.

Back to the topic list

Q8. Hidden Markov models and their applications

Asked 2 times in 2020, 2023 · Unit 4

From the papers

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

  1. Evaluation: how likely is an observation sequence? Forward algorithm.
  2. Decoding: which hidden state sequence is most likely? Viterbi algorithm.
  3. 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.

Day 1: α(R) = 0.6 × 0.1 = 0.06. α(S) = 0.4 × 0.6 = 0.24.

Day 2: α(R) = (0.06 × 0.7 + 0.24 × 0.4) × 0.4 = 0.0552. α(S) = (0.06 × 0.3 + 0.24 × 0.6) × 0.3 = 0.0486.

P(walk, shop) = 0.0552 + 0.0486 = 0.104.

Real-life example

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
Figure: an HMM with hidden weather and seen activities

Same or opposite: Markov chain and hidden Markov model

PointMarkov chainHidden Markov modelSame or opposite
StatesSeen directlyHiddenOpposite
Has transition probabilitiesYesYesSame
Emission probabilitiesNoneYesOpposite
ExampleBoard game movesSpeech recognitionOpposite

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.

Back to the topic list

Q9. Ant colony optimization

Asked 2 times in 2020, 2023 · Unit 5

From the papers

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

  1. Put pheromone τ on every edge of the problem graph.
  2. Each ant builds a path. It picks the next node with probability that grows with τ^α × η^β, where η = 1 / distance.
  3. After all ants finish, pheromone evaporates: τ ← (1 − ρ) τ.
  4. Each ant adds Q / L on the edges it used, where L is its path length.
  5. 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
Figure: pheromone builds up on the short path

Same or opposite: ACO and PSO

PointAnt colony optimizationParticle swarm optimizationSame or opposite
Inspired byAnts and pheromoneBird flocksOpposite
Best forPaths on graphsContinuous valuesOpposite
Population basedYesYesSame
MemoryPheromone on edgesPersonal and global bestOpposite

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.

Back to the topic list

Q10. Bee colony optimization

Asked 2 times in 2020, 2023 · Unit 5

From the papers

  • “Explain Bee colony optimization techniques.” (Dec 2020)
  • “Short note: Bee Colony Optimization.” (Nov 2023)

The short answer

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

  1. Place food sources at random.
  2. Employed bee phase: v = x + φ (x − xk), with φ random in −1 to 1. Keep v if it is better.
  3. Onlooker phase: pick sources with p = fit / Σ fit and improve them the same way.
  4. Scout phase: replace any source past its limit with a random one.
  5. 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
Figure: one cycle of the artificial bee colony

Same or opposite: employed bees and scout bees

PointEmployed beesScout beesSame or opposite
SearchNear a known sourceAnywhere at randomOpposite
RoleExploitExploreOpposite
Part of the same colonyYesYesSame
When usedEvery cycleOnly when a source is used upOpposite

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.

Back to the topic list

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
Figure: kinds of learning models

Same or opposite: parametric and nonparametric models

PointParametricNonparametricSame or opposite
Number of parametersFixedGrows with dataOpposite
Assumes a shapeYesFew assumptionsOpposite
Learns from training dataYesYesSame
ExampleLinear regressionk-nearest neighboursOpposite

Exam tip. Define both with two examples each. Then give the regression line example for "application in statistics". A compare table finishes it.

Back to the topic list

Q12. Particle swarm optimization (PSO)

Asked 1 time in 2023 · Unit 5

From the papers

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

  1. Start particles at random places with random velocities.
  2. Find the fitness of each particle.
  3. Update pbest for each particle and gbest for the swarm.
  4. Update velocity and position.
  5. 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.

v = 0.5 × 1 + 2 × 0.5 × (4 − 5) + 2 × 0.25 × (2 − 5).

So v = 0.5 − 1 − 1.5 = −2.

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
Figure: the PSO loop

Same or opposite: PSO and genetic algorithm

PointPSOGenetic algorithmSame or opposite
OperatorsVelocity updateCrossover, mutationOpposite
Memorypbest and gbestNone beyond the populationOpposite
Population based searchYesYesSame
Settings to tuneFewMoreOpposite

Exam tip. Write both update formulas and say what each term means. Show one velocity update with numbers. Name two uses.

Back to the topic list

Q13. GA encoding techniques and chromosome design

Asked 1 time in 2023 · Unit 3

From the papers

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

EncodingChromosome looks likeUsed for
Binary1 0 1 1 0 1Numbers, yes or no choices (knapsack)
Permutation3 1 5 2 4Order problems (travelling salesman)
Value1.2 5.3 0.7Real 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
Figure: encoding techniques in a GA

Same or opposite: binary and permutation encoding

PointBinaryPermutationSame or opposite
Gene values0 or 1Numbers in an orderOpposite
Needs special crossoverNoYes, such as order crossoverOpposite
Used in genetic algorithmsYesYesSame
Best forNumbers, selectionsRoutes, schedulesOpposite

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.

Back to the topic list

Q14. Alpha cuts, fuzzy relations and composition

Asked 1 time in 2023 · Unit 2

From the papers

  • “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)).
  • Max-product: use the product in place of min.

Alpha cuts.

A = {0.2/a, 0.5/b, 0.8/c, 1/d}.

A0.5 = {b, c, d}. Strong A0.5+ = {c, d}. Level set = {0.2, 0.5, 0.8, 1}.

Max-min composition.

R = [[0.7, 0.5], [0.8, 0.4]] and S = [[0.9, 0.6], [0.1, 0.7]].

T11 = max(min(0.7, 0.9), min(0.5, 0.1)) = 0.7. T12 = max(min(0.7, 0.6), min(0.5, 0.7)) = 0.6.

T21 = max(min(0.8, 0.9), min(0.4, 0.1)) = 0.8. T22 = max(min(0.8, 0.6), min(0.4, 0.7)) = 0.6.

So T = [[0.7, 0.6], [0.8, 0.6]].

Real-life example

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
Figure: max-min composition of two relations

Same or opposite: alpha cut and strong alpha cut

PointAlpha cutStrong alpha cutSame or opposite
Conditionμ ≥ αμ > αOpposite
Includes the boundary valueYesNoOpposite
Result is a crisp setYesYesSame
SizeEqual or largerEqual or smallerOpposite

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.

Back to the topic list

Q15. Fuzzy sets versus rough fuzzy sets

Asked 1 time in 2023 · Unit 4

From the papers

  • “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
Figure: from a fuzzy set to a rough fuzzy set

Same or opposite: fuzzy set and rough fuzzy set

PointFuzzy setRough fuzzy setSame or opposite
Uncertainty handledVague meaningVague meaning and coarse dataOpposite
MembershipOne valueA lower and an upper valueOpposite
Values lie from 0 to 1YesYesSame
Needs equivalence classesNoYesOpposite

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.

Back to the topic list

How we picked these questions

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-A Computational 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.

See all 1 CS-702-A previous year paper

AD-702-C Computational Intelligence important questions for AI & Data Science, Semester 7

AD-702-C follows the same RGPV syllabus as the other codes on this page. The 15 topics and answers above are the AD-702-C important questions too.

See all 1 AD-702-C previous year paper

About Computational Intelligence

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.

Start with the latest papers

Computational Intelligence - Dec 2020

See all 1 papers →

Computational Intelligence (CS-702-A) FAQs

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.