1
GATE CSE 2024 Set 1
MCQ (More than One Correct Answer)
+2
-0
Consider the operators $\diamond$ and $\square$ defined by $a \diamond b=a+2 b, a \square b=a b$, for positive integers. Which of the following statements is/are TRUE?
A
Operator $\diamond$ obeys the associative law
B
Operator $\square$ obeys the associative law
C
Operator $\diamond$ over the operator $\square$ obeys the distributive law
D
Operator $\square$ over the operator $\diamond$ obeys the distributive law
2
GATE CSE 2024 Set 1
Numerical
+2
-0

The number of edges present in the forest generated by the DFS traversal of an undirected graph G with 100 vertices is 40. The number of connected components in G is ________

Your input ____
3
GATE CSE 2024 Set 1
Numerical
+2
-0

A bag contains 10 red balls and 15 blue balls. Two balls are drawn randomly without replacement. Given that the first ball drawn is red, the probability (rounded off to 3 decimal places) that both balls drawn are red is ________

Your input ____
4
GATE CSE 2024 Set 1
MCQ (More than One Correct Answer)
+1
-0

Which of the following statements about threads is/are TRUE?

A

Threads can only be implemented in kernel space

B

Each thread has its own file descriptor table for open files

C

All the threads belonging to a process share a common stack

D

Threads belonging to a process are by default not protected from each other

EXAM MAP