1
GATE CSE 2023
MCQ (More than One Correct Answer)
+2
-0

Let G be a simple, finite, undirected graph with vertex set {$$v_1,...,v_n$$}. Let $$\Delta(G)$$ denote the maximum degree of G and let N = {1, 2, ...} denote the set of all possible colors. Color the vertices of G using the following greedy strategy:

for $$i=1,....,n$$

color($$v_i)$$ $$\leftarrow$$ min{$$j\in N$$ : no neighbour of $$v_i$$ is colored $$j$$}

Which of the following statements is/are TRUE?

A
This procedure results in a proper vertex coloring of G.
B
The number of colors used is at most $$\Delta(G)+1$$.
C
The number of colors used is at most $$\Delta(G)$$
D
The number of colors used is equal to the chromatic number of G.
2
GATE CSE 2023
Numerical
+2
-0

Let $$U = \{ 1,2,3\} $$. Let 2$$^U$$ denote the powerset of U. Consider an undirected graph G whose vertex set is 2$$^U$$. For any $$A,B \in {2^U},(A,B)$$ is an edge in G if and only if (i) $$A \ne B$$, and (ii) either $$A \supseteq B$$ or $$B \supseteq A$$. For any vertex A in G, the set of all possible orderings in which the vertices of G can be visited in a Breadth First Search (BFS) starting from A is denoted by B(A).

If $$\phi$$ denotes the empty set, then the cardinality of B($$\phi$$) is ___________

Your input ____
3
GATE CSE 2023
MCQ (More than One Correct Answer)
+1
-0

Which one or more of the following need to be saved on a context switch from one thread (T1) of a process to another thread (T2) of the same process?

A
Page table base register
B
Stack pointer
C
Program counter
D
General purpose registers
4
GATE CSE 2023
MCQ (More than One Correct Answer)
+1
-0

Which one or more of the following options guarantee that a computer system will transition from user mode to kernel mode?

A
Function Call
B
malloc Call
C
Page Fault
D
System Call
EXAM MAP