Computer Knowledge
GUI and Web Frameworks
1,711 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
B
Correct answer
Explanation
ASP.NET Mobile Controls were deprecated by Microsoft and are NOT recommended for ASP.NET 4.0 development. Microsoft recommends using CSS media queries, responsive design, and standard web controls instead. The Mobile Controls namespace was designed for older devices and doesn't align with modern web standards.
-
Trick question – activities can’t start flows
-
Use the Flow-New method
-
Call Add
-
Use the Utility shape
-
Always
-
When
-
Status
-
Else
-
All of the above
E
Correct answer
Explanation
Utility shapes in Pega flows can have multiple types of connectors that determine when the utility activity executes. These include Always connectors (unconditional), When connectors (condition-based), Status connectors (based on work object status), and Else connectors (fallback). All these connector types can emanate from a Utility shape.
-
The Utility is not initialized
-
The Utility is in the wrong class
-
Your Activity is in the wrong class
-
Your Activity is not set up as a Utility
D
Correct answer
Explanation
When an activity doesn't appear in the SmartPrompt for a Utility shape, the most common cause is that the activity hasn't been designated as a Utility activity in its rule configuration. Activities must be specifically set up as Utility-type activities to appear in the Utility shape's activity selector. This is a configuration issue, not a class or initialization problem.
-
Trick question – activities can’t start flows
-
Use the Flow-New method
-
Call Add
-
Use the Utility shape
C
Correct answer
Explanation
In Pega flows, activities create work objects using the Call Add method, which properly initializes the work object and adds it to the database. The Flow-New method and Utility shape serve different purposes, and activities can indeed start flows.
-
Many platform/browser combinations
-
Many browser/device combinations
-
Both a & b above
-
None of above
B
Correct answer
Explanation
Adaptive rendering refers to a web development technique where content and layout are dynamically adjusted based on the device and browser capabilities accessing the content. It specifically targets browser/device combinations rather than platform/browser combinations, as the focus is on the rendering engine and device characteristics (screen size, input method, etc.) rather than the underlying operating platform.
-
Action Properties
-
Call Properties
-
Properties
-
None
A
Correct answer
Explanation
In QTP/UFT, actions can be made reusable through the Action Properties dialog. This setting allows the action to be called from other tests, making it modular and reusable across multiple test scripts.
-
can be used to watch only simple variables
-
can be used to watch all simple variables and most of the object properties
-
displays all the variables encountered during the script execution runtime
-
cannot be used to watch simple variable values
B
Correct answer
Explanation
The Watch tab in QTP/UFT allows users to monitor specific variables and object properties during execution. It is not limited to simple variables, nor does it automatically display every variable in the script (which is the role of the Variables/Locals tab).
B
Correct answer
Explanation
AWT stands for Abstract Window Toolkit, not Abstract Window Tools. AWT is Java's original platform-independent windowing, graphics, and user-interface toolkit. The word 'Toolkit' is the correct term, not 'Tools'. Option B correctly identifies this as false.
-
prloggin.xml
-
System Setting rule
-
prconfig.xml
-
prweb.xml
C
Correct answer
Explanation
Pega alerts and their threshold configurations are traditionally managed within the prconfig.xml file. The other options are incorrect: prlogging.xml controls logging configurations, prweb.xml handles web deployment descriptors, and System Settings rules are not the standard location for these configuration parameters.
-
Rule-Declare-DecisionTable
-
Rule-Obj-MapValue
-
Rule-Obj-Activity
-
Rule-Declare-DecisionTree
C
Correct answer
Explanation
Activities (Rule-Obj-Activity) contain complex logic and code that should not be delegated to business users. Decision tables, decision trees, and map values are designed for business user delegation as they provide visual, rule-based interfaces without code.
-
In a step before calling Obj-List-View, include a Property-Set step to place values into the parameter page.
-
List View rules cannot accept parameters.
-
Including them directly into the parameters for the Obj-List-View method
-
Include a Java step to place values onto the parameter page
A
Correct answer
Explanation
To pass parameters to a ListView in an Activity, you use a Property-Set step BEFORE calling Obj-List-View to place values onto the parameter page. The Obj-List-View method then reads from this parameter page. You don't pass parameters directly in the Obj-List-View method call, and ListView rules DO accept parameters.
-
Using the Obj-Graph Method
-
List View
-
Summary View
-
Either a Summary View or a List View
C
Correct answer
Explanation
Summary View rules in PEGA can generate graphical reports. List View rules display tabular data and do not create graphs. The Obj-Graph method is not the correct approach for Summary View-based graphing. Summary View is the mechanism for creating report visualizations and graphs.
-
summary view can call another summary view
-
summary view can call a detailed view
-
list view can have parameters as input
-
summary view and list view can have privileges associated with them
-
Property-Set
-
Property-Set-Px
-
Property-Set-Special
-
Property-Configure-Px
C
Correct answer
Explanation
Properties with the px prefix are system-maintained and read-only. Pega prevents modifying them using standard methods like Property-Set. Developers must use the specialized Property-Set-Special method to force-write values to these system properties, making other options incorrect.