GATE 2025
65 questions
MCQ 35 · MSQ 18 · NAT 121-mark 30 · 2-mark 35
Questions 41–45 of 65
For , the floor function is denoted by and defined as follows
where is an integer. Let , where is an exponentially distributed random variable with mean , where denotes the natural logarithm. For any positive integer , one can write the probability of the event as follows
The value of is
where is an integer. Let , where is an exponentially distributed random variable with mean , where denotes the natural logarithm. For any positive integer , one can write the probability of the event as follows
The value of is
Answer: (A)
Here and its mean is . So the rate is
Now compare this with the given form . This means we need
Answer: 0.1
Now compare this with the given form . This means we need
Answer: 0.1
Consider the neural network shown in the figure with
inputs:
weights:
output:
denotes the ReLU function, .
Given ,
,
which one of the following is correct?
inputs:
weights:
output:
denotes the ReLU function, .
Given ,
,
which one of the following is correct?
Answer: (A)
From the figure: the top ReLU receives through and through . The bottom ReLU receives through and through . The output ReLU receives the top output through and the bottom output through .
Forward pass with :
Top input , so top output and the ReLU slope is .
Bottom input , so bottom output and the ReLU slope is .
Output input , so and the slope is .
: the chain is output ReLU, then , then top ReLU, then :
: multiplies the bottom output, which is :
Answer: (A)
Forward pass with :
Top input , so top output and the ReLU slope is .
Bottom input , so bottom output and the ReLU slope is .
Output input , so and the slope is .
: the chain is output ReLU, then , then top ReLU, then :
: multiplies the bottom output, which is :
Answer: (A)
Consider game trees Tree-1 and Tree-2 as shown. The first level is a MAX agent and the second level is a MIN agent. The value in the square node is the output of the utility function.
For what ranges of and , the right child of node B and the right child of node E will be pruned by alpha-beta pruning algorithm?
For what ranges of and , the right child of node B and the right child of node E will be pruned by alpha-beta pruning algorithm?
Answer: (C)
Tree-1: MAX root has children: leaf , and MIN node (children: leaf , leaf ). Evaluating left to right: 's alpha becomes after seeing the leaf . Entering (inheriting alpha ), its first child sets 's beta . The second child (leaf ) gets pruned exactly when 's current beta already can't beat the inherited alpha, i.e. — giving .
Tree-2: MAX root has children: MIN node (children ), and MIN node (children leaf , then a pruned subtree). Evaluating first gives 's value , updating 's alpha to this value. Entering (inheriting this alpha), its first child (leaf ) sets 's beta . The remaining subtree gets pruned exactly when , i.e. (this covers both and , since in both cases) — giving .
Answer: and
Tree-2: MAX root has children: MIN node (children ), and MIN node (children leaf , then a pruned subtree). Evaluating first gives 's value , updating 's alpha to this value. Entering (inheriting this alpha), its first child (leaf ) sets 's beta . The remaining subtree gets pruned exactly when , i.e. (this covers both and , since in both cases) — giving .
Answer: and
The state graph shows the action cost along the edges and the heuristic function associated with each state.
Suppose A* algorithm is applied on this state graph using priority queue to store the frontier. In what sequence are the nodes expanded?
Suppose A* algorithm is applied on this state graph using priority queue to store the frontier. In what sequence are the nodes expanded?
Answer: (C)
A* picks the next node to expand using (the cost of the path so far plus the heuristic estimate). It always takes the frontier node with the lowest value.
Start at : and . Expand first, since its is smaller.
From : . The frontier is . Expand next.
From : . The frontier is . Expand next.
From : . This is worse than the already found through , so stays at cost . The frontier is . Expand next.
From : . Expand , then : .
Order of expansion:
Answer: S, A, E, B, C, D, G
Start at : and . Expand first, since its is smaller.
From : . The frontier is . Expand next.
From : . The frontier is . Expand next.
From : . This is worse than the already found through , so stays at cost . The frontier is . Expand next.
From : . Expand , then : .
Order of expansion:
Answer: S, A, E, B, C, D, G
A random experiment consists of throwing 100 fair dice, each die having six faces numbered 1 to 6. An event A represents the set of all outcomes where at least one of the dice shows a 1. Then,
Answer: (C)
The event means "at least one die shows a ". It is easier to use the complement:
One die does not show with probability . All dice are independent, so:
Then:
Answer:
One die does not show with probability . All dice are independent, so:
Then:
Answer: