chapter

    Neural Networks and Activation Functions Pyqs for Gate Da

    Solve 4+ Neural Networks and Activation Functions previous year questions for GATE DA with answers and detailed solutions. Free sample questions below.

    Try a question

    Answer it here to see how it works. Nothing is recorded until you sign in.

    Question 1
    2026 PYQ
    Level 3: Exam Standard
    Consider a fully-connected feed-forward multi-layer perceptron. It has 30 neurons in the input layer, followed by two hidden layers and an output layer. The first hidden layer has 4 neurons and the second hidden layer has 3 neurons. The output layer has only one neuron. Assume that no bias parameters are used.

    The number of learnable parameters in the multi-layer perceptron is __________ . (Answer in integer)
    Question 2
    2025 PYQ
    Level 3: Exam Standard
    Question 3
    2025 PYQ
    Level 3: Exam Standard
    Consider the neural network shown in the figure with
    inputs:
    weights:
    output:
    denotes the ReLU function, .

    u v R R R a b c d e f y
    Given

    which one of the following is correct?
    Question 4
    2024 PYQ
    Level 3: Exam Standard
    Consider the two neural networks (NNs) shown in Figures 1 and 2, with
    activation (). denotes the set of real numbers. The
    connections and their corresponding weights are shown in the Figures. The biases
    at every neuron are set to 0. For what values of in Figure 2 are the two NNs
    equivalent, when
    ,
    ,
    are positive?
    Figure 1x₁x₂x₃111111222233Figure 2x₁x₂x₃pqr
    Free preview ends here

    Login to view the complete previous-year questions and solutions

    Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.

    Explore complete test series, official past papers, and chapter-wise study tools.

    Why MastersUp

    Personalised first. High quality throughout.

    Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.

    Built around you, not around a syllabus PDF

    Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.

    Revision that hits your weak spots

    We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.

    Questions calibrated to the real exam

    Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.

    Notes written for recall, not for volume

    Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.

    One place for everything

    Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.

    Honest progress

    No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.

    Unlock the whole course

    Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.

    Neural Networks and Activation Functions PYQs for GATE DA

    Solve 4+ Neural Networks and Activation Functions previous year questions for GATE DA with answers and detailed solutions. Free sample questions below.

    Chapter Roadmap: Neural Networks and Activation Functions

    Chapter Roadmap

    Neural Networks and Activation Functions

    1. ReLU Activation Properties and Gradients (Current)

    • Definition and mechanics of the Rectified Linear Unit
    • Why it solves the vanishing gradient problem
    • The derivative and the "Dying ReLU" trap

    2. ReLU Activation Properties and Gradients (Advanced)

    • Handling the limitations of standard ReLU
    • Variants like Leaky ReLU and their gradient flows

    3. Neural Network Architecture, Parameters and Equivalence

    • Building blocks of multi-layer perceptrons
    • Exact methods for counting weights and biases

    4. Neural Network Architecture, Parameters and Equivalence (Advanced)

    • Functional equivalence between different network topologies
    • Complex architectural reasoning for exam problems

    What you will master

    By the end of this chapter, you will be able to compute gradients through activation functions, diagnose training failures, and precisely calculate the parameter count of any given feed-forward network.

    ReLU Activation Properties and Gradients

    Neural Networks > ReLU Activation

    ReLU Activation Properties and Gradients

    ReLU is the engine that made training deep neural networks computationally feasible and stable, replacing older functions like Sigmoid and Tanh.

    01 Piecewise mathematical definition
    02 Mitigating vanishing gradients
    03 Derivative and subgradient rules
    04 Identifying the "Dying ReLU" trap

    Neural Networks and Activation Functions: Solved Questions with Step-by-Step Explanations (4 Problems)

    Question 1 · Machine Learning · 2026 NAT
    Consider a fully-connected feed-forward multi-layer perceptron. It has 30 neurons in the input layer, followed by two hidden layers and an output layer. The first hidden layer has 4 neurons and the second hidden layer has 3 neurons. The output layer has only one neuron. Assume that no bias parameters are used.

    The number of learnable parameters in the multi-layer perceptron is __________ . (Answer in integer)
    Correct Answer:

    135

    Step-by-Step Solution

    Insight: This is a parameter counting problem for a fully-connected feed-forward network without biases.

    Exam route: Multiply the number of neurons in adjacent layers to get the weights for that transition, then sum the products across all layers.

    Learning route:

    Step 1: Identify layer sizes. Input = 30, Hidden 1 = 4, Hidden 2 = 3, Output = 1.

    Step 2: Calculate weights between Input and Hidden 1: .

    Step 3: Calculate weights between Hidden 1 and Hidden 2: .

    Step 4: Calculate weights between Hidden 2 and Output: .

    Step 5: Sum the weights. The problem explicitly states no bias parameters are used, so bias count is 0.

    Total parameters = .

    Answer: 135.

    Question 2 · Machine Learning · 2025 MSQ
    1. A.

      ReLU is continuous everywhere

    2. B.

      ReLU is differentiable everywhere

    3. C.

      ReLU is not differentiable at

    4. D.

      ReLU() = ReLU(), for all

    Correct Answer:

    ["A","C"]

    Step-by-Step Solution

    Insight: This is a conceptual question testing the mathematical properties of the ReLU activation function, specifically its continuity and differentiability.

    Exam route: Recall the piecewise definition of ReLU. Check continuity at . Check left and right derivatives at a \in \mathbb{R}$?

    Let . . . . (Option D is False)

    Answer: A, C.

    Question 3 · Machine Learning · 2025 MCQ
    Consider the neural network shown in the figure with
    inputs:
    weights:
    output:
    denotes the ReLU function, .

    u v R R R a b c d e f y
    Given

    which one of the following is correct?
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: This is a backpropagation through ReLU problem, requiring careful evaluation of the forward pass to determine which gradients are blocked (zero) and which pass through.

    Exam route: Compute forward pass values first. If a pre-activation is , its gradient is 0. If , the gradient passes through unchanged.

    Learning route:

    Step 1: Forward pass for Hidden Layer 1.

    . Since , .

    . Since , .

    Step 2: Forward pass for Output Layer.

    . Since , .

    Step 3: Backward pass for .

    .

    (since ).

    .

    (since ).

    .

    .

    Step 4: Backward pass for .

    .

    .

    .

    Answer: A.

    Question 4 · Machine Learning · 2024 MCQ
    Consider the two neural networks (NNs) shown in Figures 1 and 2, with
    activation (). denotes the set of real numbers. The
    connections and their corresponding weights are shown in the Figures. The biases
    at every neuron are set to 0. For what values of in Figure 2 are the two NNs
    equivalent, when
    ,
    ,
    are positive?
    Figure 1x₁x₂x₃111111222233Figure 2x₁x₂x₃pqr
    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    D

    Step-by-Step Solution

    Insight: This is a network equivalence problem. We must compute the algebraic output of both networks for positive inputs and equate the coefficients.

    Exam route: Trace Figure 1 to find the overall function . Trace Figure 2 to find its function. Equate them for .

    Learning route:

    Step 1: Analyze Figure 1.

    Input to H1: All weights are $1$. Pre-activation for each of the 3 H1 neurons is .

    Since , . Output of each H1 neuron is .

    H1 to H2: All weights are $2$. Pre-activation for each of the 2 H2 neurons is .

    Since , . Output of each H2 neuron is .

    H2 to Output: Weights are $3$. Pre-activation is .

    Since , . Final output .

    Step 2: Analyze Figure 2.

    Input to H1: Weights are . Pre-activation is .

    Output of H1 is .

    H1 to Output: Weight is $1$. Pre-activation is .

    Final output .

    Step 3: Equate outputs.

    For to hold for all positive , we need:

    .

    Since , the expression inside ReLU must be positive, so drops out.

    .

    Matching coefficients: .

    Answer: D.

    More previous year questions (pyqs) in this unit