Mca Thirs Sem Iot 2023
Mca Thirs Sem Iot 2023
F
z)
*
MCA,III/I1.23.005 Reg.No.
A
MCA THIRD SEMESTER EXAMINATION NOVEMBER 2023
22.382.0332 INTERNET OF THINGS
(Regular& Supplementary)
No QUESTTONS MARKS eo BL PL
I a. Explain IoT and its characteristics. 5 co1 L2 1.6.1
OR
(i) LM35
(ii) DHT22
(iii) LDR
(iv) MQ Series
(v) Gyroscope
OR
c03 w ,1,6.1
Design an Arduino based vehicle monitoring
and
,: 'J... j
.',
system.
6 co4 L2 1.6.1
7 L. Write aurdino Program for traffic control system using
three different LEDs.
6 co4 L3 2.5.2
8 a. Design an IoT application for estimating the moisture
1n the soil usmg Arduino board and sensor,
Draw the
circuit diagram and explain the working' Also write :.' a:.t ll
the pseudocode.
5 co5 L2 1.6.1
9 a. Explain the role of Big Data Ana lytics in loT.
OR
co5 L2 2.5.2
Describe the comPonents and steps to create an IoT-
5
10 a.
based weather station using Arduino and sensors' ,
No QUESTTONS MARKS CO BL PL
I a. Explain IoT and its characteristics. f, col L2 1.6.r
OR
2 t. Explain MQTT Protocol in detail. 7 col L2 1.6.1
OR
4 With the help of neat diagrams, explain the M2M 10 c02 L2 1.6.1
system architecture.
3 Identiff the functions ofthe sensors mentioned below: 10" c03 L3 1.6.1
(i) LM3s
(ii) DHT22
(iii) LDR
(iv) MQ Series
(v) Gyroscope
OR
6 a Define Acfuators? Mention
the different types of
Actuation systems.
5 c03 L2 1.6.1
OR
7
Write any FIVE questions. Maximum Marks :50
Time: 3 Hours
Each question carrics L0 Marks
MARKS CO BL PL
No QUESTIONS
Write an XHTML code to display the following outPut.
col 5.2.2
r llepartment of ShYeirs
i. Bsc. FhYsics
ii. M$c. PhYsics
r Nuclear PhYrics
' r SeoBhYsics
iii. Ph.D.
I DepartmmtufCh*mistrY
a, b{.Sc"
o Organic ChemirrrY
: " q AnalYtical(hextstry
b. 3$c" Chemistry
t. Ph'E.
Explain different methods for adding a CSS style into an col 5.2.2
XHTML web Page with examPles?
OR
c. Write a
Java Servlet that reads data from the
query
parameters of an HTTP GET request
and displays it in c03 L3 5.2.2
the response. Include the relevant
code snippets.
b.
Explain the difference between GET
and posr methods
in form submissions. provide an example of
when you
might prefer one over the other in a c03 L2 5.3.1
Java Servlet
application.
7 a. Why is JSP (JavaServer Pages) a preferred choice for co4
web development, and what are the key advantages it
offers over other technologies?
OR
8 a. Design a java servlet program to get one string value and 7 L2 5.2.2
three integer values via textboxes from a webpage named
calculation.html. If the value of first text box is
'oddjrimeu, find odd prime numbers among those 3
values, if it is 'four digit', find the four digit numbers
among those.
b. What are JSP actions? Explain any two commonly used
3 L2
JSP actions and their purposes in JavaServer pages.
b.
What is XSLT? Explain how XSLT can be used to 5 co5 L2 5.2.2
transform XML data into a HTML format with example.
OR
10 il. Explain the basic components of XML. Write a well- c05
r:i.:;:' ::'r , .1
formed XI\4L document representing information about a
University. The document's root element should be
labeled'university', and include details such as the names
of courses, instructors, and the number of enrolled
students.
Q.No Questions M CO BL PI
ar
ks
1 a. The following shows a plaintext along with its cipher text.
Reason out whether the cipher is monoalphabetic or not.
OR
) a. Decrypt the plaintext "EWXJEWYTKZU with Hill cipher
algorithm and using the following 2x2key:
5 col L3 1.7.1
22 13
11 5
5
b. Find the multiplicative inverse of 49 modulo 970 if exists.
3 a) Compare Feistel and non feistel ciphers together with 2 co2 L2 2.6.2
examples.
b) Rijndael AES supports the use of 16X16 S-Boxes for byte
substitution operation. Consider the giv.en S-Box and state
table.
7 s, 3 ,t b I * s
'c5 i0 0l at 2b f,e TT rt
f0. ad, d{ L2 +L ,9f i{ 1?,.
ag aS ci fT ?l d8 31,
E -11-
0? 12 8Q r2 :s: E m
-!8" E2 3b dE, B lc :r
?r, a3 E
1t :6S" :- :!r
5b 6r {fi b6 39 aa
T6' Te' fE TC
r,.1 {s af 92 ft} f5 b6. b5 da, z1 t0 ff 'f3. d2
I tf 9? dil ,t? cl r? ?G
GI hB 1{ d*
0r a9 alc
ca t7 6d Ed dlt {. r, 6c 66 It aa ai
TT 6 k: 1fl', tl H d* ?t T 8F,
36
TE
b$
f8 TT' l!
66 {8
69
04,
d9
tb
8.
St
9{
Pg
6t 3! s,
9b 1r ?r
E c9
1d
18,
al il$ 0d 12 6S ,*L.. B9 td, 0f b0 x bb t5
'tg a0 9a e9
3d t4 cS f8
eB eP 8d 48
be 2b Ea 08
, j.: ..
.:
iii. Write the output of matrix multiplication of column I ., . :.:: ,
I 0 1 1
0 I 1 2
1 0 1 0
I 0 I 2
OR
#
4. a) List and briefly explain cipher modes of operation. 5 co2 L2 2.5.3
b) Compare AES and DES in terms of block size, key size and
operations.
5
. Phi(777)
. Phis000)
o Pht(23491)
L3
b)
o Suppose that you are computing an RSA key pair.
5
b;
of the hash for the message created
What will be the slze
of the same message
if the
th another copy
appending M WI
remalns the same?
hashing algorithm 5 L2
algorithm'
c) Wtite stePs in the MD5
co6 L2 2.5.3
4
functions.
the proPerties of Message authentication
9 a) List L2
J
4 uses of Hash function'
b) Write any
c) with a schematic diagram' J L2
Explain Digital Signature
OR
',,i
5 cos u2 t.2.2
by PGP based mailers.
1 0. a) List the security servlces L2
5
stePs involved in SET
b) Whatis SET?
2- Understanding'
3 - Applying' 4 - AnalYsing'
Levels (1- Remembering'
BL-Bloom 's Taxonomy
5-Evaluating,6- Creating) Indicator Code
Outcomes; PI Code -Performance
Course Outcomes ;PO -Program
C0 -
**rF***********
,q
.23.001
4
Reg.No
t (Regular)
..,jali:::. I'rrl ..r.. : i],]:1 j
'
No QUESTTONS MARI(s CO BL PL
1 a. Write an XHTML code to display the following output. 5 col 5.2.2
r Ilqparturent of ?lry*icu
i. Bsc. *hy*ic*
ii, M$c" Fhysies
' I Nuclear physicu
r Srophysics
tii" Fh.D.
i Su$erfirent of eh*mistry
a M.$r.
s Oryanic Chemixrry
'i, rl Anxlytical'Cheillisuy,
b" BSc. fihemlsay
c. Ph.fr.
OR
, a. Explain the purpose of the <th>, <tr> and <td> tags in an
HTML table. What is the significance of the colspan and 5 col L3 5.2.2
rowspan attributes in table cells? Write the HTML code
for the below table:
TimtTabla
D{y Courss Strbjet. Tiu€
l-
i
r.::: .i..,..: :. B6c. Matlu Crlculus I - 11.30 altr
B5(C5. Cr+ 12 - L^3O pm
o"-on,'tJi;""T1.-ln"Tif,l*11111T1*.q,i."..,,t,.
c. Explain the differences be
iiii+ii:,li:r,t:iir:i J::,.:.,
' 1. .i:1:
Confirm
each.
i.._ - .
*tnaow. i,,;r."J};,".'r,,t',ift
.l.;ff*, tl c02 L2 5.2.2
L2
a.
c03 L2 s.2.2
b.
c03 L2 5.2.2
c. Write a
Java Servlet that
reads data
parameters or
an HrIp
the response. Include
cEi;;;;;L:"il.JH.r;? c03
tt r.t"uunil"l..rooor. L3 5.2.2
"
:i,, ! j,:,!ii,.,.. i:.-,;J, .
OR
8 Design a java servlet program to get one string value and 7 c04 L2 5.2.2
^.
three integer values via textboxes from a webpage named
calculation.html. If the value of first text box is
'oddjrime', find odd prime numbers among those 3
values, if it is 'four digit', find the four digit numbers
among those.
: ,. i:,..:r -'l J.ii"r:.i::
I co4
,: :;",i'::. . I ::
L2
-
3 5.2.2
JSP actions and their purposes in JavaServer Pages.
I'
9 L, Define an XML and Document Type Definition for a 5 co5 L3 5.2.2
simple address book. The address book should capture
information about individuals, including their name,
phone number, and email address.
b. 5 co5 L2 5.2.2
What is XSLT? Explain how XSLT can be used to
transform XML data into a HTML format with example.
OR
10 a. Explain the basic components of XML. Write a well- 5 cos L2 s.2.2
/,:'.'i! :::: l
formed XML document representing information about a ,']
University. The document's root element should be
labeled'university', and include details such as the names
of courses, instructors, and the number of enrolled
students"
5 cos L3 5.2.1
b. What is XML Schema, and how does it differ from
Document Type Definition (DTD)? Create a simple
XML Schema for the University XML data.
* MCA,IIllll.23.003 Reg.No. rt
l't
\
C
MCA THIRD SEMESTER EXAMINATION NOVEMBER 2023
22.382.0323 DEEP LEARNING
(Regular& Supplem entary)
OR
2 You are given a real-time dataset containing information about t0 col L3 2.6.4
housing prices, including features such as square footage,
number of bedrooms, and distance to the city center. The goal
is to predict the price of a house based on these features.
Implement a simple linear regression model using a library
like scikit-learn. Train the model on a training subset of the
data and evaluate its performance on a separate testing subset.
Explain the metrics you would use to evaluate the model's
performance.
OR
6. Discuss the implementation of how iutoencoders can be used l0 co3 L2 1
OR
8 a. Imagine you are working on a project to predict stock prices 6 co4 L3 2.6.4
using historical data. Design and implement an LSTM-based
model for this task.
b.
Briefly explain the concept of Long Short-Term Memory 4 co4 L3 2.6.4
(LSTM) networks and how they address the vanishing
gradient problem compared to traditional Recurrent Neural
Networks (RNNs).
j
,
a l,
9 Consider the following two-dimensional data: 10 co5 L3 2.6.4
*r 2.5 S,5 l,? 1,9 3.1 t.3 X I 1"5 1,1
y: L4 {.? Lg eI i.$ ,? 1.6 l,tr r.6 0,9
Find the principal compounds using PCA algorithm. '. ' .t :'i: I rr::. :;.rl
OR
**************
.f