IT3401 Questionbank
IT3401 Questionbank
PART-A
1. List any two types of web servers with its application usage. May-09
There are two types of web servers one is vendor specific and another
one is open source. The example of vendor specific web server is IIS and
example of open source web server
is Apache.
The IIS web server is used on Windows and Apache web server can
be used on both Unix and Windows platform.
2. Why is HTTP called as stateless protocol ? Dec-09
Every URI consists of two parts, the part before the colon : denotes
the scheme and the part
after colon depends upon the scheme. The URIs are case insensitive
but generally written in
lower case. If the URI is written in the form of http: then it is both an
URI and URL.
9. What is TCP ?
Ans. : The TCP stands for Transmission Control Protocol. This is
the connection oriented
protocol which help in communicating two machines. Using TCP
the message gets transferred in
an orderly manner.
10. State the uses of Internet protocol. May-12
13. List the two forms of URL and its uses. May-14
Ans. : The two forms of URL are Absolute URL and Relative URL.
The absolute URL directly
points to a file whereas the relative URL points to the file or directory
in relation to the present
directory. The URL is a unique address of the file which is accessed
over the internet.
14. State the functions of DNS and protocol used. Dec-12
Ans. : Following are the functions that are carried out by DNS –
1. Accepting and then requesting the programs to convert domain
names to IP addresses.
2. Accepting and then requesting the other DNS servers to
convert domain names to IP
addresses.
15. List any four common browsers. Dec-11
PART-B
PART-C
6. Develop an interactive web page for student registration using HTML
form elements. (15)
7. Explain the most significant HTML elements in detail. (8)
Explain the way in which data can be presented in a tabular form using
HTML. (7)
8. Briefly discuss the HTML frame and table tags. (15)
UNIT-II WEB DESIGNING
PART-A
1. How to write comment statements in HTML ?
Ans. : The comments in HTML can be denoted as follows
- <!- -It is a comment statement -->MoARcPSD|45110858
</body>
</html>
files.
11. State the commands in cascading style sheet used for grouping of
elements. NOV/DEC 2007
We can group selectors. Separate each selector with a comma. In the
example below we
have grouped all the header elements. Each header element will be green:
h1,h2,h3,h4,h5,h6
{
color: green
}
<style type="text/css">
h1
14. Define cascading.
Ans. : Cascading is the collection of rules that the browsers use
to determine how to use the
style information.
15. List the limitations of CSS
1. CSS work differently on different browser.
2. One can not read files using CSS
16. Define the hower element.
Ans: The hover is associated with anchor element and the selector for this
element is specified by a:hover.
PART-B
1. State and explain any four HTML elements in detail. Dec-13
PART-C
6. Explain in detail about CSS3. Give the illustration for CSS3 animation.
7. Discuss the various aspects of Normal Flow Box Layout in the context
of CSS.
<head>
<script>
function MyMessage()
{
var today=new Date();
var h=today.getHours();
if(h<12)//After 12 O'clock Say Good Bye
//Before 12 O'clock say Good Day
document.write("Good Day");
else
document.write("Good Bye");
}
</script>
</head>
<body onload="MyMessage()">
</body>
</html>
output at a time.
12. What are the global functions in javascript?
Name of the Purpose
function
decodeURI() Decodes a URI
encodeURI() Encodes a URI
parseInt()
Parses a string and
returns an integer
PART-B
1) State and explain the types of statements in JavaScript.
2) Explain how functions can be written in JavaScript with an example.
3) Explain how local and global functions can be written using JavaScript.
4) Explain the way in which javaScript handles arrays with example.
PART-C
6) Explain the way in which JavaScript handles arrays with example.
(8)
Explain how local and global functions can be written using
JavaScript. (7)
7) Discuss how do you use JavaScript for form validation? Develop a
complete application that would include information functions to
validate the user data. (10)
Write short notes on JavaScript built-in objects. (5)
UNIT-V SERVLETS AND DATABASE CONNECTIVITY
PART-A
1) What are servlets ? Dec-17
Ans. : Servlets are simple Java programs that run on the server.
The servlets are used along
with the http protocol. Hence sometimes they are also referred as
http servlets. Servlets make use
of standard packages such as javax.servlet and javax.servlet.http.
2) What are the uses of servlets ?lOMoARcPSD|45110858
3) Explain the difference between get request type and post request type.
May-12, 13
Ans. : Cookies are some little information that can be left on your
computer by the other
computer when we access an internet. The information is stored in the
cookies using the name
value pair.
5) What is the primary purpose of an HTTP get request ?May-10
Ans. : The HTTP GET request makes use of doGet method. The user can
submit his request
using the doGet request. When user submits his request using
doGet method the URL string is
displayed along with the URL.
6) What is the use of web config file ?
Ans. : The web config file specifies the configuration for the web
application. The URL for the
servlets can be specified using the web config file. It is a XML file usually
located in WEB-INF
folder. RcPSD|45110858
Ans. : The JDBC stands for Java Database Connectivity. JDBC is nothing
but an
API(Application Programming Interface). It consists of various classes,
interfaces, exceptions
using which Java application can send SQL statements to a database. JDBC
is specially used for
the connectivity of Java with RDBMS packages.
8) What do you mean by result set ?
Ans. : The Result Set is a set of rows from a database, as well as
meta-information about the
query such as the column names, and the types and sizes of each
column. The ResultSet
interface is used to represent the database result set.
9) What is the primary purpose of an HTTP get request ?May-10
Ans. : The HTTP GET request makes use of doGet method. The user can
submit his request
using the doGet request. When user submits his request using
doGet method the URL string is
displayed along with the URL.
10) What are HTTP servlets ?
Ans. : The HTTP servlets are nothing but the servlets only. As servlets are
commonly used
with the HTTP(Hyper Text Transfer Protocol), they are also called
as HTTP servlets.
11) Name the two packages form which most of the servlet classes can
be used.
Ans. : The javax.servlet and javax.servlet.http are the two packages from
which the classes are
used by the servlet.
12) List the two commonly used exceptions used by the servlet.
Ans. : The two commonly used basic exceptions of servlet are
IOException and
ServletException.
PART-B
1. Explain about architecture of servlet. May-13
PART-C
1) Discuss the ways of storing and accessing information using
cookies and handling associated issues. (15)
2) Write a Java Servlet to display net salary of employee, use JDBC
connectivity to get employee details from database. (15)
8. How can a PHP program determine the type of the browser that
a web client is using?
<?php
echo
$_SERVER['HTTP_USER_AGENT'];
$browser = get_browser();
print_r($browser);
?>
9. What do you mean by Query String in PHP?
PSD|45110858
PART-B
1. List and explain various data types in PHP
2. Explain different types of operators used in PHP.
3. Explain the term expression with suitable example.
4. Explain various types of arrays in PHP
PART-C
1) Explain extract,implode,explode and flip function in array
2) Explain how to perform read and write operations in PHP