Web Technology (GATE - CS)

This quiz covers fundamental web technology concepts including HTML tags and syntax, HTTP request methods, JavaScript functions, JSP, cookies, and web protocols like TCP/IP.

17 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following is not an HTTP request command?

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

What is the main role of TCP/IP software while accessing any web page?

  1. It requests DNS for the IP address corresponding to web address.
  2. It only breaks the request and the response of the HTTP software running on the client and server machine.
  3. It replies with the IP address of the requested web page of client to the browser.
  4. It only reassembles the request and the response of the HTTP software running on the client and server machine.
  5. It breaks and reassembles the request and response of the HTTP software running on the client and server machine.
Question 3 Multiple Choice (Single Answer)

Which of the following is a valid name?

  1. <'human><human></human>
  2. <'-human>
  3. <'786human>
  4. <'6human>
  5. All of these are true
Question 4 Multiple Choice (Single Answer)

_____tag specifies the heading cell within a row.

  1. <'td>
  2. <'tr>
  3. <'th>
  4. <'table>
  5. <'ti>
Question 5 Multiple Choice (Single Answer)

Which is the correct HTML syntax for creating link to other pages?

  1. <'a href=url> Text to be displayed>
  2. <'a href=url Text to be displayed<'a>
  3. <'a href=url> Text to be displayed<'/a>
  4. <'a href=url> Text to be displayed<'a>
  5. <'a href=url, Text to be displayed>
Question 6 Multiple Choice (Single Answer)

The ________ command allows a client to remove a file from a web server using HTTP.

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

Which of the following is the best input method for choosing the one from large number of options?

  1. Radio button
  2. Checkbox
  3. Drop down list
  4. Both radio button and checkbox
  5. All of these
Question 8 Multiple Choice (Single Answer)

Which tag is used for writing paragraph in HTML?

  1. <'pp>
  2. <'pra>
  3. <'p>
  4. <'paragraph>
  5. <'br>
Question 9 Multiple Choice (Single Answer)

Which of the following tags define(s) the largest heading?

  1. <'h6>
  2. <'h5>
  3. <'h2>
  4. <'h1>
  5. Both <'h1> and <'h6>
Question 10 Multiple Choice (Single Answer)

JSP does not support

  1. declaration tag
  2. expression tag
  3. directive tag
  4. scriplet tag
  5. none of these
Question 11 Multiple Choice (Single Answer)

Which of the following is not a web browser?

  1. Internet download manager
  2. Internet explorer
  3. Google chrome
  4. Netscape
  5. Opera
Question 12 Multiple Choice (Single Answer)

Which of the following tags does not have the optional closing tag?

  1. <'table>
  2. <'td>
  3. <'th>
  4. <'tr>
  5. All of these
Question 13 Multiple Choice (Single Answer)

Which of the following statements is/are correct for HTML tags?
(1) HTML tags are used to mark up HTML elements.
(2) HTML tags are surrounded by the two characters < and >.
(3) HTML tags are case sensitive.
(4) HTML tags always come in pair.

  1. All 1, 2, 3, and 4
  2. Only 2, 3 and 4
  3. Only 1, 2, and 4
  4. Only 1, 2, and 3
  5. Only 1 and 2
Question 14 Multiple Choice (Single Answer)

Consider the following:
http://www.yahoo.com/newone
What is 'newone' in the above URL?

  1. Domain name
  2. Document/File name
  3. Server name
  4. Protocol
  5. Web browser's name
Question 15 Multiple Choice (Single Answer)

Which of the following statements is incorrect about cookies?

  1. It is stored in browser's memory.
  2. It is created by browser, which stores it in its own memory.
  3. It travels between browser and server.
  4. It is created by server and sent to the browser.
  5. It is a small text file.
Question 16 Multiple Choice (Single Answer)

Which of the following are correct input types?

  1. Text, Password, Reset, List
  2. Submit, Reset, List, Password
  3. Radio, Reset, List, Password
  4. Submit, Reset, Checkbox, Password
  5. Submit, Reset, Background image, Password
Question 17 Multiple Choice (Single Answer)

Which of the following functions returns the date of the Date object?

  1. Date()
  2. getDate()
  3. getDay()
  4. getMonth()
  5. getYear()