Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
20 views4 pages

Genetic Algorithms Semester Questions

The document discusses Genetic Algorithms (GAs), which are inspired by natural genetics and evolution to perform probabilistic search and optimization tasks. It outlines the basic framework of GAs, including initialization, evaluation, selection, crossover, mutation, and termination, as well as different GA architectures like Generational and Steady-State GAs. Additionally, it covers GA operators such as encoding, selection techniques, and their application in solving single-objective optimization problems.

Uploaded by

Debasish Roy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views4 pages

Genetic Algorithms Semester Questions

The document discusses Genetic Algorithms (GAs), which are inspired by natural genetics and evolution to perform probabilistic search and optimization tasks. It outlines the basic framework of GAs, including initialization, evaluation, selection, crossover, mutation, and termination, as well as different GA architectures like Generational and Steady-State GAs. Additionally, it covers GA operators such as encoding, selection techniques, and their application in solving single-objective optimization problems.

Uploaded by

Debasish Roy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Unit 3: Genetic Algorithms – Probable

Semester Questions and Answers


1. Concept of "Genetics" and "Evolution" and its Application to
Probabilistic Search Techniques
Genetics and evolution in nature refer to the biological processes of inheritance and natural
selection.
In computational intelligence, Genetic Algorithms (GAs) mimic these natural processes to
perform search and optimization tasks.
- Genetics provides the metaphor of encoding potential solutions as "chromosomes."
- Evolution refers to selection, crossover, and mutation to improve generations of solutions
over time.
- GAs belong to a class of evolutionary algorithms that perform probabilistic search, not
deterministic.
Applications: Traveling Salesman Problem, Neural Network training, Job Scheduling, Game
Playing, Function Optimization.

MCQs:
1. Genetic Algorithms are based on:
A) Deterministic search
B) Dynamic programming
C) Biological evolution principles ✅
D) Random sampling only

2. In a GA, a chromosome represents:


A) An organism
B) A potential solution ✅
C) A cell
D) A random guess

2. Basic GA Framework and Different GA Architectures


GA Framework:
1. Initialization: Generate a random population of individuals (chromosomes).
2. Evaluation: Calculate fitness of each individual.
3. Selection: Select individuals based on fitness.
4. Crossover: Combine parts of two parents to produce offspring.
5. Mutation: Randomly alter genes to maintain diversity.
6. Replacement: Replace old population with new offspring.
7. Termination: Stop when convergence or generation limit is reached.

Different GA Architectures:
- Generational GA: Replaces entire population each generation.
- Steady-State GA: Replaces few individuals at a time.
- Parallel GA: Population divided into subgroups to process in parallel.
- Distributed GA: Use of isolated subpopulations (islands) with occasional migration.

MCQs:
1. What is the first step in a basic Genetic Algorithm framework?
A) Mutation
B) Initialization ✅
C) Selection
D) Fitness Evaluation

2. Steady-State GA differs from Generational GA because:


A) It uses more chromosomes.
B) It never stops.
C) Only a few individuals are replaced at each step. ✅
D) It does not use crossover.

3. GA Operators: Encoding, Crossover, Selection, Mutation, etc.


Encoding: How solutions are represented.
- Binary Encoding: e.g., 101101
- Real-valued Encoding: e.g., 3.4, 5.2
- Permutation Encoding: For order-based problems (e.g., TSP)

Selection: Chooses fitter individuals for reproduction.


- Roulette Wheel Selection
- Tournament Selection
- Rank Selection

Crossover (Recombination): Combines two parents to produce offspring.


- Single Point
- Two Point
- Uniform Crossover

Mutation: Randomly alters genes.


- Bit Flip (Binary)
- Swap Mutation (Permutation)
- Gaussian Mutation (Real-valued)
Elitism: Preserving best individuals from one generation to the next.

MCQs:
1. In GA, which operator helps maintain genetic diversity?
A) Selection
B) Crossover
C) Mutation ✅
D) Encoding

2. Which selection technique is based on random chance but weighted by fitness?


A) Tournament Selection
B) Rank Selection
C) Roulette Wheel Selection ✅
D) Linear Scaling

4. Solving Single-Objective Optimization Problems using GAs


A single-objective optimization problem aims to either maximize or minimize a given
function.

Steps using GA:


1. Define the objective function f(x)
2. Encode the solution into chromosomes
3. Initialize population randomly
4. Evaluate fitness for each chromosome using f(x)
5. Apply GA operators: selection, crossover, mutation
6. Repeat until stopping condition is met

Example:
Maximize f(x) = x^2 where 0 ≤ x ≤ 31
- Binary encoding: 5 bits
- Use selection, crossover, and mutation to evolve better values of x over generations.

MCQs:
1. In single-objective optimization, the goal is to:
A) Satisfy all constraints
B) Maximize or minimize one function ✅
C) Minimize multiple costs
D) Generate all possible solutions

2. What is the fitness of a solution in GA?


A) Its complexity
B) Its execution time
C) A value representing solution quality ✅
D) Random number

You might also like