Tag: web technology

Questions Related to web technology

WML pages only contains references to script ______ .

  1. URLs

  2. forms

  3. links

  4. pages


Correct Option: A

WML pages can be displayed in a ____ browser.

  1. WAP

  2. Web

  3. Mobile

  4. All


Correct Option: A
Explanation:

To answer this question, the user needs to know what WML stands for and what types of browsers can display WML pages.

WML stands for Wireless Markup Language, a markup language used for creating content for mobile devices.

Now, let's go through each option and explain why it is right or wrong:

A. WAP: This option is partially correct. WAP (Wireless Application Protocol) is a technical standard for accessing information over a mobile wireless network. WML is the markup language used to create content for WAP-enabled devices. Therefore, WML pages can be displayed in a WAP-enabled browser.

B. Web: This option is incorrect. WML pages are not designed for display in a standard web browser. Instead, they are designed for display on mobile devices.

C. Mobile: This option is partially correct. WML pages are designed for display on mobile devices and can be displayed in a browser on a mobile device.

D. All: This option is incorrect. WML pages are not designed for display in a standard web browser, so they cannot be displayed on all types of browsers.

Therefore, the answer is: A. WAP

WMLScript is a part of the ____ specification.

  1. HTTP

  2. WAP

  3. JAVA

  4. W3c


Correct Option: B

Which of these are not WMLScript Dialogs Library Functions.

  1. confirm()

  2. alert()

  3. prompt()

  4. error()


Correct Option: D

AI Explanation

To answer this question, you need to be familiar with the WMLScript Dialogs Library and its functions.

Let's go through each option to determine which one is not a WMLScript Dialogs Library function:

Option A) confirm() - This is a valid WMLScript Dialogs Library function that displays a dialog box with a message and two buttons, typically used to confirm or cancel an action.

Option B) alert() - This is a valid WMLScript Dialogs Library function that displays a dialog box with a message and an OK button, typically used to display a message or notification.

Option C) prompt() - This is a valid WMLScript Dialogs Library function that displays a dialog box with a message and a text input field, typically used to prompt the user for input.

Option D) error() - This is not a valid WMLScript Dialogs Library function. There is no error() function in the WMLScript Dialogs Library.

Therefore, the correct answer is D. error(). This option is not a WMLScript Dialogs Library function.

WMLScript is not used to

  1. Validate user input

  2. View Error Messages

  3. Generate dialog boxes

  4. None


Correct Option: D

AI Explanation

To answer this question, you need to understand what WMLScript is used for.

WMLScript is a scripting language specifically designed for use in Wireless Markup Language (WML) applications. It is used to add interactivity and dynamic functionality to mobile web pages.

Let's go through each option to understand why it is correct or incorrect:

Option A) Validate user input - This option is incorrect. WMLScript can be used to validate user input in a mobile web application. It can perform checks on user input and ensure that it meets certain criteria before processing it further.

Option B) View Error Messages - This option is incorrect. WMLScript can be used to display error messages to users in a mobile web application. It can be used to handle various types of errors and provide appropriate feedback to the user.

Option C) Generate dialog boxes - This option is incorrect. WMLScript can be used to generate dialog boxes in a mobile web application. Dialog boxes can be used to prompt the user for input, display messages, or provide options for the user to choose from.

Option D) None - This option is correct. WMLScript is not used to perform none of these operations. It is used for adding interactivity and dynamic functionality to mobile web pages, but it does not have a specific role in validating user input, viewing error messages, or generating dialog boxes.

The correct answer is D) None.

WMLScript is a _____ version of the JavaScript language.

  1. higher

  2. lighter

  3. stronger

  4. not a version of the JavaScript language


Correct Option: B

AI Explanation

To answer this question, you need to understand the difference between WMLScript and JavaScript.

Option A) Higher - This option is incorrect because WMLScript is not considered a higher version of the JavaScript language. WMLScript is a scripting language specifically designed for mobile devices, whereas JavaScript is a widely used scripting language for web development.

Option B) Lighter - This option is correct because WMLScript is a lighter version of the JavaScript language. It is designed to be used in resource-constrained environments, such as mobile devices with limited processing power and memory.

Option C) Stronger - This option is incorrect because WMLScript is not considered a stronger version of the JavaScript language. Both languages have their own strengths and weaknesses, but WMLScript is specifically optimized for mobile devices.

Option D) Not a version of the JavaScript language - This option is incorrect because WMLScript is indeed a version of the JavaScript language. However, it is a lighter version specifically designed for mobile devices.

The correct answer is B) Lighter. This option is correct because WMLScript is a lighter version of the JavaScript language, specifically designed for mobile devices.

The Float library contains a set of _____ functions.

  1. numeric handling

  2. character

  3. string

  4. math


Correct Option: D

Which method is used to get the current security level of PS application?

  1. getApplicationId()

  2. getSecurityLevel()

  3. getAuthenticationLevel()

  4. getApplicationSecurityLevel()


Correct Option: B