642/Comp.Sc. UG/5th Sem/COM.
SC-H-CC-L-512/23
U.G. 5th Semester Examination - 2023
COMPUTER SCIENCE
[HONOURS]
Course Code : COM.SC-H-CC-L-512
(Internet Technologies)
Full Marks : 60 Time : 24 Hours
The figures in the right-hand margin indicate marks.’
" Candidates are required to give their answers in
their own words as far as practicable.
1. - Answer any ten quesfions: : ke é=20
d) Whatisbytecode? = © e
b) Why Java is called platform independent?
c) Write the differences between "= =" and "= =
=" in Java script.
~d) Difference between named and anonymous
function in Java script.
¢) ~ Whatis JSP?. »
f) Ho:weoxfifg,ientslcan be added to a JSP program?
g) What is the return type of Class for Name()
method? i
[Turn Over]
h) How can you forward the request from JSP page
to servlet?
i) What are the different scope values for the
<jsp:useBean> tag?
i) What is the difference in using
request.getRequestDispatcher( ) and
cor&text.getRequestDispatcher()?
k) How to iterate over ArrayList in Java?
1) What is the difference between include
directive and include action in JSP?
m) What is a stored procedure in JDBC?
n) - How is a Jar file created? ‘
o) How is a manifest file created?
Answer any four questions: 5x4=20
a) What is the way to get sub list from an .
ArrayList? How to sort ArrayList in descending
order in Java? What is Array Index Out Of Bound
Exception in Java? How can you create a multi-
dimensional array of size MxN? 2+1+1+1
b) . InJavaScript, if you want to return the character
from a specific index which method you are
going to use? How to-use external JavaScript
file? Is JavaScript case-sensitive language? What
is the use of history object? 1+1+142
642/Comp.Sc. [2]
' ¢) Describe at least six action tags used in JSP.
How can you prevent the output of any JSP or
Servlet pages from being cached by the browser?
342
d) Explain the MVC framework for JSP
applications with a proper diagram. 5
e) What are the steps involved in executing
database queries with Java? How the connection
is closed after execution of queries? 4+1
f) Explain all the JDBC API interfaces. 5
3. Answer any two questions: 10x2=20
a) i) How canyouimplement a thread-safe JSP
page? What are the Advahtages and
disadvantages of using it?
How can you prevent the output of your
JSP or Servlet pages from being cached
by the browser?
What are the different types of literals
available in JSP? (2+2)+3+3
b) i) What are JDBC statements? Explain them.
What are the differences between execute,
executeQuery, and executeUpdate? 5+5
642/Comp.Sc. [3] [Turn Over]
How to write tomments in JavaScript? ~
How can you create JavaScript functions?
Explain different primitive and non-
primitive data types available in Java Script.
How can you create- an object 'in
JavaScript? Give an example. 2+2+4+2
d) What is the use of DatabaseMetaData ;
class?
ii) What are the pfimary differences between
the JSP custom tags and Java beans? -
iif) What are the tags proviciéd in JSP Standard
Tag Library JSTL)?.
iv) What are the three tégs used in JSP bean s
development? L 3424342000