Computer Knowledge

GUI and Web Frameworks

1,915 Questions

Graphical user interface and web frameworks involve layout management, directives, and application design across platforms like Android and Angular. These concepts are tested in computer science and IT officer competitive exams. Review these questions to understand UI components and coding standards.

Android layout attributesAngular structural directivesVB.Net web methodsJava Swing componentsSiebel application framework

GUI and Web Frameworks Questions

Multiple choice technology programming languages
  1. 1) File container.jsp will compile if the directive page comes before the directive include

  2. 2) File container will compile and when executed it will show:”Hello”.

  3. 3) File container.jsp will compile if the errorPage in container.jsp is the same as in file included.jsp.

  4. 4) File container.jsp will compile if instead of directive include (<%@ include ...%>) it is used the action include (<jsp:include...>)

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The static include directive (<%@ include %>) inserts the source code of included.jsp into container.jsp at compile-time, creating a single servlet. This causes a conflict because the generated code would have both errorPage="OneErrorPage.jsp" and errorPage="AnotherErrorPage.jsp" - duplicate page directives are illegal. The dynamic include action () executes at runtime as separate components, each with their own errorPage setting, avoiding this conflict.

Multiple choice technology testing
  1. Using the Default Property.

  2. Adding the specific property to identify the object.

  3. Using some other property to identify the object.

  4. Adding the specific property to the list.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

When an object cannot be identified by its listed properties, most testing tools allow using a "default property" or ordinal identifier as a fallback mechanism. This typically means identifying the object by its index or position among similar objects (like "the 3rd button on the page"). Adding properties or using other properties would require those properties to be available and reliable.

Multiple choice technology platforms and products
  1. Activity

  2. Service

  3. Broadcast receiver

  4. Intent

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A Service is an Android component that runs in the background without a visual user interface, performing long-running operations or work for remote processes. Unlike Activities which have UIs, Services continue running even when the user is not interacting with the app. Broadcast Receivers respond to system-wide broadcast announcements, and Intents are messaging objects used to request actions.

Multiple choice technology testing
  1. GUI Spy

  2. Object Repository

  3. Object Repository manager

  4. Object SPY

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Object SPY is the dedicated QTP utility for investigating object properties, methods, and hierarchy. It provides detailed property information for any object in the application under test, distinct from the Object Repository which stores test objects.

Multiple choice technology testing
  1. Run

  2. Resources

  3. Properties

  4. Parameters

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In QTP (QuickTest Professional/UFT), the Properties tab in Test Settings displays associated add-ins available for the test. The Run tab controls execution settings, Resources manages shared files/objects, and Parameters handles test parameters. Properties is the standard location for add-in configuration.

Multiple choice technology testing
  1. Static

  2. Scripting

  3. Dynamic

  4. Framework

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Dynamic descriptive programming involves creating a Description object, adding properties and values to it programmatically, then passing this object to identify test objects. Static programming uses property-value pairs directly in statements. Scripting and Framework are not recognized categories of descriptive programming.

Multiple choice technology testing
  1. Web Event Recording Configuration dialog box

  2. Web Page Appearance dialog box

  3. Advanced Web options dialog box

  4. Application area settings dialog box

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In QTP (QuickTest Professional), mouseover event recording settings for link objects connected to behaviors are configured through the Web Event Recording Configuration dialog box. This is the dedicated interface for customizing which web events get captured during test recording.

Multiple choice technology platforms and products
  1. Update the HTML property rule associated with the Property

  2. Drag the Label control into the section and choose the property

  3. Drag the Input Box, Radio Button, or other Property-related control into the section and choose the Property.

  4. Drag the Property from the Application Explorer into the Section

Reveal answer Fill a bubble to check yourself
C,D Correct answer
Explanation

To add a property to a Section rule, you can drag property-related controls (Input Box, Radio Button, etc.) into the section and associate them with a property, or directly drag the Property from Application Explorer. Updating HTML property rules or dragging Label controls are not valid methods for adding properties to sections.

Multiple choice technology platforms and products
  1. Application Rulesets

  2. Available Production Rulesets, if also referenced in the associated Access group

  3. Component and Shared RuleSets

  4. The Rulesets referenced in the Build On application

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Pega Rule Resolution first searches rulesets listed in the user's Access Group. When 'Available Production Rulesets' is enabled in the Access Group, those rulesets get highest priority. Application Rulesets are searched after Access Group rulesets. This ensures production rules override development rules during runtime.

Multiple choice technology platforms and products
  1. Always

  2. When the context of the current step differs from the activity context

  3. Only when referencing Page List or Page Group properties

  4. Never

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Step page names must be specified when the current step operates on a different page context than the activity's primary page. This is necessary when working with page lists, page groups, or any embedded pages. Specifying step pages 'always' or 'never' would be incorrect - it depends on the specific step's context.

Multiple choice technology web technology
  1. So the link is portable and the image can be viewd on another user's machine

  2. So the image expands and contracts with window size

  3. So the image will remain stationary when the report is scrolled

  4. so that the URL can be used as an Image object or Background image

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Relative URLs specify the path to an image relative to the document's location. This makes the report and its assets portable, allowing other users to view the images on their own machines without needing absolute paths to a specific server or local drive.

Multiple choice technology web technology
  1. force

  2. no force

  3. with read only

  4. with check option

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

When creating a view, the default behavior is NO FORCE - Oracle validates that the view definition is correct and all referenced objects exist. FORCE would create the view even if base tables don't exist (creating a invalid view). WITH READ ONLY and WITH CHECK OPTION are optional constraints, not defaults.