0

web technology Online Quiz - 65

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

Where do files live on the Internet?

  1. On your computer

  2. On one massive computer - the www

  3. On individual computers, often known as servers

  4. On a network of routers


Correct Option: C

When was the first email sent over the internet?

  1. 1961

  2. 1965

  3. 1971

  4. 1988


Correct Option: C

The configuration settings of genesys can be found under the folder

  1. config-gen

  2. configuration

  3. config

  4. com


Correct Option: C

The database queries for genesys are stored in the file ........

  1. cabinets.xml

  2. connectionpool.properties

  3. service.properties

  4. workingdocument


Correct Option: A

JSF is

  1. A presentation technology

  2. A technology for specifying business rules

  3. A persistence technology

  4. None of the above


Correct Option: A

AI Explanation

To answer this question, you need to understand what JSF (JavaServer Faces) is.

Option A) A presentation technology - This option is correct. JSF is a presentation technology that is part of the Java EE (Enterprise Edition) platform. It is used for building user interfaces for web applications. JSF provides a set of reusable UI components and a framework for managing the user interface flow.

Option B) A technology for specifying business rules - This option is incorrect. JSF is not specifically designed for specifying business rules. It focuses on the presentation layer of web applications.

Option C) A persistence technology - This option is incorrect. JSF is not a persistence technology. Persistence technologies are used for storing and retrieving data from databases.

Option D) None of the above - This option is incorrect. JSF is a presentation technology, so option D is not the correct answer.

The correct answer is Option A) A presentation technology. This option is correct because JSF is primarily used for building user interfaces for web applications.

What's true about this navigation rule ? /page.jsp

  1. It's valid navigation rule

  2. It will generate RuntimeException due to lack of tag

  3. page.jsp will never be displayed with this navigation rule

  4. It's not proper (although it's valid) navigation-rule. It should have tag


Correct Option: A,D

Given the following code fragments: * outcome /page.jsp and outcome /page.jsp Do they have the same effect ?

  1. True

  2. False


Correct Option: A

Part of faces-config: hello.jsp Hello login.jsp Turtle powerRanger.jsp And the ActionLink in the JSP: What will happen if we click on the link?

  1. There will be an server error.

  2. We will stay on the same page.

  3. We will land on the login Page.

  4. There is no h:commandLink tag.

  5. We will land on the powerRangers Page.


Correct Option: B

Is it possible to use EL to configure navigation rules, ex.: index.jsp?id=#{myBean.id}

  1. True

  2. False


Correct Option: B

What is the result when commandLink/commandButton action method returns null for the navigation string.

  1. Throws an exception.

  2. Executes the action method and throws an exception.

  3. Executes the action method and renders current view.

  4. Controller will be in the same page


Correct Option: C

The following configuration of navigation case is legal: #{myBean.action} /myPage.jsp

  1. True

  2. False


Correct Option: A

If no navigation rule matches a given action, then the current page is redisplayed.

  1. True

  2. False


Correct Option: A

Of the following elements which are not valid as elements nested under the element?


Correct Option: A,C,E

This is a valid declaration of a navigation rule. /main.jsp #{myBean.myMethod} nextpage /nextpage.jsp #{myBean.myMethod} lastpage /lastpage.jsp

  1. True

  2. False


Correct Option: A

If an error occurs inside a convertor used to convert the value entered in a inputText field the isValid method of the field returns false.

  1. True

  2. False


Correct Option: A

AI Explanation

To answer this question, you need to understand how the isValid method of an inputText field works.

The isValid method of an inputText field is used to determine whether the value entered in the field is valid or not. It typically performs validation checks based on certain criteria, such as data type, length, or format.

In the given statement, it is mentioned that if an error occurs inside a converter used to convert the value entered in an inputText field, the isValid method of the field returns false. This means that if an error occurs during the conversion process, the isValid method will determine that the value is not valid and return false.

Therefore, the statement "If an error occurs inside a converter used to convert the value entered in an inputText field, the isValid method of the field returns false" is true.

The correct answer is A) True.

JavaServer Faces technology provides standard error messages that display on the page when conversion or validation fails.

  1. True

  2. False


Correct Option: A

You can obtain the effect of an tag using:

  1. True

  2. False


Correct Option: A

The core convertDateTime converter has a property called dateStyle . Select from the options bellow the valid values for this property.

  1. short

  2. medium

  3. long

  4. full


Correct Option: A,B,C,D

Can we add multiple validators for a tag?

  1. True

  2. False


Correct Option: A

Can we add multiple convertors for a tag?

  1. True

  2. False


Correct Option: B
- Hide questions