Full Transcript

Why is HTTP stateless ? How is statelessness of HTTP overcome to run E-commerce applications on web ? 3. a) What is the difference between class selector and id selector CSS ? b. Give coding example for inline style of CSS. 4. Illustrate basic tags of a HTML page with an example. 5. Explain Ser...

Why is HTTP stateless ? How is statelessness of HTTP overcome to run E-commerce applications on web ? 3. a) What is the difference between class selector and id selector CSS ? b. Give coding example for inline style of CSS. 4. Illustrate basic tags of a HTML page with an example. 5. Explain Servlet life cycle in brief and also describe functionalities involved in the methods invoked. GROUP -- C 6. a. Describe MVC architecture. b. Write a simple servlet program which will return the current date and time. c. What is web container ? What is servlet engine ? 7. a. Write code using Java script to create a registration form which contains text fields like name, age and address and a submit button. After clicking the button an alert message will come for each field if its id left blank during submission of the form. b. Write the difference between ASP and JSP programs. c. Explain what happens in the background when a JSP page is accessed by a user from a server that supports JSP. 8 + 3 + 4 8. Write short notes on any three of the following : a. Document Object Model b. ODBC and JDBC c. JNI d. EJB. GROUP -- B ( Short Answer Type Questions ) Answer any three of the following. 2. What are cookies and session ? Why a session object is considered more secure and advantageous than cookie ? 3. What is the use of style sheets ? Discuss Class selector and ID selector with proper example. 1 + 4 4. Write down the typical features of a scripting language with examples. How markup languages is different from scripting languages ? 5. Describe the architecture of J2EE. 6. Write down the steps required to create a DSN. GROUP -- C 7. a. Create an HTML page with the following features : Navigation buttons, hyperlink, frames, drop down menu. b. Compare Java technology and Microsoft technology. c. Write an HTML/Java script code to take name as input through a confirm box and male or female from radio button and display Mr. or Mrs. and followed by user's name. d. What is E-commerce ? 8. a. What is a tire ? What are the advantages of 3-tire architecture over 2-tire architecture ? b. What is Web container ? What is Servlet Engine ? c. Discuss about the Servlet life-cycle. d. What do you mean by active web page ? 9. a. Write a DTD and XML for the following customer data : Customer id ( must be unique ) Customer name ( firs and last name as to be specified ) Mobile no. ( can be more than one ) Address o State o Pin o Country Credit card ( may or may not be there ) o Credit card no. o Credit card type ( Domestic or International ) b. Distinguish between SAX and DOM parser. c. What are the advantages of element over an attribute of an XML document ? 10. a. Differentiate among static, dynamic and active web pages. Discuss with examples the functions of META tag in HTML. b. Illustrate with example the use of IMAGE swapping using HTML/JavaScript. Write the HTML code for creating Table with 2 rows and 3 column and first row for the table should be with 3 column merged. 11. a. What are the different ways of adding styles ( CSS ) to web page ? Write the precedence rule for the same. What are subgroup selectors in CSS ? Give example. b. Write HTML/JavaScript code for dividing the browser window into two horizontal parts ( left part is content and right part is main ). Left part should contain the anchors clicking on which corresponding page to be displayed at the right part. Clearly state the assumptions regarding the developed code. 12. Write short notes on any three of the following : a. DOM b. CSS-P c. DTD d. JDBC e. JNI. 2. What is the need of using style sheet ? Discuss class selector & ID selector in CSS with proper example. 3. Briefly describe RMI architecture. 4. a. What is the importance of frames for representation of Web Pages ? b. What is static web page ? What are its advantages ? 5. Write short notes on any two of the following : a. www b. frameset and form c. web server d. DHTML. 6. a. What is XML ? b. What are the different rules of XML syntax ? c. Write the differences between XML and HTML. GROUP -- C ( Long Answer Type Questions ) 7. a. Describe applet life cycle ? b. What is CGI ? What are the advantages of servlet over CGI ? c. Describe servlet life-cycle. 8. a. Describe J2EE architecture. b. What are the differences between servlet & JSP. c. Write a servlet program which will return the current date & time. 9. a. What is the difference between Java and Javascript ? Explain different objects possible in Javascript. b. What is the advantage of client-side scripting over server-side scripting ? c. Write a javascript code to calcualte factorial of a number. 10. a. Discuss between SAX and DOM parsing. b. What is the difference between Java Beans and EJBs ? c. Briefly describe JNI architecture. 11. a. What is web container ? Write a simple servlet program which will return the current data and time. b. Explain cookies and sessions with proper examples. What is RMI? Briefly describe RMI architecture. 3. Explain Cookies. Describe Applet lifecycle. 4. Distinguish between IPV4 and IPV6. Explain the field Header Checksum in an IPV4 packet. 5. What is Subnet? A small organization is given a block with the beginning address and the prefix length 205.16.37.24/29. What is the range of the block and how many addresses are there in the block? 6. What do you mean by Anonymous FTP? What is the reason for delayed delivery of Email by SMTP? 7. Explain the recursive resolution of DNS by a neatly labelled diagram. Describe the remote login process of TelNet. An organization is granted the block with beginning address 14.24.74.0/24. It needs to have three subnets as: 1st subnet: 120 addresses 2nd subnet: 60 addresses 3rd subnet: 10 addresses Design the subnets (Find out total number of addresses in the block, length of the subnet id for each subnet, subnet mask for each subnet, range of each subnet). 8. a. What is the difference between get and post method? b. Create a digital clock using java-script. c. What is Frame? Explain merits and demerits of frame. d. What is DOM? 9. a. Create an XML document that contains the name and price per pound of coffee beans: i. In your XML document mention all properties of XML declaration. ii. The root element has name. iii. Create nested elements for different types of coffee. b. What is well formed XML? c. Explain internal and external DTD with example. 10. a. What is the difference between List and Arrays in perl? b. Explain the shift and unshift operator in perl. c. What is variable interpolation in perl? d. What is Associate array? e. Write a program in perl to calculate factorial of a given number recursively.. Write short notes on any three of the following: (i) POP3 (ii) Web Crawler (iii) VoIP (iv) Black Hat SEO techniques (v) XHTML

Use Quizgecko on...
Browser
Browser