Aspire Faculty ID #18579 · Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II) · Just now
UGC NET Computer Science Dec 2022 Shift I (Paper II)

Consider the graph given below. What is the order in which the nodes mentioned in the options are to be traversed to find the shortest path from A to Z using best first search?
A. Node-A
B. Node-B
C. Node-C
D. Node-D
E. Node-E

Choose the correct answer from the options given below:

Solution

Using best first search, we always choose the next node with the minimum available cost.

From $A$:

$A \to C = 2$

$A \to F = 7$

So, choose $C$.

From $C$:

$C \to F = 3$

$C \to B = 10$

So, choose $F$.

From $F$:

$F \to D = 1$

$F \to E = 6$

So, choose $D$.

From $D$:

$D \to E = 2$

$D \to Z = 7$

So, choose $E$.

From $E$:

$E \to Z = 4$

Hence, the traversal order before reaching $Z$ is:

$A \to C \to F \to D \to E$

Correct option is:

$\boxed{(a)\ A \to C \to F \to D \to E}$

Previous 10 Questions — UGC NET Computer Science Dec 2022 Shift I (Paper II)

Nearest first
1
The incremental model of software development is ____
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
2
A disk has $300$ cylinders $(0$ to $299)$. If the initial position of the read-write head is at cylinder $101$, moving …
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
3
Consider the following schedule S. T1T2T3 T4 Timestamp  R(X) R(Y)  t1 &nbs…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
4
Arrange the following search and sort algorithms in ascending order of their worst-case complexities.A. Merge sortB. Li…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
5
Let $G$ be a simple, undirected graph with $n$ vertices and $k$ connected components. What is the minimum possible numb…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
6
Match List I with List II List I List IIA. Regression I. Unsupervised Learning B. KNN II. Supervised Learnin…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
7
Match List I with List II List I List IIA. Physical Layer I. Transforming the raw bits in the form of a frame…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
8
Match List I with List II List I List IIA. Initial Configuration of stack and input in the LL Parsing process…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
9
Match List I with List II List I List IIA. 8-Queens problems I. Divide and conquer B. Closest Pair of points …
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
10
Match List I with List II List I List IIA. Condition coverage I. Black box testing B. Equivalence class Parti…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)

Next 10 Questions — UGC NET Computer Science Dec 2022 Shift I (Paper II)

Ascending by ID
1
The precedence of regular expression operators from lowest to highest precedence is:
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
2
 Arrange the following in the correct order with respect to key generation for RSA algorithm. A. Choose an integer…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
3
Which of the following is related to function of layers in a neural network? A. Information $\to$ Input layer $\to$ Hid…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
4
Given below are the two statements: Statement I: The main objective for using virtual memory is to increase the effecti…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
5
A disk has $300$ cylinders $(0$ to $299)$. If the initial position of the read-write head is at cylinder $101$, moving …
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
6
Given below are the two statements:Statement I: Any retrieval request that is specified in the basic relational algebra…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
7
The primary objectives of the SWE-IPT are to: A. Solicit stakeholder needs and expectations. B. Specify the software re…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
8
Consider the following statements:A. For every regular language, we can design Turing Machine.B. For every context free…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
9
 Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R. A: Artifici…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
10
For a knapsack problem, $P$ and $W$ are profits and weights for a set of $7$ items as given below:$P={9,5,2,7,6,16,9}$$…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
Ask Your Question or Put Your Review.

loading...