SPPU Computer Engineering (Semester 7)
Advanced Computer Programming
December 2015
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


Answer any one question from Q.1 and Q.2
1(a) What is EJB? How it is different from RMI. What are the major categories of EJB?
5 M
1(b) What is concurrency? What are the basic approaches to achieve concurrency?
5 M

2(a) What is the difference between SOAP web service and Restful Web service? What is the significance of SOAP, WSDL and UDDI in SOAP web service.
5 M
2(b) What is string Tokenizer and Observable in java? Explain any two methods of these utilities?
5 M

Answer any one question from Q.3 and Q.4
3(a) Explain use of simple lock in a producer consumer problem.
5 M
3(b) Explain following java collection framework?
i) Hashmap ii) Treemap iii) Itrators
5 M

4(a) Write a simple program using locks and condition variables.
5 M
4(b) How to use timestamp in the distributed request scheduling problem?
5 M

Answer any one question from Q.5 and Q.6
5(a) What are the advantages of JSP over servlets? Explain life cycle of a JSP.
8 M
5(b) Explain how Ajax is used for development of Rich Internet Applications (RIA). Give the examples of Ajax effects which improve the web page interactivity.
9 M

6(a) Explain HTML Document Object Model (DOM) with suitable example.
8 M
6(b) Explain the following JDBC API components:
Drive Manager, SQL Exception, Connection, Statement, Result Set.
9 M

Answer any one question from Q.7 and Q.8
7(a) What are column oriented database? Compare column oriented database with relational database.
8 M
7(b) What is HDFS? How it is different from traditional file systems?
8 M

8(a) What are document oriented database? Give MongoDB databse example for shopping application.
8 M
8(b) What is the difference between traditional RDBMS and Hadoop?
8 M

Answer any one question from Q.9 and Q.10
9(a) Draw a diagram for MapReduce system showing different stages/phases like input-split, shuffle, sort, combine etc.
8 M
9(b) Explain the following execution modes of Pig:
i) Local mode ii) Map Reduce mode
9 M

10(a) Which interfaces need to be implemented to create Mapper and Reducer for the Hadoop?
8 M
10(b) Explain the functionalities of:
i) Mapper
ii) Combiner
iii) Reducer
iv) Paritioner
9 M



More question papers from Advanced Computer Programming
SPONSORED ADVERTISEMENTS