New Post

Python Code || Path Planning with Grey Wolf Optimization (GWO) ~xRay Pixy

Image
Learn how to implement an obstacle-avoiding path planning for a robot using the Grey Wolf Optimization (GWO) in a static environment. #optimization #algorithm #metaheuristic #robotics #deeplearning #ArtificialIntelligence #MachineLearning #computervision #research #projects #thesis #Python

BARC Previous Year Question Papers Solved

 BARC Computer Science and Information Technology Previous Year Question  Solved 

1.) The worst-case time complexity of Quick Sort is:

  • O(nlogn)
  • O(n)
  • O(n^2)
  • None
Answer: O(n^2)
Explanation: Quicksort is based on the divide and conquers paradigm. Quicksort expected average running time is O(nlogn)

2.) In C programming operator '&' is used to represent:
  • Logical AND
  • Bitwise AND
  • Logical OR
  • Bitwise OR
Answer: Bitwise AND
Explanation: logical AND (&&), bitwise AND (&), Logical OR (||), Bitwise OR(|)

3.) When a static variable is initialized:
Answer: First time when a loop is executed.
Explanation: Static variables only execute once.

4.) What is the maximum height of the AVL tree with 7 nodes? Assume that height of the tree with a single node is 0.
Answer: 3.

5.) Data structure used in the recursive algorithm is:
Answer: Stack

Comments

Popular Post

PARTICLE SWARM OPTIMIZATION ALGORITHM NUMERICAL EXAMPLE

Cuckoo Search Algorithm for Optimization Problems

Particle Swarm Optimization (PSO)

PSO (Particle Swarm Optimization) Example Step-by-Step

how is the LBP |Local Binary Pattern| values calculated? Step-by-Step with Example

PSO Python Code || Particle Swarm Optimization in Python || ~xRay Pixy

Bat algorithm Explanation Step by Step with example

Grey Wolf Optimization Algorithm

Grey Wolf Optimization Algorithm Numerical Example

Whale Optimization Algorithm Code Implementation || WOA CODE || ~xRay Pixy