Selected MCQ

Current Question
Which hashing algorithm is considered insecure due to collision vulnerabilities?
  • A. SHA-256
  • B. MD5
  • C. SHA-3
  • D. Blowfish
Correct Answer: B
Explanation:
MD5 is outdated and vulnerable to collisions; SHA-256 and SHA-3 are more secure.
Related Question 1
In robot path planning, what is the role of the A* (A star) algorithm?
  • A. Mapping 3D environment
  • B. Optimal path search on a graph of possible moves
  • C. Real-time motion control
  • D. Image processing
Correct Answer: B
Explanation:
A* is a pathfinding algorithm that efficiently finds optimal paths on graphs or grids.
Related Question 2
Which of these is a type of unsupervised learning algorithm?
  • A. Decision tree
  • B. K-means clustering
  • C. Logistic regression
  • D. Random forest
Correct Answer: B
Explanation:
K-means is a clustering algorithm used in unsupervised learning.
Related Question 3
Which algorithm is best suited for classification tasks in machine learning?
  • A. Linear regression
  • B. K-means
  • C. Support vector machine
  • D. PCA
Correct Answer: C
Explanation:
Support Vector Machine is commonly used for classification problems.
Related Question 4
Which algorithm allows quantum computers to factor large numbers efficiently, threatening RSA encryption?
  • A. Shor's algorithm
  • B. Dijkstra's algorithm
  • C. FFT algorithm
  • D. Quicksort
Correct Answer: A
Explanation:
Shor's algorithm can factor integers in polynomial time, which could break RSA keys.
Related Question 5
Which service provides automated application security scanning against known vulnerabilities?
  • A. VPN
  • B. IDS (Intrusion Detection System)
  • C. WAF (Web Application Firewall)
  • D. Antivirus
Correct Answer: C
Explanation:
A Web Application Firewall (WAF) filters and monitors HTTP traffic for vulnerabilities like SQL injection.