0

Web Technology

Description: Check your knowledge yourself.
Number of Questions: 15
Created by:
Tags: Miscellaneous Web Technologies
Attempted 0/15 Correct 0 Score 0

Which of the following is a static web page?


Correct Option: C
Explanation:

This is a static web page because wenever this page is opened, all its contents are the same.

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


Correct Option: D
Explanation:

This is the correct answer.

Shortcut key for opening a new window is __________.

  1. Ctrl + Tab

  2. Alt + N

  3. Ctrl + T

  4. Ctrl + N

  5. Ctrl + W


Correct Option: D
Explanation:

It is used to open a new window.

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


Correct Option: D
Explanation:

It requests the server to obtain a new web page.

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


Correct Option: C
Explanation:

It is used to open a new tab.

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


Correct Option: E
Explanation:

All the given options are incorrect.Answer: 5

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


Correct Option: C
Explanation:

Yes, this is the correct answer as <br> tag is used to break the line.

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.

  1. Only (a)

  2. Only (b)

  3. Only (c)

  4. Only (d)

  5. None of these


Correct Option: B
Explanation:

It is correct, and follows the right syntax for a function, for example, function message( ).

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 and 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


Correct Option: D
Explanation:

Since, HTML files run as a static web page, also JavaScript is executed in HTML  and it is also an interpreted language. So, all the given statements are correct.

JSP code is written between ___________.

  1. < and >

  2. � and �

  3. <% and %>

  4. /* and */

  5. ( )


Correct Option: C
Explanation:

This option is correct as JSP code is written between these characters.

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


Correct Option: E
Explanation:

All of the statements are true. So this is the correct 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


Correct Option: E
Explanation:

All the options are correct.

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.


Correct Option: D
Explanation:

This is correct because if we do not put the elements properly, it alters the web page. So, XML elements must be properly nested.

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


Correct Option: E
Explanation:

Since, XML is also a markup language like HTML and here, the user has to define his own tags. Also, it is designed to be self-descriptive, which means the statements 2, 4 and 5 are correct. So, this option is correct.

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( )


Correct Option: C
Explanation:

This method is not used.

- Hide questions