Consider the task of finding the shortest path in an unweighted graph by using BFS and DFS.
Which of the following statements are true? (A). BFS always finds the shortest path. (B). DFS always finds the shortest path. (C). DFS does not guarantee finding the shortest path. (D). BFS does not guarantee finding the shortest path.
Choose the correct answer from the options given below: 1. (B) and (D) only 2. (A) and (C) only 3. (A) and (B) only 4. (C) and (D) only
Previous 10 Questions — CUET 2025
Nearest first
1
2
3
4
5
6
7
8
9
10
Match List-I with List-II
List - I
List - II
(CPU Schedu…
Topic: CUET 2025
From the given sets, which is an infinite set:1. $\{x:x\in N~and~(x-1)(x-2)=0\}$2. $\{x: x \in N ~ and ~ x ~ is ~prime …
Topic: CUET 2025
Out of 5 consonants and 4 vowels, how many words of 3 consonants and 3 vowels can be made? 1.40 2.80 3.2…
Topic: CUET 2025
A fair coin is tossed three times. Let A be the event of getting exactly two heads and B be the event of getting at mos…
Topic: CUET 2025
Which figure comes next in the given series below.
Topic: CUET 2025
Minimum number of 2:1 Multiplexers required to design a 16:1 Multiplexer is?
Topic: CUET 2025
External fragmentation occurs 1. When enough total memory space exists to satisfy a request, but it is not contigu…
Topic: CUET 2025
If $f(x)=\begin{cases}x\sin(\frac{1}{x}), & x\ne0 \\ 0, & x=0\end{cases}$, then $f(x)$ is
Topic: CUET 2025
Arrange the following layers of MS DOS operating system starting from inner most to outer most. (A). ROM BIOS Devi…
Topic: CUET 2025
In the following question, there is a certain relationship between two given words on one side of ''::" and one word is…
Topic: CUET 2025
Next 10 Questions — CUET 2025
Ascending by ID
1
2
3
4
5
6
7
8
9
10
Given the index i of a node in a heap, we can not compute: 1. Parent () 2. Heap size 3. Left (i) 4.…
Topic: CUET 2025
If a, b and c are in Geometric Progression and $a^{\frac{1}{x}}=b^{\frac{1}{y}}=c^{\frac{1}{z}}$ then, x, y, z are in1.…
Topic: CUET 2025
All the elements that hash to the same slot are placed into the same linked list in : 1. Universal hashing 2.…
Topic: CUET 2025
Match List-I with List-II List-I List-II (Algorithm) (Recurrence relation)(A).Binary Search(I).&nbs…
Topic: CUET 2025
The value of $\lim_{x\rightarrow\infty}(1+\frac{2}{3x})^{x}$ is:
Topic: CUET 2025
What is the result of the following operation defined by IEEE754(NaN == NaN) 1. false 2. true 3. error&n…
Topic: CUET 2025
Which of the following statements are TRUE, where |E| represents the number of edges. (A). In case of a directed g…
Topic: CUET 2025
Consider the following statements. (A). Combinational logic circuits do not have memory, while sequential logic ci…
Topic: CUET 2025
The center and radius for the circle $x^2 + y^2 +6x-4y +4 = 0$ respectively are: 1. (2, 3) and 3 2. (3, 2) an…
Topic: CUET 2025
If (x -1) is a factor of $2x^2-5x +k = 0$, then the value of k is:1. 22. 53. 34. 4
Topic: CUET 2025