You are on page 1of 9

Add following section in unit 2 and 4. Add review question at the end of chapter.

Following are some additions to chapter after first review.

2.23.4 angular directives

Copy it from section 5.3 of old book

4.2.1(B) SOAP vs Rest

Copy it from section 6.1.4 of old book

Review Questions UINT 1


1. Explain all methods of HTTP protocol.
2. What is HTTP? How does it work?
3. Explain HTTP interaction.
4. Whether HTTP is stateless? Justify the answer. Explain the HTTP Protocol.
5. Why is HTTP known as a stateless protocol? Discuss any three HTTP command.
6. Explain how images can be inserted in to a HTML document.
7. Explain how forms are created.
8. What is the difference between group of checkbox buttons and group of radio buttons?

9.Explain the following terms related to HTML table:


(i) Cell padding and spacing
(ii) (ii) Borders
(iii) Formatting content in Table cells
(iv) (iv) Nested tables.

10. Create a HTML document that displays a table of basketball scores at national games in
which the team names have their respective team colors. The score of the leading/winning
team should appear larger and in a different font than the losing team. Use CSS.

11. What are the different types of lists in HTML? Explain how these lists are created in HTML
with suitable examples.

12. Explain how a basic table is created using HTML.

13. Explain how would you create an Ordered list.

14. Explain CSS.

15. How do we inherit multiple style sheets in HTML?

16. What do you understand by term Style in context to CSS?

17. Explain all types of CSS


18. Explain significance of CSS

19. What comprises of CSS syntax? Explain with example

20. What are different types of selector? Explain with example

21. What are style sheets? How they are useful explain with example.

22. Explain the basic structure of HTML document

23. Give the list with definition of HTML components

24. List the various tags in HTML with simple example for web pages

25. Write a short not on bootstrap

UINT 2

Q. 1 Create a javascript which has event handlers for the buttons \red", \blue", \green", \yellow"
and \orange" which must produce messages stating the chosen favorite color. The event
handler must be implemented as a function, whose name must be assigned to the onclick
attribute of the radio button elements. The chosen color must be sent to the event handler as
a parameter.

Q. 2 Explain how functions are created in javascript with an example.

Q. 3 Write a javascript to display the amount given to the cash teller in a bank in words. (Eg. For the
given amount Rs.1523/-, output should be ONE FIVE TWO THREE)

Q. 4 Write a javascript that reads six integers and displays the largest and smallest integers from
the given integers.

Q. 5 Describe the primitive data types that Javascript uses.

Q. 6 Write a javascript to validate a form consisting of a username. Also navigate to another web
page after validation.

Q. 7 Write a script that reads an integer and determines and displays whether it is an odd or even
number.

Q. 8 Write a script that inputs several lines of text and a search character to determine the number
of occurrences of the character in the text

Q. 9 Write a javascript which asks the user to enter two integers, obtains the numbers from the
user and outputs HTML text that displays the larger number followed by the words\LARGER
NUMBER" in an information message dialog. If the numbers are equal, output HTML text as \
EQUAL NUMBERS".
Q. 10 Write a script that inputs a line of text, tokenizes it with String method split and displays the
tokens in reverse order.

Q. 11 Explain the Math object used in javascript with examples.

Q. 12 Do this using JAVASCRIPT.

(a) Display "Hello World"

(b) Call remote JavaScript at some address.

(c) Call a function if condition 1 equals 0 is true otherwise exit.

(d) Illustrate different forms of for-loops.

(e) Illustrate multi-line comments

(f) Round off 8.125 to nearest no using object function.

(g) Open a pop-up named "New Pop-Up".

(h) Put message in browser status bar "Happy New Year"

(i) Find the clients browser name.

(j) Write a message "Good Morning" in an alert box.

Q. 13 Write JavaScript code for the following

(a) Display a clock using Date object.

(b) Sort N integers using Array object.

(c) Convert Celsius to Fahrenheit using Math object.

(d) Display No. of Forms & Images using Document objects.

(e) Display key name on a key pressed using Event object

Q. 14 Consider a suitable data entry form and validate it using java script at client side.

Q. 15 Write Java script to validate a form consisting of Name, Age, Address, EmaillD, . hobby
(checkbox), Gender (radiobutton),country(Dropdown menu).

Q. 16 Write a code to take opinion poll on "Voters age should be 16 & above?", With polling options
(a). YES (b). NO. (c). Don't Care. ,Also calculate final statistics after each hour.

Q. 17 Write JavaScript code to display client’s browser name.

Q. 18 Write JavaScript code to display clock using Date object.

Q. 19 Write JavaScript code to display message "Happy New Year 2009" in status bar.

Q. 20 What is client side processing and scripting? Explain its need with example.

Q. 21 Explain at least 5 java script Objects, its properties, methods,' event Handlers.

Q. 22 Write a JavaScript code which return's today's date including date, month and year.

Q. 23 Short note : DOM in JavaScript


Q. 24 Write HTML code to design a form with three radio buttons red, green and blue. Write Java
Script code to that will' change the background color of the page when user clicks on particular
button.

Q. 25 Draw the hierarchy of Java Script built in objects and explain each one briefly.

Q. 26 What are the advantages of client side Scripting?

Q. 27 Give Document object Model of Javascript. Explain any two objects in detail.

Q.28 Explain AngularJS MVC architecture with example

Q 29 Explain AngularJS directives with example

UINT 3

Q. 1 Explain the method of reading the names and values of parameters that are included in a
client request. Illustrate with an example program.

Q.2 Why are servlets plat-from independent? Describe the lifestyle of a servlet.

Q. 3 Discuss the methods in ServletRequest interface.

Q. 4 With example explain server side programming.

Q. 5 Write a servlet that greets the user by name Accept the username through a HTML page. Trace
the program execution.

Q. 6 What is a servlet? Explain lifecycle of a servlet. Illustrate with an example pro-gram.

Q. 7 Write a servlet that generates HTML page and explain the process of generation of HTML
page.

Q. 8 Differentiate Servlet and JSP

Q. 9 Create a Servlet that displays the current date and time.

Q. 10 Write a simple servlet that accepts the user's age, and displays a message according to the
following rules :-

(i) Age <15 : Message: You are a kid!


(ii) Age between 16 and 40: You are young!

(iii) Age above 40: You are old!

Use javascript to ensure that the users enters a number, and display the message from the
servlet.

Q.11 Explain lifecycle of servelet

Q12. Describe the servlet architecture and the various interfaces invoked by the servlet Container.

13 What is XML ?

14 Why we need XML ?

15 What are the strengths of XML technology? Also list the limitations of using XML.

16 What are the strengths of XML technology ? Explain the need for XML.

17 Discuss the XSLT technology with an example.

18 What are the DTDs? Explain how do they work.

19 Explain the differences between external and internal DTDs.

20 What are XML schemas? How are they better than DTDs ?

21 Find out and explain how XML and AJAX are related

22 Draw and explain how AJAX works with the help of suitable example

23 What is use of XMLHttp Request Object? Explain its use with help of simple javascript code.

24 List and explain different values of readystate and status property of the HTTPRequestObject.

25 Explain with simple example the XMLHttp Request Object. List and explain different values of
readystate and status property of the HTTPRequest object.

26 Difference between XML and HTML.

27 What is XSL ? explain the different element of XSL.

UINT 4 Review Question

Q. 1 Explain the mechanism to include resources dynamically and to forward request to other JSPs?

Q. 2 JSP separates the presentation from the business logic. Substantiate this statement with
suitable JSP program.
Q. 3 Write a normal JSP program to display current time and date.

Q. 4 Write an JSP program to accept Login id and password, after verifing password accept the
following data First Name, Middle Name, last Name, Date of Birth, Sex, Qualification, and Age.

Q. 5 Explain life cycle of JSP..

Q. 6 Write JSP program to accept user name and password store it in database. Do necessary
validation.

Q. 7 . Differentiate between JSP and servelet.

Q. 8 Explain in detail taglib directive.

Q. 9 What is a Scriplet? Write about scriplet elements.

Q. 10 Java server pages simplify the delivery of dynamic web content. Justify this statement with a
help of example program.

Q. 11 Discuss the JSP standard actions.

Q. 12 Explain life cycle of Servlet.

Q. 13 Write a program in JSP to validate the data entered in the form containing the,attributes such
as Name, age and emailaddress.

Q. 14 Write a program in JSP to validate the data entered to book railway reservation tickets
containing attributes such as Name, Gender, Age, Lower (or) Upper/middleberth etc.

Q. 15 Discuss about implicit JSP objects in detail. Explain the scope of every JSP implicit object.

Q. 16 Explain the components of JSP.

Q. 17 Develop a JSP to display one of three pages based on the user choice. Collect the choice from
the user in a form of a web page.

Q18 Develop a JSP to accept users first name and then welcome the user by name.

19 What is struts and Explain features of struts2

20 Explain struts MVC flow with diagram

21 Explain struts architecture

22 Explain the different configuration files in struts

23 What are interceptor explain with examples

24 How to handle exception in struts2

25 Explain with example Validation in struts

26 Explain with example Localization in struts

27 Explain different result type in struts.


28 What are the web services ?

29 What are general features of web services ?

30 Identify and justify the benefits of using web services.

31 List and explain layers in protocol stack of web serivce architecture

32 What are the web services? Explain features of webservices

33 Explain components of web services

34 What are different types of web services

35 Explain soap based web services

36 Explain REST web services

37 Difference between rest and SOAP

Review Question UNIT 5

Q. 1 How do you create cookie in PHP? Give difference between session and cookie with
example.

Q. 2 What’s function in PHP? Explain types of function with example.

Q. 3 How do you connect to server with PHP? Explain with example.

Q. 4 What are basic commands of PHP? Explain with example.

Q. 5 What is session? Explain PHP session management.

Q. 6 Write a PHP program to display table of cube for 1 to 10.

Q. 7 What is PHP? Write a PHP program to find whether entered year is leap year or not.

Q. 8 Explain string manipulation in PHP with example.

Q. 9 Explain String processing with respect to PHP.

Q. 10 What are the different types of arrays in PHP? Explain with example to process the arrays in
PHP.
Q. 11 What are cookies? Explain the cookies handling in PHP with proper example.

Q. 12 Write PHP program to print first 10 Fibonacci numbers.


Q. 13 Explain data types in PHP.

Q. 14 Explain array in PHP.

Q. 15 Explain how to track user in PHP.

Q. 16 Write note on built in function in PHP.

Q. 17 Explain control structures in PHP.

Q. 18 Write a note on sorting array in PHP.

Q 19 Write PHP code for database connectivity. Apply insert and delete operation with proper
example.

Q20 Write a PHP program to insert data in table. And also display data on browser with proper
tabular format.

Q 21 Write short note Node JS

UNIT 6 Ruby on Rails

1.What are the usage of Rubby


2.Explain the ruby data type
3.Explain rails with AJAX
4.Explain the Rails with database
5.Explain Rails Request-Response Lifecycle
6.What is Enterprise Java Bean? Draw and explain main components of EJB architecture.
7.Draw and explain the role of EJB container in Enterprise applications.
8.Draw and explain each tier of three tiers architecture using EJB
9.Draw and explain scenario of client accessing remote EJB. List some of the EJB clients.
10. Decide and explain various aspects while deciding between local and remote interface can
be considered.
11. Write EJB code to acquire JNDI context through
(i) default JNDI properties and
(ii) Seperate JNDI properties.

12. What is EJB And Advantages of EJB

13. Explain types of EJB


14. Explain EJB Architecture with suitable diagram

15. Explain JNDI lookup in EJB

You might also like