Solapur University Question Paper
M.C.A. – III (Commerce) (Semester – V ) Examination, 2014
ADVANCED INTERNET TECHNOLOGY
Day and Date : Saturday, 10-5-2014 Max. Marks : 70
Time : 11.00 a.m. to 2.00 p.m.
Instructions : 1) Q. No. 1 and 7 are compulsory.
2) Solve any two questions from Q. No. 2, 3 and 4.
3) Solve any one question from Q. No. 5 and 6.
1. A) Choose correct alternative. 7
1) __________ array in php is indexed with strings in brackets rather than
numbers.
a) Associative b) Indexed
c) Multidimensional d) Global
2) _________ is used in web.xml to pass parameters to servletcontext.
a) <init-param> b) <context-param>
c) <web-app> d) <servlet-mapping>
3) “<% %> “ this syntax in JSP is called as
a) Scriplates b) Actions c) Expression d) Declarative
4) _________ object in JSP refers to entire environment of web application to
which a JSP page belongs.
a) page b) pagecontext c) context d) application
5) HttpServlet is a subclass of ___________ class.
a) Servlet b) WEBAPP
c) Generic Servlet d) MyServlet
P.T.O.
Seat
No.
SLR-GL – 39 -2-
6) ___________ function in PHP is used to participate the page in session
tracking.
a) session_participate() b) session_start()
c) session_create() d) none of these
7) _________ method in Request Dispatcher is used to forward request to
next page/servelt.
a) forward() b) next()
c) include() d) sendRedirect()
B) Simplify the true and false from following : 7
1) <web-app> is root tag in web.xml file.
2) start() is lifecycle method of servlet.
3) getInitParameter() method is used to retrieve the parameters from request
object.
4) For every request, the lifecycle method init() of servlet is called.
5) In PHP, to call method from object -> (arrow) operator is used.
6) The GET method is idempotent, means multiple identical requests should
have the same effect as a single request.
7) OLX.com is an example of consumer to consumer E-commerce.
2. A) Explain Servlet life cycle in detail. 7
B) Differentiate between servlet and CGI. 7
3. A) Explain implicit objects in JSP. 7
B) Write a PHP application to accept employee details such as empid, empname,
salary etc from user. And print these details in browser. 7
4. A) Describe cookies in PHP with example. 7
B) Explain arrays and strings in PHP. 7
-3- SLR-GL – 39
5. A) Explain servletconfig with example. 7
B) Develop servlet application to accept usename and password from user. Match
accepted usename and password with correct usernames and password. If
match, display message “You are valid user” otherwise display “You are
invalid user” in browser. 7
6. Develop PHP application to perform following things. 14
i) Create Table Product with fields such as ProductId, ProductName, Price etc
in databse.
ii) Insert product information (productId, ProductName and Price) in Product
table.
iii) Retrieve all products information from Product table and display in browser.
Handle necessary exceptions while developing above application.
7. Write a short note on (any two) : 14
A) E-Cash
B) HttpSession in Servlet
C) Object Oriented PHP.
____________
M.C.A. – III (Commerce) (Semester – V ) Examination, 2014
ADVANCED INTERNET TECHNOLOGY
Day and Date : Saturday, 10-5-2014 Max. Marks : 70
Time : 11.00 a.m. to 2.00 p.m.
Instructions : 1) Q. No. 1 and 7 are compulsory.
2) Solve any two questions from Q. No. 2, 3 and 4.
3) Solve any one question from Q. No. 5 and 6.
1. A) Choose correct alternative. 7
1) __________ array in php is indexed with strings in brackets rather than
numbers.
a) Associative b) Indexed
c) Multidimensional d) Global
2) _________ is used in web.xml to pass parameters to servletcontext.
a) <init-param> b) <context-param>
c) <web-app> d) <servlet-mapping>
3) “<% %> “ this syntax in JSP is called as
a) Scriplates b) Actions c) Expression d) Declarative
4) _________ object in JSP refers to entire environment of web application to
which a JSP page belongs.
a) page b) pagecontext c) context d) application
5) HttpServlet is a subclass of ___________ class.
a) Servlet b) WEBAPP
c) Generic Servlet d) MyServlet
P.T.O.
Seat
No.
SLR-GL – 39 -2-
6) ___________ function in PHP is used to participate the page in session
tracking.
a) session_participate() b) session_start()
c) session_create() d) none of these
7) _________ method in Request Dispatcher is used to forward request to
next page/servelt.
a) forward() b) next()
c) include() d) sendRedirect()
B) Simplify the true and false from following : 7
1) <web-app> is root tag in web.xml file.
2) start() is lifecycle method of servlet.
3) getInitParameter() method is used to retrieve the parameters from request
object.
4) For every request, the lifecycle method init() of servlet is called.
5) In PHP, to call method from object -> (arrow) operator is used.
6) The GET method is idempotent, means multiple identical requests should
have the same effect as a single request.
7) OLX.com is an example of consumer to consumer E-commerce.
2. A) Explain Servlet life cycle in detail. 7
B) Differentiate between servlet and CGI. 7
3. A) Explain implicit objects in JSP. 7
B) Write a PHP application to accept employee details such as empid, empname,
salary etc from user. And print these details in browser. 7
4. A) Describe cookies in PHP with example. 7
B) Explain arrays and strings in PHP. 7
-3- SLR-GL – 39
5. A) Explain servletconfig with example. 7
B) Develop servlet application to accept usename and password from user. Match
accepted usename and password with correct usernames and password. If
match, display message “You are valid user” otherwise display “You are
invalid user” in browser. 7
6. Develop PHP application to perform following things. 14
i) Create Table Product with fields such as ProductId, ProductName, Price etc
in databse.
ii) Insert product information (productId, ProductName and Price) in Product
table.
iii) Retrieve all products information from Product table and display in browser.
Handle necessary exceptions while developing above application.
7. Write a short note on (any two) : 14
A) E-Cash
B) HttpSession in Servlet
C) Object Oriented PHP.
____________
0 comments:
Pen down your valuable important comments below