CS8651-Internet Programming QP - by WWW - LearnEngineering.in
CS8651-Internet Programming QP - by WWW - LearnEngineering.in
in
DEPARTMENT OF
COMPUTER SCIENCE AND ENGINEERING
n
g.i
QUESTION BANK
n
e eri
gin
En
arn
VI SEMESTER
.Le
Prepared by
1
Web Essentials: Clients, Servers and Communication – The Internet – Basic Internet protocols – World Wide
n
Web – HTTP Request Message – HTTP Response Message – Web Clients – Web Servers; HTML5: Tables –
g.i
Lists – Image – HTML5 control elements – Semantic elements – Drag and Drop – Audio – Video controls;
CSS3: Inline, embedded and external style sheets – Rule cascading – Inheritance – Backgrounds – Border
Images – Colors – Shadows – Text – Transformations – Transitions – Animations.
n
PART - A
eri
Q.No Questions BT Level Competence
1. List some of the collaboration tools. BTL 1 Remember
2. Discuss on how RIA differ from a traditional web application. BTL 2 Understand
e
3. Tabulate the difference between internet and intranet. BTL3 Apply
gin
4. Point out the difference between websites and web server. BTL 4 Analyze
5. What is web 2.0? Give an example. BTL 2 Understand
6. List any two rich internet applications. BTL 1 Remember
En
10. When users enter URL address, into a web browser, assess how the BTL 5 Evaluate
specific document retrieved from a web server?
11. Show the structure of HTML5. BTL 3 Apply
.Le
12. Tell about difference between HTML and XHTML. BTL 1 Remember
13. What do you infer from XHTML? BTL 4 Analyze
14. Classify different table tag. BTL 3 Apply
w
17. Classify the need for cascading style sheet. BTL 4 Analyze
18. Prepare a simple code using image map. BTL 6 create
19. List the different types of style sheet. BTL 1 Remember
20. Create simple code snippets for inline style sheet. BTL 6 Create
2
PART – B
Q.No Questions BT Level Competence
1. Demonstrate in detail the RIA architecture. Give the merits and BTL 3 Apply
(13)
demerits of also.
2. Summarize the overview of internet technologies. (13) BTL 5 Evaluate
(i) Explain the functionalities of Webserver and Webclient in detail. (7)
3. BTL 2 Understand
(ii) Express the information provided by URL. (6)
(i) Examine the enhanced features in HTML 5.0 with a neat (7)
4. example. BTL 1 Remember
(ii) Create an XHTML document that marks up your resume. (6)
n
5. Illustrate the three ways of inserting a CSS to a document with BTL 3 Apply
(13)
example.
g.i
(i) Write short notes on Internet, Intranet and Extranet. (7)
6. BTL 1 Remember
(ii) Differentiate GET and POST method. (6)
(i) Describe the structure of the HTTP request and response
n
7. (7) BTL 6 Create
message.
(6)
eri
(ii) Explain about the XHTML DTD with an example.
(i) Discuss the basic structure of HTML5. (7)
8. (ii) Write and discuss a program in HTML using image tag, font BTL 2 Understand
e
tag, hyperlink tag. (6)
gin
Write and discuss an HTML script which creates a web page which
should display some of the egg. Colleges in Tamil Nadu in a tabular
form with name, address and URL of the web site of the college. A
9. (13) BTL 2 Understand
candidate should select the required department which is listed as
En
(i) State and explain the various HTML elements in detail. (7)
10. (ii) Explain the way in which data can be presented in a tabular BTL 4 Analyze
form using HTML. (6)
(i) Summarize the difference between HTML and XHTML. (7)
.Le
11. (ii) Create a webpage using background-image property where the BTL 1 Remember
code has to written in XHTML. (6)
(i) Explain the working principle of web server with neat sketch. (7)
12. (ii) Compare and contrast between embedded stylesheet and BTL 4 Analyze
w
3
PART - C
Q.No Questions BT Level Competence
Compose a brief notes on each one of the following RIA
technologies (15)
1. BTL 5 Evaluate
i) AJAX and Flex
ii) Silverlight and JavaFx
Create the HTML5 code for creating a feedback form as shown
here. Include comments in code to highlight the markup elements
and its purpose. The HTML form should use POST for submitting
the form to a program ProcessContactForm.php.
n
Name*
g.i
Email Address* (15)
2. BTL 6 Create
Telephone
Enquiry*
n
Message*
Java Script: An introduction to JavaScript – JavaScript DOM Model – Date and Objects – Regular
Expressions – Exception Handling – Validation – Built-in objects – Event Handling – DHTML with
JavaScript – JSON introduction – Syntax – Function Files – Http Request – SQL.
.Le
PART - A
Q.No Questions BT Level Competence
1. Evaluate various Java Script Object models. BTL5 Evaluate
w
Write the JavaScript methods to retrieve the data and time based on the
4. BTL6 Create
computer locale.
Can you list the different methods defined in document and window object
5. BTL1 Remember
of JavaScript.
6. Name which parser is best in parsing in large size documents. Why? BTL1 Remember
7. Summarize benefits of using JavaScript code in an HTML document. BTL2 Understand
8. Predict the need for client and server side scripting. BTL2 Understand
9. Interpret how exceptions are handled in Java script. BTL2 Understand
10. Define JavaScript statement with an example. BTL1 Remember
4
11. Point out any two techniques of event programming. BTL4 Analyze
12. What is DHTML? BTL1 Remember
13. Differentiate HTML and DHTML BTL3 Apply
14. Point out the key features of DHTML. BTL4 Analyze
15. Classify the data types in JSON BTL4 Analyze
16. How to convert text into a JavaScript object using JSON? BTL3 Apply
17. Evaluate the syntax to create arrays in JSON. BTL5 Evaluate
18. How will you make a request with JSON? BTL3 Apply
19. Define DDL and DML BTL1 Remember
20. Write SQL query to find minimum and maximum marks in a table. BTL6 Create
n
PART - B
g.i
Q.No Questions BT Level Competence
i) Examine variables and data types in JavaScript. (7)
1. BTL1 Remember
n
ii) Give various Operators in JavaScript. (7)
(i) Summarize about DOM Model. (7)
eri
2. BTL2 Understand
(ii) Describe the concepts of Popup Boxes. (6)
(i) Write short notes on Date and Objects. (7)
3. BTL1 Remember
e
(ii) Explain in detail about Regular expressions. (6)
(i) Describe the control statements in Java. (7)
gin
4. BTL2 Understand
(ii) Discuss any two validation functions in java script. (6)
(i) Write a Java script to find the Prime number between 1 and 100. (7)
5. BTL6 Create
(ii) Write a Java Script to find factorial of a given number. (6)
En
(i) Demonstrate a java script for displaying the context menu. (7)
6. (ii) Demonstrate a java script to display the welcome message BTL3 Apply
using the alert whenever button of a html form is pressed. (6)
arn
7. (i) Evaluate how DOM Nodes and Trees can be used. (7) BTL5 Evaluate
(ii) Evaluate the way of Traversing and modifying a DOM Tree. (6)
(i) Discuss the concepts of Registering Event handlers. (7)
8. BTL3 Apply
.Le
11. Explain the concept of JSON with example. (13) BTL1 Remember
12. Describe in detail about JSON Objects and Arrays. (13) BTL2 Understand
ww
13. Analyze about Function files and Http Request with sample (13) BTL4 Analyze
program.
Summarize about
14. (i) SQL Data Definition Commands (7) BTL2 Understand
(ii) Data Manipulation Commands. (6)
5
PART – C
Q.No Questions BT Level Competence
1. Analyze the merits and demerits of DOM parser with neat example. (15) BTL4 Analyze
Consider a java script and HTML to create a page with two panes.
The first pane (on left) should have a text area where HTML code
2. can bet typed by the user. The pane on the left should have a text BTL5 Evaluate
(15)
area where HTML code can be typed by the user. The pane on the
right side should display the preview of the HTML code typed by
the user, as it would be seen on the browser.
3. Develop a DHTML program to handle the user click event. (15) BTL6 Create
4. Formulate a JavaScript program that work with JSON. (15) BTL6 Create
n
g.i
UNIT III - SERVER SIDE PROGRAMMING
Servlets: Java Servlet Architecture – Servlet Life Cycle – Form GET and POST actions – Session Handling –
n
Understanding Cookies – Installing and Configuring Apache Tomcat Web Server; DATABASE
eri
CONNECTIVITY: JDBC perspectives, JDBC program example; JSP: Understanding Java Server Pages – JSP
Standard Tag Library (JSTL) – Creating HTML forms by embedding JSP code.
PART - A
Q.No Questions
e BT Level Competence
gin
1. What are servlets? BTL1 Remember
2. List the application of servlets. BTL1 Remember
3. Summarize the advantages and disadvantages of servlets. BTL2 Understand
4. Show how is session tracking is achieved by the URL rewriting? BTL3 Apply
En
13. List any three advantages of java servlet over JSP. BTL1 Remember
Rewrite the code segment to store current server time in session using
ww
6
PART - B
Competenc
Q.No Questions BT Level
e
(i) Integrate how servlets work and its life cycle. (7)
1. BTL6 Create
(ii) Explain and develop the Servlet API. (6)
(i) Analyze a JavaScript to find factorial of a given number. (7)
2. BTL4 Analyze
(ii) Differentiate GET and POST method. (6)
Demonstrate the Servlet architecture and explain its working
3. (13) BTL2 Understand
principle.
Consider a database that has a table Employee with two columns
n
Employee Id and Name. Assume that the administrator user id and
g.i
password to access to access the database table are Scott and Tiger.
4. (13) BTL5 Evaluate
Write a JDBC program that can query and print all entries in the
table employee. Make the database using type 2 driver
n
database.driver and connection string jdbc :db.oci.
eri
5. Describe in detail the session handling in server side programming. (13) BTL1 Remember
(i) Discuss about JSTL. (7)
6. (ii) Summarize a client server JSP program to find simple interest BTL2 Understand
e
and display the result in client. (6)
gin
Explain the use of cookies for tracking for tracking requests with a
7. (13) BTL4 Analyze
program.
(i) Explain about the standard actions in JSP. (7)
8. BTL4 Analyze
En
(7)
in JSTL.
13. BTL3 Apply
ww
(ii) Demonstrate with suitable example for SQL and XML tags in
6)
JSTL.
Define HTML and JSP. Use the same and design a scientific
14. (13) BTL1 Remember
calculator.
PART – C
Competenc
Q.No Questions BT Level
e
Design a HTML forms by embedding JSP code for submission of a
1. resume to a job portal website with appropriate database (15) BTL6 Create
connectivity.
7
2. Evaluate a complete query application for books database using BTL5 Evaluate
(15)
JDBC.
Write a program that allows the user to select a favorite
programming language and post the choice to the server. The
response is a web page in which the user can click a link to view a
3. (15) BTL4 Analyze
list of book recommendations. The cookies previously stored on the
client are read by the servlet and form a web page containing the
book recommendation. Use servlet cookies and HTML.
Develop a JSP program to display the grade of a student by
4. (15) BTL6 Create
accepting the marks of five subjects.
n
UNIT IV - PHP and XML
g.i
PHP: An introduction to PHP – Using PHP – Variables – Program control – Built-in functions – Form
Validation – Regular Expressions – File handling – Cookies – Connecting to Database; XML: Basic XML –
n
Document Type Definition – XML Schema DOM and Presenting XML, XML Parsers and Validation, XSL
and XSLT Transformation, News Feed (RSS and ATOM).
Q.No Questions
e eri
PART - A
BT Level
Competenc
e
1. Define PHP. List the features. BTL1 Remember
gin
2. List the rules for creating variables in PHP. BTL1 Remember
Illustrate a PHP program to determine the type of browser that a web
3. BTL3 Apply
client is using.
En
6. Classify the difference between echo() & print() functions. BTL3 Apply
7. List any two advantages of XML document. BTL1 Remember
Give the difference between DTD and XML schema for defining XML
.Le
8. BTL2 Understand
document structure with appropriate examples.
9. Analyze about Query String in PHP. BTL4 Analyze
10. Show an example for XML namespace. BTL3 Apply
w
8
PART - B
Q.No Questions BT Level Competence
(i) Describe about the introduction and installation of PHP. (7)
1. BTL1 Remember
(ii) Design simple calculator using PHP. (6)
Explain about control statements and data types in PHP with
2. (13) BTL2 Understand
example.
(i) Create an XML document that marks up various sports and their
(7)
descriptions. Use XSLT to tabulate neatly the elements and attributes
3. of the document. BTL3 Apply
(ii) Illustrate a JSP page that enables the user to input the first name
n
(6)
and in response outputs the last name.
g.i
Create a webserver based chat application using PHP. The
application should provide the following functions Login, Send
4. (13) BTL6 Create
message (to one or more contacts) and Receive messages (from one
n
or more contacts)
eri
(i) Write a PHP program that tests whether an email address is input
correctly. Test your program with both valid and invalid email (7)
5. addresses. BTL1 Remember
e
(ii) List out the various activities involved in MySQL and PHP (6)
gin
connectivity.
Identify and explain about database connectivity illustrate PHP
6. (13) BTL1 Remember
connectivity with any of the databases.
En
Summarize in detail the XML schema, built in and user defined data
8. (13) BTL5 Evaluate
types.
(i) Demonstrate the building blocks of DOM. (7)
9. BTL3 Apply
(ii) Classify the types of DTD. (6)
.Le
How do you infer the significant differences between DID and XML
10. schema for defining XML document structures with appropriate (13)
BTL4 Analyze
examples.
w
9
PART – C
Q.No Questions BT Level Competence
Explain how you shall carry out String Manipulations using a PHP
1. (15) BTL4 Analyze
Program.
Design a PHP application for College Management System with
2. (15) BTL6 Create
appropriate built-in functions and database.
3. Design application to send an email using PHP. (15) BTL6 Create
4. Summarize about XML schema and XML Parsers and Validation. (15) BTL5 Evaluate
n
g.i
AJAX: Ajax Client Server Architecture – XML Http Request Object – Call Back Methods; Web Services:
Introduction – Java web services Basics – Creating, Publishing, Testing and Describing a Web services
(WSDL) –Consuming a web service, Database Driven web service from an application – SOAP.
n
PART - A
eri
Q.No Questions BT Level Competence
1. Describe AJAX Control Extender Toolkit. BTL1 Remember
2. Discuss the advantages of AJAX. BTL2 Understand
e
Identify the role of a callback function in performing a partial page update
3. BTL1 Remember
gin
in an AJAX application.
4. Differentiate AJAX forms with HTML5 forms. BTL4 Analyze
5. What is XML Http Request object? List its properties. BTL1 Remember
En
6. Summarize the need of SOAP and show its structure. BTL2 Understand
7. Can you develop the service end point interface in RPC? BTL6 Apply
8. List any four examples of web services. BTL1 Remember
arn
9. Discover an example for web service registry along with its functions. BTL3 Apply
10. Analyze the need for web service. BTL4 Analyze
11. Give the uses of WSDL along with its definition. BTL2 Understand
.Le
15. Classify the basic concepts behind JAX-RPC technology. BTL3 Apply
16. Can you illustrate on Complex types? BTL3 Apply
ww
10
PART - B
Q.No Questions BT Level Competence
(i) Describe in detail about the AJAX architecture. (7)
1. BTL1 Remember
(ii) List out the call back methods. (6)
(i) Analyze various concepts of RPC. (7)
2. BTL4 Analyze
(ii) Explain the basic concepts behind JAX-RPC. (6)
3. Explain in detail with an example of Java Web Services. (13) BTL6 Create
Discuss in detail about creating, publishing and testing of web (13)
4. BTL2 Understand
services.
(i) Deduce any two elements of WSDL. (7)
n
5. BTL5 Evaluate
(ii) Explain the steps for writing web service. (6)
g.i
6. Describe briefly about the elements of WSDL. (13) BTL1 Remember
(i) Summarize on the structure of SOAP. (7)
7. BTL2 Understand
n
(ii) Describe briefly about SOAP & HTTP. (6)
eri
(i) Demonstrate the building blocks of SOAP. (7)
8. BTL3 Apply
(ii) Classify the encoding of struct data and array. (6)
Analyze the various steps in database driven web service with some
9. (13) BTL1 Remember
e
example.
gin
Illustrate on web services for writing web service client along with
10. (13) BTL3 Apply
the description of WSDL.
(i) List out the installation steps of JWSDP. (7)
11. BTL1 Remember
En
11