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
-
ILDASM tool
-
Remote Spy
-
ASP.NET Merge Tool
-
Remote File Viewer
C
Correct answer
Explanation
The ASP.NET Merge Tool (aspnet_merge.exe) was introduced in .NET 3.5 to merge pre-compiled assemblies into a single assembly for deployment. ILDASM is for disassembly, while Remote Spy and Remote File Viewer are unrelated tools.
-
There is no symbol because components are not allowed in deployment diagrams.
-
rounded rectangle, just like a state in a state diagram
-
3-dimensional rectangular solid (like a box).
-
rectangle with tabs on its left side.
D
Correct answer
Explanation
In a UML deployment diagram, a software component is represented by a rectangle with two small tabs protruding from its left side. A three-dimensional box represents a deployment node, whereas rounded rectangles depict states in state machine diagrams.
-
AttachANote
-
AttacAURL
-
AttachAFile
-
AttachADocument
A,B,C
Correct answer
Explanation
In Pega PRPC, standard local actions are predefined actions available on cases. AttachANote, AttacAURL (note: typo in original), and AttachAFile are all standard local actions that allow users to add notes, links, and files to a case. AttachADocument is not a standard local action in this context.
-
ruleset created for organization
-
ruleset created for division
-
specify the access group name in the declare page rule form
-
current user’s access group
C
Correct answer
Explanation
For node-scoped declarative pages, you must explicitly specify which access group(s) can load the declare page instance by entering them in the declare page rule form. This creates explicit scoping at the node level rather than relying on organization/division rulesets or the current user's access group, which apply at broader scopes.
-
Newdefaults
-
Newdefault
-
PyDefault
-
None of the above
A
Correct answer
Explanation
The Newdefaults activity (with 's') is automatically executed when a work object is created, initializing properties with default values. This is a framework-provided activity that runs as part of the object creation process. 'Newdefault' is a common misspelling, and PyDefault is a different mechanism for property initialization.
-
(a) Are used to link Page Names to a Class within PRPC
-
(b) Enable Smart Prompts to display rules or properties within the Activity Form for the appropriate class
-
(c) Correspond to the Pages on the Clipboard
-
(d) All of the above
D
Correct answer
Explanation
Pages and Classes in Pega Rules Process Commander (PRPC) activities serve multiple purposes. They link page names to specific classes, enable smart prompts to display relevant rules and properties in the activity form, and correspond to pages residing on the clipboard.
-
(a) Loop
-
(b) Get Next
-
(c) For Each
-
(d) For Next
C
Correct answer
Explanation
In PRPC activities, the For Each directive is specifically designed to iterate through embedded pages (page lists). Loop and Get Next are not valid PRPC directives, and For Next is not used for embedded page iteration.
-
(a) Create a step page of the class of the work object
-
(b) Call the Add activity
-
(c) Enter the name of a starting harness
-
(d) All of the above
-
(e) None of the above; activities cannot create work objects
D
Correct answer
Explanation
Activities can create work objects through multiple approaches: creating a step page of the work object's class, calling the Add activity, or specifying a starting harness. All three methods are valid ways to create work objects.
-
(a) Are used to link Page Names to a Class within PRPC
-
(b) Enable Smart Prompts to display rules or properties within the Activity Form for the appropriate class
-
(c) Correspond to the Pages on the Clipboard
-
(d) All of the above
-
(a) Loop
-
(b) Get Next
-
(c) For Each
-
(d) For Next
C
Correct answer
Explanation
In PRPC activities, the For Each directive is specifically designed to iterate through embedded pages (page lists). Loop and Get Next are not valid PRPC directives, and For Next is not used for embedded page iteration.
-
(a) Create a step page of the class of the work object
-
(b) Call the Add activity
-
(c) Enter the name of a starting harness
-
(d) All of the above
-
(e) None of the above; activities cannot create work objects
D
Correct answer
Explanation
Creating a work object from a Pega activity requires multiple steps: creating a step page of the appropriate class, calling the Add activity to instantiate it, and specifying a starting harness for the UI. All three actions are necessary components of the work object creation process.
C
Correct answer
Explanation
LINQ was introduced in .NET Framework 3.5 alongside C# 3.0 and Visual Studio 2008. Older versions like .NET 2.0 and 3.0 did not have LINQ capabilities, while .NET 4.0 was a subsequent release that built upon the existing LINQ framework.
-
Introducing new methods
-
Adding components to specific areas of a container
-
Starting an applet
-
Specifying font size and color
B
Correct answer
Explanation
BorderLayout is a layout manager in Java AWT and Swing that divides a container into five regions: NORTH, SOUTH, EAST, WEST, and CENTER. Its static fields (like BorderLayout.NORTH) allow adding components to these specific areas, providing structured GUI layout.
-
Lock
-
Freeze
-
Keep together
-
All of the above
C
Correct answer
Explanation
The Keep Together property ensures that all grouped objects remain on the same page during document generation, preventing unwanted page breaks within the group. Lock and Freeze are different properties that control editing and layout positioning, not runtime page behavior.
-
Page layout
-
Page bundle
-
Bundle group
-
All of the above
A
Correct answer
Explanation
Virtual extent is a property applied specifically at the page layout level to control virtual page sizing or positioning. It is not applied to page bundles or bundle groups.