DL & CD
DL & CD
Instructions:
.
• All questions are mandatory. There are no external options
them clearly.
• Make suitable assumptions, where ver necessary, and state
d.
• Use of Non-Programmable Calculator is.allow ed/Not allowe
• Figures to the right indicate maximum marks.
Ql. [6J
1. In CNNs, which operation allows for parameter sharing?
a) Fully connected layers
b) Pooling layers
~onv oluti onal layers
d) Activation layers
tage of processing
3. In a Bidirectional RNN (Bi-RNN), what is the primary advan
input sequences in both forwa rd and backward directions?
a) It reduces the computational complexity of the network.
b) It allows the netwo rk to process sequences in parallel.
elements.
-c)' It captures context from both preceding and following
d) It prevents overfi tting in the model
que applied to
5. Which of the following is a common regularizatior-i techni
prevent overfi tting in autoencoder models?
a) Data augmentation
~eight Initialization
4'Dropout
d) Batch normalization
•
Enrolment No:
Roll No:
I
i
I (b) What is CFG?
a) Regular Expression
I
b) Compiler
I
~an gua ge expression
d) All of the mentioned
iI
ose? I
' (c) Which of the following error can Compiler diagn I !
a) Logical errors only
b) Grammatical and logical errors I I I
c) Compiler I
d one of the mentioned l
/
u I all of the mentioned
- - - - - - - - - - - -I- - -
1 - - - - - i - - - - - TW ----------------- [06]
-- -- -- 4- --
1
-t -- -- -- -- -- -- -- -- -- -- -- -- --
Q.2. ATTEMPT ANY O OUT OF FOUR
'abb using set construction method only.
j
I i Draw the DFA for the regular expression (a/b)
Explain with example.
l_(b) : How to convt!rl ~egular expression to automata?
-- -- --
-- -'- -- -- -- ~- -- -- -- -- -- -- -- --
\
'- 41' Write down pse~do code for simulat
ing OFA. e.g. (alb)*ubb
'- "(Jr How can we represent NF A in tran
sition table?
\
Q.3. ATTEMPT ANY TWO OUT OF
y FOUR
Draw NFA from regular expression (06]
I
using Thomson's construction and
convert it into DFA.
(a I b)* ab*
-%
an example.
Differentiate between Context-Fre
e Grammars and Regular Expressions.
I
I
*****