VIBE CODING QUIZ 2

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:05 PM on 10/5/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards

What is the main job of a weight in a neural network?

it tells how strongly an input should affect the neuron

2
New cards

what is the main job of the bias in a neuron

it adds an adjustable offset to the weighted sum

3
New cards

why do neural networks use activation functions

to introduce nonlinearity so the network can learn more complex patterns

4
New cards

which expression correctly describes the value calculated before the activation function

z=w1×1+w2×2+…+b

5
New cards

what is ReLu (-2)

0

6
New cards

What is ReLu (3)

3

7
New cards

The output of a sigmoid activation function is normally between

0 and 1

8
New cards

The output of tanh is normally between

-1 and 1

9
New cards

a neuron has 100 input values. if it has one weight for each input and one bias, how many trainable parameters does it have

101

10
New cards

a neuron has x1=1, x2=2, w1=2, w2=1, and b=-1. what is z=w1×1+w2×2+b

3

11
New cards

if a weight is negative, increasing that input will usually

push the neuron’s weighted sum downward

12
New cards

what does forward propagation do

it uses current inputs, weights, biases, and activations to produce a prediction

13
New cards

what is the difference between loss and cost in these lecture notes

loss is for one example; cost is an average over several examples

14
New cards

using L=1/2(y_hat-y)², what is the loss when y_hat=0.6 and y=1.0

0.08

15
New cards

what does the learning rate control during gradient descent

the size of each parameter update step

16
New cards

activation functions help a neural network learn nonlinear relationships (TF)

true

17
New cards

the bias multiples every input before the weighted sum is calculated (TF)

false

18
New cards

ReLU passes positive input forward unchanged (TF)

true

19
New cards

gradient descent updates parameters by moving in the same direction as the gradient

false

20
New cards

if ReLU neuron’s pre-activation z is negative, its derivative is 0 for that example. (TF)

true