V = {A, B, C, D, E, F, G, H, I} E = {e1 = (A, B), e2 = (A, C), e3 = (A, D), e4 = (B, C), e5 = (B, F), e6 = (B, H), e7 = (C, D), e8 = (C, E), e9 = (C, F), e10 = (D, E), e11 = (D, I), e12 = (E, F), e13 = (E, G), e14 = (F, G), e15 = (F, H), e16 = (G, H), e17 = (G, I), e18 = (H, I)} W = {22, 9, 12, 35, 36, 34, 4, 33, 30, 18, 23, 24, 39, 25, 21, 19} The weight of the shortest path from node A to I in the undirected graph is........... .
42
The figure shows an undirected weighted graph on nodes A to I with these edge weights: A–B 22, A–C 9, A–D 12, B–C 35, B–F 36, B–H 34, C–D 4, C–E 65, C–F 42, D–E 33, D–I 30, E–F 18, E–G 23, F–G 39, F–H 24, G–H 25, G–I 21 and H–I 19.
The weight of a path is the sum of its edge weights, so the shortest path is found with Dijkstra's algorithm, not by counting edges (the values 2 and 3 are only hop counts, not weights).
Dijkstra from A starts with distance 0 at A, then C = 9, D = min(12, 9 + 4) = 12, B = 22, E = min(9 + 65, 12 + 33) = 45, I = 12 + 30 = 42, F = min(22 + 36, 9 + 42, 45 + 18) = 51, H = 22 + 34 = 56, G = 45 + 23 = 68.
Node I is settled with distance 42 through the path A → D → I, since every other route to I (via H at 56 + 19 = 75 or via G at 68 + 21 = 89) is longer.
The route A → C → D → I costs 9 + 4 + 30 = 43, which is 1 more than the direct route through D, so 43 is not the minimum.
Check: the two edges on the chosen path are A–D = 12 and D–I = 30, and 12 + 30 = 42; no edge into I is lighter than 19, and reaching H already costs 56, so nothing beats 42.
Hence, 42.
Let \(\varphi, \psi\) be the formula, \(\varphi \models \Psi\), if and only if \(\varphi \models \Psi\) is a :
Which of the following relations defined on X = {1, 2, 3} is an equivalent relation ?
A rod is divided into six segment is to be colored with one or more of 4 different colors. In how many ways can this be done ?
Consider the following linear programming problem : Maximize \(z = 5x_{1} + 2x_{2} + 3x_{3} - x_{4} + x_{5}\) Subject to : \(x_{1} + 2x_{2} + 2x_{3} + x_{4} = 8\), \(3x_{1} + 4x_{2} + x_{3} + x_{5} = 7\), \(x_{1}, x_{2}, x_{3}, x_{4}, x_{5} \geq 0\) What will be the basic feasible solution after iteration 1 ?
The thickness of a graph G is defined as minimum number of (edge-disjoint) planar subgraphs into which G can be decomposed. The thickness of G is defined as \(\theta(G)\). What is the thickness of planar graph ?
A committee is to be selected from 5 candidates a, b, c, d and e. The selection must satisfy all the following conditions :
• Either a or b must be included, but not both
• Either c or e or both must be included
• If d is included then b must be included
• Either a or c are included or neither is included.
• If e is included, then c and d must be included. How should selection be made ?
Let us consider the letters from a through h, and all 5 letters are made using these letters. (words are just strings of letters). How many of these words contain no repeated letters ?
Let us consider the following primal problem : Maximize \(z = 2x_{1} + x_{2}\) Subject to \(x_{1} - x_{2} \leq 4\), \(x_{1} - x_{2} \leq 2\), \(x_{1}, x_{2} \geq 0\) What will be its dual problem ?
Identify an appropriate operation sequence with respect to execution of a machine level language instruction.
The “instruction decode” phase in CPU’s instruction cycle is responsible to _____ .
.................... is a client server application that identifies each host on the internet with a unique user-friendly name.
Every OS has a ................ or .......... which primarily resides in the main memory of the computer to perform some of the basic functions of the OS.
(i) Kernel
(ii) Interface
(iii) Nucleus
(iv) Compiler
Codes:
Which of the following are referred to as low level language?
(i) Machine language
(ii) Assembly language
(iii) High level language
(iv) Natural language
Codes:
Match the following:
| List I | List II |
| (a) New York Public Library | (i) Shelv AR |
| (b) Miami University Augmented Research Group | (ii) Smart library |
| (c) Oula University Library | (iii) Wolf Walk |
| (d) North Carolina State University | (iv) Find the future |
Codes:
Which part of the QR code represents the encoded data?