0% found this document useful (0 votes)
10 views

Java(2020)

The document is an examination paper for the U.G. 5th Semester in Computer Science, focusing on Internet Technologies. It includes various questions related to Java, JSP, JavaScript, and database connectivity, requiring candidates to answer a selection of questions. The paper is structured into sections with different marks allocated for each question type.

Uploaded by

ronnyhalder007
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Java(2020)

The document is an examination paper for the U.G. 5th Semester in Computer Science, focusing on Internet Technologies. It includes various questions related to Java, JSP, JavaScript, and database connectivity, requiring candidates to answer a selection of questions. The paper is structured into sections with different marks allocated for each question type.

Uploaded by

ronnyhalder007
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

573/Comp. Sc. UG/5th Sem/COM.

SC-H-CC-L-512/20 ‘What are the different scope values for the


<jsp:useBean> tag?
U.G. 5th Semester Examination - 2020
COMPUTER SCIENCE i) What is the difference in using
request.getRequestDispatcher() and
[HONOURS]
context.getRequestDispatcher()?
Course Code : COM.SC-H-CC-L-512
(Internet Technologies) k) ‘What are the primary differences between the

Full Marks : 60 Time : 24 Hours JSP custom tags and java beans?

The figures in the right-hand margin indicate marks. b} What is the basic difference between
Candidates are required to give their answers in their executeQuery() and executeUpdate()?
own words as far as practicable.
How can you register the driver class for using
database connectivity in java?
1. Answer any ten questions: 2x10=20
How to remove duplicates from ArrayList in
a) ‘What is byte code? Java?

b) ‘Why java is called platform independent? 0) ‘What are the difference between an array and
an ArrayList in Java?
) ‘What is the difference between “=="and “=="
in java script? 2. Answer any four questions: 5x4=20

) ‘What is the difference between named and a) What is the way to get subList from an
anonymous function in java script? ArrayList? How to sort ArrayList in descending
order in Java? What is Array Index Out Of Bound
e) What is JSP?
Exception in Java? How can you create a
How comments can be added to a JSP program?
multidimensional array of size MxN?
How can you implement a thread-safe JSP page? 2+1+1+1

h) How can you forward the request from JSP page


to servlet?
[Turn over] 573/Comp. Sc.

[N}
b) In JavaScript, if you want to return the character between Vector and ArmrayList? Design a java
from a specific index which method you are method to find the second maximum and second
going to use? How to use external JavaScript minimum from an array of integers.
file? Is JavaScript case-sensitive language? What 2+2+2+4

is the use of history object? 1+1+1+2


Explain all JDBC API components (Interfaces
Describe at least six action tags used in JSP. How and Classes). What are Prepared Statement and
can you prevent the output of my JSP or Servlet Callable Statement? 7+3
pages from being cached by the browser?
) How to write comments in JavaScript? How can
3+2
you create JavaScript functions? Explain
) How JSP can be used in MVC Model? What is different primitive and non-primitive data types
the use of Session object? 4+1 available in JavaScript. How can you create an
object in JavaScript? Give an example.
e) What are the steps involved in executing
2+2+4+2
database queries with java? How the connection
is closed after execution of queries? 4+1

f) Explain all the JSP implicit objects. 5

3. Answer any two questions: 10x2=20

a) Explain different ways to include result of


another page using JSP. How can you forward
the request from JSP pages to servlet? What are
the different literals available in JSP? 4+4+2

b) How to add and remove elements in an


ArrayList? How to remove duplicate elements
from an ArrayList? What are the differences

573/Comp. Sc. [3] [Turn over] 573/Comp. Sc. [4]

You might also like