0% found this document useful (0 votes)
10 views7 pages

Q

The document contains a series of questions and answers related to web technologies, including standards, JavaScript functions, HTTP, JDBC, client-side scripting, cookies, and CSS. It covers various topics such as error handling, web services, variable naming conventions, and the roles of different objects in web applications. Additionally, it includes questions about specific technologies like XML, JSP, and Node.js.

Uploaded by

stxraptor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views7 pages

Q

The document contains a series of questions and answers related to web technologies, including standards, JavaScript functions, HTTP, JDBC, client-side scripting, cookies, and CSS. It covers various topics such as error handling, web services, variable naming conventions, and the roles of different objects in web applications. Additionally, it includes questions about specific technologies like XML, JSP, and Node.js.

Uploaded by

stxraptor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Q.Who is making the Web standards?

(a)Mozilla

(b)Microsoft

(c)The World Wide Web Consortium

(d)NVDIA

A.The World Wide Web Consortium

Q.In a Javascript Application what function can be used to send

messages to users requesting for an text input?

(a)Display()

(b)Alert()

(c)GetOutput()

(d)Prompt()

A.Prompt()

Q.What does error 44 or Not Found error while accessing a URL mean?

(a)The server could not find the requested URL

(b)Requested HTML file is not available

(c)The path to the interpreter of the script is not valid

(d)The requested HTML file does not have sufficient permissions

A.The server could not find the requested URL

Q.Assume that an HTML form is designed to purchase the furniture. All the
items required are being checked. After selecting the items the payment
details are entered and the submit button is pressed. From the following
options which one would you prefer to send the data to the server.
Assume that all the security is handled.

(a)Only POST

(b)Only GET

(c)Either of GET or POST

(d)Neither GET nor POST

A.Only POST

Q.Which of the following statements are true?

(a)HTTP runs over TCP

(b)HTTP allows information to be stored in a URL

(c)HTTP can be used to test the validity of a hypertext link

(d)All of the above

A.All of the above

Q.Which one of the following objects can be used in expression and


scriplets in JSP without explicitly declaring them?

(a)Request and response only

(b) Response and session only

(c)Session and request only

(d)Session,request and response

A.Session,request and response

Q.Which of the following is true about Web services?


a)Web services are open standard (XML, SOAP, HTTP etc.) based Web
applications

(b)Web services interact with other web applications for the purpose of
exchanging data

(c)Web Services can convert your existing applications into Web-


applications.

(d) All of the above

A.d) All of the above

Q.Which of the following is the correct syntax to print a page using


JavaScript?

(a)window.print();

(b)browser.print();

(c)navigator.print();

(d)document.print();

A.a) window.print();

Q.Which of the following is true about variable naming conventions in


JavaScript?

(a)You should not use any of the JavaScript reserved keyword as variable
name

(b)JavaScript variable names should not start with a numeral (0-9).

(c)Both of the above

(d)None of the above.

A.c) Both of the above


Q.What XML stands for?

(a)Extra Marked Language

(b)Extensible Markup Language

(c)Extensible Marked Literal

(d)Extra Markup Language

A.b) Extensible Markup Language

Q.Request is instance of which class?

(a)Request

(b)HttpRequest

(c) HttpServletRequest

(d)ServletRequest

A.c) HttpServletRequest

Q.Cookies are stored on:

(a)Server

(b) Client

(c)Proxy

(d)DNS

A.b) Client

Q. What is HTTP? How does it work? Give appropriate example.

A.
HTTP (HyperText Transfer Protocol) is a protocol used for transferring data
over the web. It is the foundation of any data exchange on the Web and it
follows a client-server model, where the client (usually a browser) sends a
request, and the server responds.

Client sends a request: The web browser sends an HTTP request to the
server when you enter a URL or click a link.

Server processes the request: The server receives the request, processes
it (e.g., retrieving a file, running code), and prepares a response.

Q.

What is JDBC? What are the role of Statement object and Result set in
JDBC frame.

A.

JDBC (Java Database Connectivity) is a Java API that allows Java


applications to connect to and interact with databases. It provides
methods to query and update data in a database using standard SQL
commands.

The Statement object is used to execute static SQL queries

JDBC enables Java developers to:

Connect to a database

Execute SQL queries and updates

Retrieve and process the results

Handle database exceptions


Q. What is client side scripting? Explain with suitable example.

A.Client-side scripting refers to code that is executed on the user's


browser (client) rather than on the web server. This type of scripting is
used to create dynamic and interactive web pages without requiring a
round trip to the server.

Q.Write a short note on cookie with example.

A.A cookie is a small piece of data stored on the user's computer by the
web browser while browsing a website. Cookies are used to remember
information about the user, such as login credentials, preferences, and
other session-specific data. They play a crucial role in enhancing user
experience by allowing websites to recognize returning users and provide
a more personalized experience.

Q.Define CSS. What are the benefits to use CSS?

A.Cascading Style Sheets (CSS) offer numerous advantages for web


development and design. Here are some key benefits:

a) Define Jasmine.(2)

b) How do i test in Node.js with Jasmine ?(6)

c)How to Create http Server and Get Data in Node.JS?(7)

a)What is Servlet?(3)

b)Briefly explain life cycle of Servlet.(7)

c)Difference between web Server vs Application Server.(5)

a) Define web technology. (3)


b) Draw Web architecture and explain.(5)

c) What are HTML tags. define.How can you insert rows and column in
HTML?(7)

a) Write addition program using java script.(7)

b) What is XML. What is PHP define with example? What is JSP.Example.


What is JDBC?(8)

Q. Write short notes on any three of the following: (5*3)

a) Mongodb

b) W3C

c) Applet

d) HTTPS

e) XML

You might also like