PYQBOOK

Filter Questions

Found 475 question(s)

Q396 MCQ CUET-PG COMPUTER SCIENCE (MCA) Easy 4 Marks 2022
Operating Systems → OS basics
Which of the following storage hardwares can be used as a back-up device? A. HDD B. ROM C. RAM D. Cache E. Magnetic Tape
Choose One:
Q397 MCQ GATE CS Medium 2 Marks 2020
ALGO → Graph Traversal
Let G=(V,E) be a directed, weighted graph with weight function w:E \rightarrow \mathbb{R}. For some function f:V \rightarrow \mathbb{R}, for each edge (u,v) \in E, define w'(u,v) as w(u,v) + f(u) - f(v). Which one of the options completes the following sentence so that it is TRUE? 'The shortest paths in G under w are shortest paths under w' too,'
Choose One:
Q398 MCQ GATE CS Medium 1 Mark 2020
ALGO → Asymptotic Notations
For parameters a and b, both of which are \omega(1), T(n) = T(n^(1/a)) + 1, and T(b) = 1. Then T(n) is
Choose One:
Q399 MCQ GATE CS Medium 2 Marks 2020
ALGO → Greedy Algorithms
Let G=(V,E) be a weighted undirected graph and let T be a Minimum Spanning Tree (MST) of G maintained using adjacency lists. Suppose a new weighted edge (u,v) in V x V is added to G. The worst case time complexity of determining if T is still an MST of the resultant graph is
Choose One:
Q400 NAT GATE CS Easy 2 Marks 2020
ALGO → Greedy Algorithms
Consider a graph G=(V,E) where V = \{v_1, v_2, ..., v_{100}\}, E = \{(v_i, v_j) | 1 \le i < j \le 100\}, and weight of the edge (v_i, v_j) is |i - j|. The weight of minimum spanning tree of G is
Enter Numerical Answer: