Which of the following algorithms is used to find the shortest path in a graph with negative edge weights but no negative cycles?

Codestorm - Kriya 2025

Quiz
•
Other
•
University
•
Hard
Codestorm2K25 undefined
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dijkstra's Algorithm
Bellman-Ford Algorithm
Prim's Algorithm
Kruskal's Algorithm
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a scenario where a sequence of digits is arranged in ascending order, which of the following options, when subjected to a binary operation of addition followed by a subtraction of the smallest digit, results in the smallest possible non-negative value?
The largest digit added to the smallest digit
The smallest digit subtracted from the largest digit
The sum of all digits minus the smallest digit
The sum of the smallest and second smallest digits
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following Python code:
What will be the output when the code is executed?
4
10
24
16
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following Python code: What will be the output when the code is executed?
12
42
15
27
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following Python code: What will be the output when the code is executed?
2
3
4
5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following Python code: What will be the output when the code is executed?
20
31
38
40
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following Python code: What will be the output when the code is executed?
6
8
9
11
Create a free account and access millions of resources
Similar Resources on Wayground
45 questions
Basics of Programming in Java (CH.9)

Quiz
•
University
40 questions
ASAS SAINS KOMPUTER T2 [ULANGKAJI]

Quiz
•
1st Grade - University
40 questions
Kuis Robotika

Quiz
•
University
42 questions
LearnTube Data Structure and Algorithm Quiz 11/2/23

Quiz
•
University
40 questions
A&P 2 EXAM 1

Quiz
•
University
40 questions
Conquer C

Quiz
•
University
40 questions
HPCN 21-09-23

Quiz
•
University
35 questions
TECHTRIX2025 BUGHUNT FINALS

Quiz
•
University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade