0% found this document useful (0 votes)
7 views4 pages

Java 2022

practice question of java programming language

Uploaded by

sarkarsmriti36
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
7 views4 pages

Java 2022

practice question of java programming language

Uploaded by

sarkarsmriti36
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 4
675/Comp.Sc. UG/Sth Sem/COM.SC-H-CC-L-512/22 U.G. 5th Semester Examination - 2022 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 questions: 2x10=20 ws What is the difference in using request getRequestDispatcher() and context. getRequest-Dispatcher()? oy What is the difference between include directive and include action in JSP? How are ArrayLists different from Arrays in Java? : d) What is JSON? <9y” What is the difference between Array and Object data types in JavaScript? [Turn Over -] pervesek ' f) Explain reference error in JavaScript with an example. et How can you register the driver class for using database connectivity in java? by What is the use of a Scriptlet tag in JSP? uy What is the use of JavaBean? j) What are the contents of J SP API? Jae How to iterate over ArrayList in Java? s8e-4#7 eo - “ What is the difference between include directive and include action in JSP? What is a Stored Procedure in JDBC? n) How.is a Jar file created? 0) How isa manifest file created? 2. Answer any four questions: et 5x4=20 a) — Howare JavaScript errors handled using throw, try... catch and finally keywords? 5 What are the differences between execute, executeQuery, and executeUpdate? 5 Explain the MVC framework for JSP applications with a Proper diagram. 5 4) Whats the difference between length() of array and size() of ArrayList in Java? What are the WaYS 10 reniove objects from an ArrayList? Write a code Snippet to sort an ArrayList in descending order, eae 675/Comp.Se [2] 4a Catia oe What are the different properties of'a Java Bean? 5 <9 tow can you handle the exceptions in JSP? 5 3. Answer any two questions: 10x2=20 a) i) ii) iii) iv) Show the syntax of different types of ‘for’ loops in JavaScript with examples. Write a simple JavaScript code to demonstrate MouseOver Event. Show the syntax of declaring and defining a JavaScript function with an example. How can youredefine a JavaScript variable without losing its previous value? ‘ 3434341 b) Write down the steps for JAVA database ii) ec) i) ii) 675/Comp.Sc connectivity with proper syntax. Write a simple code in JAVA that prints the number of columns, name and type of a particular column from a retried ResultSet. 5+5 Explain the life cycle of a JSP page. ‘What are the attributes and usage of “ action tag? 5+5 [3] [Turn Over] d) i) What is the use of DatabaseMetaData class? , Je What are the primary differences between the JSP custom tags and java beans? fi) Whatare the tags provided in JSP Standard Tag Library (ISTL)? vt What are the three tags used in JSP bean development? 3424342

You might also like