0

web technology Online Quiz - 197

Description: web technology Online Quiz - 197
Number of Questions: 20
Created by:
Tags: web technology
Attempted 0/20 Correct 0 Score 0

which one is default one while creating a view...?

  1. force

  2. no force

  3. with read only

  4. with check option


Correct Option: B

Decks are constructed as a set of ______ .

  1. CARDS

  2. PAGES

  3. TABLES

  4. FORMS


Correct Option: A

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

What is the WMLScript supported file extension ?

  1. .wmlscript

  2. .wmls

  3. .wml

  4. .wap


Correct Option: B

AI Explanation

To answer this question, you need to have an understanding of WMLScript and its supported file extensions.

WMLScript is a scripting language used in WML (Wireless Markup Language) to add interactivity and dynamic behavior to mobile web applications.

The supported file extension for WMLScript is B) .wmls. This extension is used to denote files that contain WMLScript code.

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

Option A) .wmlscript - This option is incorrect because .wmlscript is not a supported file extension for WMLScript.

Option B) .wmls - This option is correct because .wmls is the supported file extension for WMLScript.

Option C) .wml - This option is incorrect because .wml is the file extension for WML (Wireless Markup Language) files, not WMLScript.

Option D) .wap - This option is incorrect because .wap is not a supported file extension for WMLScript.

The correct answer is B) .wmls. This option is correct because .wmls is the supported file extension for WMLScript files.

WMLScript is compiled into ________ on the server before it is sent to the browser.

  1. byte code

  2. object code

  3. Hexa code

  4. binary code


Correct Option: A

AI Explanation

To answer this question, you need to understand WMLScript and how it is processed.

WMLScript is a lightweight scripting language used for developing applications on mobile devices. It is designed to be efficient and can be used in conjunction with Wireless Markup Language (WML) for creating mobile web applications.

When a WMLScript program is executed, it needs to be compiled into a format that can be understood by the browser. This compilation process happens on the server before the program is sent to the browser.

The correct answer is:

A) byte code - This option is correct because WMLScript is compiled into byte code on the server before it is sent to the browser. Byte code is a low-level representation of the program that can be executed by a virtual machine on the client-side.

B) object code - This option is incorrect because WMLScript is not compiled into object code. Object code is a machine-readable form of the program that can be directly executed by the processor.

C) Hexa code - This option is incorrect because WMLScript is not compiled into Hexa code. Hexa code is just a representation of binary data in hexadecimal format.

D) binary code - This option is incorrect because WMLScript is not compiled into binary code. Binary code is the machine language representation of the program that can be executed directly by the processor.

The correct answer is A) byte code. This option is correct because WMLScript is compiled into byte code on the server before it is sent to the browser.

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

  1. getApplicationId()

  2. getSecurityLevel()

  3. getAuthenticationLevel()

  4. getApplicationSecurityLevel()


Correct Option: B

Can we override the getPageFlowController() method to specify the page flow controller?

  1. True

  2. False


Correct Option: A

Which of the following user input validation level available in PS?

  1. Frontline Edits

  2. Presentation page controller validations

  3. b & d only

  4. Backend validations performed during performAction() requests

  5. a,b,d

  6. None of the above


Correct Option: E

Which of the following object involved providing a consistent mechanism for page authors to access application data?

  1. PsPageMetaData

  2. PsPageFlowController

  3. PsPageData

  4. PsPageMetaDataReader


Correct Option: C

Which of the following exception classes available in PS to handle the exception?(Choose more than 1)

  1. PsChainedException

  2. PsPageFlowException

  3. PsJspException

  4. PsServletException


Correct Option: A,D

user profile components helpful mostly to which of the following peoples(Choose all)

  1. Deployer

  2. System Administrator

  3. Assembler

  4. Page Author

  5. Application developer


Correct Option: D,E

Which are all the below components involved in making the tag library(Choose All)

  1. Bean name

  2. servlet code

  3. Tag library descriptor file

  4. Implementation of the tag

  5. jsp code


Correct Option: C,D,E

Which of the following goals behind the PS, (Choose All)

  1. To support common look & feel across applications.

  2. To make business logic model easily.

  3. To provide the separation of roles & responsibilities between the page author & application programmer.

  4. To make it easier to introduce the change.

  5. a & c


Correct Option: A,C,D

Which of the attribute of map.xml mandates field value ?

  1. display Value

  2. EditMode

  3. Mandatory

  4. Expected


Correct Option: B
- Hide questions