Web Technology

Test your knowledge of web development fundamentals including HTML, JavaScript, HTTP protocols, JSP, XML, and web browser operations.

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following is a static web page?

  1. www.in.weather.com
  2. www.bseindia.com
  3. www.wikipedia.org
  4. www.espncricinfo.com
  5. none of these
Question 2 Multiple Choice (Single Answer)

The function getHours() returns __________.

  1. the hour of the Date object from 1 - 24
  2. the minute of the Date object
  3. the hour of the Date object from 0 - 11
  4. the hour of the Date object from 0 - 23
  5. the hour of the Date object from 1 - 12
Question 3 Multiple Choice (Single Answer)

Shortcut key for opening a new window is __________.

  1. Ctrl + Tab
  2. Alt + N
  3. Ctrl + T
  4. Ctrl + N
  5. Ctrl + W
Question 4 Multiple Choice (Single Answer)

Which of the following commands sent by a client browser acts as a part of HTTP requests?

  1. PUT
  2. HEAD
  3. LINK
  4. GET
  5. UNLINK
Question 5 Multiple Choice (Single Answer)

Shortcut key for opening a new tab in the window is _________.

  1. Ctrl + Tab
  2. Alt + N
  3. Ctrl + T
  4. Ctrl + N
  5. Ctrl + W
Question 6 Multiple Choice (Single Answer)

Which of the following statements is incorrect about TELNET protocol?

  1. The TELNET protocol allows remote login services.
  2. In TELNET, the user's commands are not processed by the local operating system.
  3. It is a real time application.
  4. A new child process is created for a new client request.
  5. None of these
Question 7 Multiple Choice (Single Answer)

The tag <br> is used to _________.

  1. write a paragraph
  2. make the letters bold
  3. break the line
  4. break the table
  5. none of these
Question 8 Multiple Choice (Single Answer)

Which of the following statements is correct for a method in Java Script?
a) Function is written at the end of script.
b) Format of function is a descriptive text followed by open and closed brackets.
c) It is the syntax to find an error.
d) Function does everything, before it is called.<o:p>

  1. Only (a)
  2. Only (b)
  3. Only (c)
  4. Only (d)
  5. None of these
Question 9 Multiple Choice (Single Answer)

Which of the following statements are true about JavaScript?
(1) It is used to add interactivity to the HTML page.
(2) It executes inside the HTML page.
(3) It is an interpreted language.
(4) It is enclosed inside the tags within the HTML page.
(5) Java and JavaScript are almost the same.

  1. 1,2,3,5
  2. 1,2,4,5
  3. 2,3,4,5
  4. 1,2,3,4
  5. 1,3,4,5
Question 10 Multiple Choice (Single Answer)

JSP code is written between ___________.

  1. < and >
  2. � and �
  3. <% and %>
  4. /* and */
  5. ( )
Question 11 Multiple Choice (Single Answer)

Which one of the following is incorrect about WWW?

  1. It is the most popular application running on the internet.
  2. It uses internet for communication.
  3. It stands for World Wide Web.
  4. It refers to a set of Internet protocols and softwares, which together presents the information to a user in some specific format.
  5. All of the above
Question 12 Multiple Choice (Single Answer)

Which of the following does not belong to the naming rule XML?

  1. Names can contain letters, numbers, and other characters.
  2. Names cannot start with a number or a punctuation character.
  3. Names cannot start with the letters, such as xml.
  4. Names cannot contain spaces.
  5. None of these
Question 13 Multiple Choice (Single Answer)

Which statement is true about the well formed XML documents?

  1. XML elements starts with opening tag but it does not need a closing tag.
  2. XML documents may or may not have a root element.
  3. XML attribute values need to be quoted.
  4. XML elements need to be properly nested.
  5. XML tags are not case sensitive.
Question 14 Multiple Choice (Single Answer)

Which of the following statements are true about XML?
(1) XML stands for External Markup Language.
(2) XML is a markup language like HTML.
(3) XML is designed to display the data.
(4) XML tags are not predefined and the user needs to define his own tags.
(5) XML is designed to be self-descriptive.

  1. Only 1, 2, 5
  2. Only 2, 3, 5
  3. 1,3
  4. Only 1, 3, 4
  5. Only 2, 4, 5
Question 15 Multiple Choice (Single Answer)

Which one of the following is not a method of life cycle of an applet?

  1. init( )
  2. start( )
  3. end( )
  4. stop( )
  5. destroy( )