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.
Questions
Which of the following is not an HTTP request command?
- GET
- HEAD
- PUT
- PUSH
- LINK
What is the main role of TCP/IP software while accessing any web page?
- It requests DNS for the IP address corresponding to web address.
- It only breaks the request and the response of the HTTP software running on the client and server machine.
- It replies with the IP address of the requested web page of client to the browser.
- It only reassembles the request and the response of the HTTP software running on the client and server machine.
- It breaks and reassembles the request and response of the HTTP software running on the client and server machine.
Which of the following is a valid name?
- <'human><human></human>
- <'-human>
- <'786human>
- <'6human>
- All of these are true
_____tag specifies the heading cell within a row.
- <'td>
- <'tr>
- <'th>
- <'table>
- <'ti>
Which is the correct HTML syntax for creating link to other pages?
- <'a href=url> Text to be displayed>
- <'a href=url Text to be displayed<'a>
- <'a href=url> Text to be displayed<'/a>
- <'a href=url> Text to be displayed<'a>
- <'a href=url, Text to be displayed>
The ________ command allows a client to remove a file from a web server using HTTP.
- LINK
- PUT
- HEAD
- DELETE
- GET
Which of the following is the best input method for choosing the one from large number of options?
- Radio button
- Checkbox
- Drop down list
- Both radio button and checkbox
- All of these
Which tag is used for writing paragraph in HTML?
- <'pp>
- <'pra>
- <'p>
- <'paragraph>
- <'br>
Which of the following tags define(s) the largest heading?
- <'h6>
- <'h5>
- <'h2>
- <'h1>
- Both <'h1> and <'h6>
JSP does not support
- declaration tag
- expression tag
- directive tag
- scriplet tag
- none of these
Which of the following is not a web browser?
- Internet download manager
- Internet explorer
- Google chrome
- Netscape
- Opera
Which of the following tags does not have the optional closing tag?
- <'table>
- <'td>
- <'th>
- <'tr>
- All of these
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.
- All 1, 2, 3, and 4
- Only 2, 3 and 4
- Only 1, 2, and 4
- Only 1, 2, and 3
- Only 1 and 2
Consider the following:
http://www.yahoo.com/newone
What is 'newone' in the above URL?
- Domain name
- Document/File name
- Server name
- Protocol
- Web browser's name
Which of the following statements is incorrect about cookies?
- It is stored in browser's memory.
- It is created by browser, which stores it in its own memory.
- It travels between browser and server.
- It is created by server and sent to the browser.
- It is a small text file.
Which of the following are correct input types?
- Text, Password, Reset, List
- Submit, Reset, List, Password
- Radio, Reset, List, Password
- Submit, Reset, Checkbox, Password
- Submit, Reset, Background image, Password
Which of the following functions returns the date of the Date object?
- Date()
- getDate()
- getDay()
- getMonth()
- getYear()