📞 0339-0387701 (WhatsApp)
Contact
☰
🔍
Home
Important MCQs
Computer
Current Affairs
English
Everyday Science
General Knowledge
General Science
Islamic Studies MCQs
Maths MCQs
Pak Study
Pedagogy
Urdu MCQs
Past Papers
ASF Past Papers
FIA Past Papers
FPSC Past Papers
NCCIA Past Papers
NTS Past Papers
PPSC Past Papers
Latest Jobs
Army Jobs
Education Department
Federal Govt Jobs
Health Department
Police Jobs
Sindh Govt Jobs
Resources
About Us
Contact
🔍
Home
» Which algorithm is used to find the shortest path in a graph?
« Back to Computer
Which algorithm is used to find the shortest path in a graph?
A. Decision Tree
B. Dijkstra's Algorithm ✅
C. K-Nearest Neighbors
D. None of these
Correct Answer:
B. Dijkstra's Algorithm
Explanation
Dijkstra's Algorithm is used to find the shortest path between nodes in a graph, especially for weighted graphs.
It works by iteratively selecting the closest unvisited node and updating the shortest path estimates.
« The software that contains the core components of the operating…
What is the primary function of Firewall in computer networks? »
Related MCQs
Who among the following is considered the inventor of the World Wide Web(WWW)
Google is a _____?
What is the use of a firewall in a computer?
MS PowerPoint is used for _______?
F9 key in Microsoft Word used for _____?
By default the cell content alignment is
In Microsoft Excel, the file you create and edit is called?
Which would you choose to move selected text from one place to another?