0

web technology Online Quiz - 210

Description: web technology Online Quiz - 210
Number of Questions: 38
Created by:
Tags: web technology
Attempted 0/38 Correct 0 Score 0
  1. myFunction()

  2. call myFunction()

  3. call function myFunction

  4. function myFunction


Correct Option: A
Explanation:

To call a function named "myFunction", you need to use option A, which is "myFunction()". This syntax will execute the code inside the function and return any value that is specified in the function.

Option B, "call myFunction()", is incorrect because it is not valid syntax for calling a function in most programming languages, including JavaScript.

Option C, "call function myFunction", is also incorrect because it is not valid syntax for calling a function in most programming languages, including JavaScript.

Option D, "function myFunction", is incorrect because it only declares the function, but does not actually call it. To execute the code inside the function, you need to use the function name followed by parentheses, like in option A.

Therefore, the answer is: A. myFunction()

7.How does a "for" loop start?

  1. for (i = 0; i <= 5; i++)

  2. for i = 1 to 5

  3. for (i <= 5; i++)

  4. for (i = 0; i <= 5)


Correct Option: A

8.How can you add a comment in a JavaScript?

  1. 'This is a comment

  2. <!--This is a comment-->

  3. //This is a comment

  4. "This is a comment


Correct Option: A
  1. Math.round(7.25)

  2. round(7.25)

  3. rnd(7.25)

  4. Math.rnd(7.25)


Correct Option: A
  1. Math.ceil(2,4)

  2. Math.max(2,4)

  3. top(2,4)

  4. ceil(2,4)


Correct Option: D
  1. alertBox="Hello World"

  2. alertBox("Hello World")

  3. alert("Hello World")

  4. msgBox("Hello World")


Correct Option: C
  1. Interoperability

  2. User Interface

  3. Complexity

  4. Firewall traversal


Correct Option: B
Explanation:

To solve this question, the user needs to understand the purpose of WebServices.

WebServices are designed to enable communication between different software applications, regardless of their programming languages, hardware, and operating systems. They are intended to solve interoperability problems, enabling different applications to exchange data and services seamlessly.

User interface, complexity, and firewall traversal are not the primary problems that WebServices are intended to solve. They are typically addressed by other technologies.

Option B, User Interface, is not intended to be solved by WebServices. User interface refers to the way users interact with software applications. WebServices are not designed to handle user interfaces; instead, they focus on the exchange of data between applications.

Option A, Interoperability, is the primary problem that WebServices are intended to solve. They enable applications to communicate with each other, regardless of their platforms, programming languages, and data formats.

Option C, Complexity, is not a problem that WebServices are specifically designed to solve. However, WebServices can help reduce complexity by providing a standardized way of exchanging data between applications.

Option D, Firewall Traversal, is not the primary problem that WebServices are intended to solve. However, they can help resolve this issue by using standard HTTP and XML protocols that can pass through firewalls more easily.

Therefore, the correct answer is:

The Answer is: B. User Interface

A SOAP Envelope contains Head, Title and Body

  1. True

  2. False


Correct Option: B
  1. Unified Description, Discovery and Integration

  2. Unified Discovery, Description and Intelligence

  3. Universal Description, Discovery and Integration

  4. Universal Discovery, Description and Integration


Correct Option: C

"Apache Axis2" is a revolutionary web service tool because - it enhances users' online experience by faster processes of application

  1. True

  2. False


Correct Option: A

Which of the following is not applicable to SOAP

  1. It is a communication protocol

  2. It is a format for sending messages

  3. It is based on XML

  4. It does not allow you to get around firewalls

  5. None of these


Correct Option: D

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) It is a communication protocol - This option is correct. SOAP (Simple Object Access Protocol) is a communication protocol used for exchanging structured information in web services.

Option B) It is a format for sending messages - This option is correct. SOAP defines a format for sending messages over a network, typically using HTTP or other protocols.

Option C) It is based on XML - This option is correct. SOAP messages are typically formatted using XML (eXtensible Markup Language).

Option D) It does not allow you to get around firewalls - This option is incorrect. SOAP can be used to get around firewalls because it is typically transmitted over HTTP or other protocols that are allowed through firewalls.

Option E) None of these - This option is incorrect. As discussed, all of the previous options are applicable to SOAP.

The correct answer is D) It does not allow you to get around firewalls. This option is incorrect because SOAP can be used to get around firewalls by transmitting messages over HTTP or other protocols that are allowed through firewalls.

This method ensures that each XML element type and attribute name has a unique identity

  1. named pipe

  2. fully-qualified domain name

  3. Multiprotocol Label Switching

  4. namespace


Correct Option: D
Explanation:

To solve this question, the user needs to understand the concept of XML elements and attributes, as well as the purpose of ensuring unique identities for these elements and attributes.

Explanation of each option:

A. named pipe: A named pipe is a method of inter-process communication in which two or more processes can communicate with each other by writing and reading from a pipe. This option is unrelated to the concept of unique identities for XML elements and attributes.

B. fully-qualified domain name: A fully-qualified domain name (FQDN) is a domain name that specifies the exact location of a resource on the internet. This option is unrelated to the concept of unique identities for XML elements and attributes.

C. Multiprotocol Label Switching: Multiprotocol Label Switching (MPLS) is a routing technique that directs data packets along predefined paths within a network. This option is unrelated to the concept of unique identities for XML elements and attributes.

D. namespace: A namespace in XML is a mechanism that allows elements and attributes to have unique identities. It ensures that element and attribute names are globally unique, preventing naming conflicts. This is the correct option for ensuring unique identities of XML elements and attributes.

Therefore, the correct answer is:

D. namespace

XSL stands for EXtensible Stylesheet Language.

  1. True

  2. False


Correct Option: A
  1. Mozilla Firefox

  2. Internet Explorer

  3. Opera

  4. ALL


Correct Option: D

An XSL style sheet consists of one or more set of rules that are called templates.

  1. True

  2. False


Correct Option: A

What is stands for HTML?

  1. Hyper Text Markup Language

  2. Hyper Text My Language

  3. Higher Text Markup Language

  4. Hyper Text Multiple Language


Correct Option: A

What is HTML stands for?

  1. Hyper Text Markup Language

  2. Higher Text Markup Language

  3. Hyper Text My Language

  4. Hyper Text Makeup Language


Correct Option: A

HTML tags normally come in pairs?

  1. True

  2. False


Correct Option: A

What is the extension for HTML file?

  1. htm

  2. html

  3. hta

  4. htl


Correct Option: A,B

HTML headings are defined with the

to

tags?

  1. True

  2. False


Correct Option: A

HTML links are defined with the -- tag?


Correct Option: A

In the followsing code, what is "href" Code:- This is a link

  1. attribute

  2. Paragraph

  3. html tag

  4. property


Correct Option: A

For Horizontal rule, we can use in HTML as --




Correct Option: D
Explanation:

To create a horizontal rule in HTML, we can use the <hr> tag.

Now let's go through each option and determine if it is the correct answer:

A. <b>: This tag is used to make text bold, not to create a horizontal rule. So, this option is incorrect.

B. </b><p>: This tag is used to create a paragraph, not a horizontal rule. Therefore, this option is incorrect.

C. <br>: This tag is used to insert a line break, not a horizontal rule. Hence, this option is incorrect.

D. </p><hr>: This tag is specifically used to create a horizontal rule. So, this option is the correct answer.

Therefore, the correct answer is D - <hr>.

In HTML, comments can be used as --

  1. /* This is a comment */

  2. 'This is a comment

  3. //This is a comment


Correct Option: D

How to use style for an paragraph?

  1. style attribute

  2. class attribute

  3. id attribute

  4. name attribute


Correct Option: A

How to use radio button in HTML?


Correct Option: A

Following code create the table having -- rows?

  1. Two Rows and One column

  2. Two columns and One Row

  3. Two Rows and Two columns

  4. One Row and One column


Correct Option: A

IF We Save our JAvA Class without the specified class name.Then what will happen

  1. Compilation Error

  2. Run time Error

  3. BOTH

  4. None of these


Correct Option: A

How many void main methods can we defined in our class.

  1. only 1

  2. 2

  3. No need of void main

  4. infinite


Correct Option: A

All the predefined classes in java are saved in which jar file

  1. rt.jar

  2. java.classes.jar

  3. pt.jar

  4. rm.jar


Correct Option: A,B,C,D

Where we find the path of the predefined classes saved in JAVA folder

  1. JAVA/JDK 1.5/JRE/LIB/rt.jar

  2. JAVA/JDK 1.5/JRE/LIB/rm.jar

  3. you cant see

  4. JAVA/JDK 1.5/BIN/LIB/rt.jar


Correct Option: A,B,C,D

Which is wrong..

  1. public static void main(String args[])

  2. public static void main(String appp[])

  3. public void static main(String args[])

  4. public Static void main(String args*)


Correct Option: A,B,C,D

What does HTML stand for?

  1. Hyperlinks and Text Markup Language

  2. Hyper Text Markup Language

  3. Home Tool Markup Language

  4. Higher Text Markup Language


Correct Option: B

Who is making the Web standards?

  1. Mozilla

  2. Google

  3. Microsoft

  4. The World Wide Web Consortium


Correct Option: D

AI Explanation

To answer this question, you need to understand the organizations that are involved in making web standards.

Option A) Mozilla - This option is incorrect because Mozilla is a web browser developer and does contribute to the development of web standards, but it is not the primary organization responsible for setting web standards.

Option B) Google - This option is incorrect because Google is a technology company that develops web-related products and services. While Google may contribute to the development of web standards, it is not the primary organization responsible for setting web standards.

Option C) Microsoft - This option is incorrect because Microsoft is a technology company that develops web-related products and services. Microsoft has been involved in the past in setting web standards, but it is not the primary organization responsible for setting web standards.

Option D) The World Wide Web Consortium (W3C) - This option is correct because the World Wide Web Consortium (W3C) is the primary organization responsible for setting web standards. The W3C is an international community that includes member organizations, individual experts, and other stakeholders who work together to develop and maintain web standards.

The correct answer is D) The World Wide Web Consortium. This option is correct because the W3C is the organization that makes the web standards.

- Hide questions