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
-
Create separate configuration files for each locale
-
Specify a locale for a form-set
-
Either A or B
-
None
B
Correct answer
Explanation
Specifying a locale for a form-set allows you to define different validation rules and messages for different locales within the same Validator configuration file. This is more efficient than maintaining completely separate configuration files. The framework applies the appropriate form-set based on the user's locale.
-
Model
-
View
-
Controller
-
ViewController
C
Correct answer
Explanation
In the Model-View-Controller design pattern, Apache Struts serves primarily as the Controller framework by using the ActionServlet and Action classes to process incoming client requests and coordinate application flow. The Model handles business logic, and the View handles page presentation.
-
Source definition
-
Target definition
-
Source qualifier
-
All of above
C
Correct answer
Explanation
Source Qualifier is editable because it allows customization of the SQL query used to extract data from the source. Source and Target definitions are metadata that cannot be directly edited in the mapping designer.
-
Editor
-
Language
-
Toolkit
-
Platform
C
Correct answer
Explanation
Dojo is a JavaScript toolkit (framework) for building dynamic web applications. It provides a comprehensive set of utilities, UI components, and tools for AJAX development. While it includes editors and runs on JavaScript, it's fundamentally a toolkit/framework, not just an editor, language, or platform.
-
dijit/form/TextBox.js
-
dijit/form/TextBox.css
-
controls.js
-
utility.js
A
Correct answer
Explanation
In Dojo's Dijit widget library, form controls are defined in the dijit/form directory. TextBox is defined in diit/form/TextBox.js. The .css file contains styles, controls.js and utility.js are not standard Dojo paths for form widgets.
-
Tables
-
Inquiries
-
Menus
-
Icons
-
Commands
A,B,C,E
Correct answer
Explanation
Matrix UI development uses Tables (A) for data display, Inquiries (B) for queries, Menus (C) for navigation, and Commands (E) for actions. Icons (D) are graphical assets, not functional UI objects. These components form the core UI toolkit for Matrix interfaces.
-
creator,guest
-
Part,ECO
-
Document,guest
-
creator,Part
A
Correct answer
Explanation
When a Bootstrap file is created in ENOVIA Matrix, it automatically generates two standard user components: 'creator' (the user who created the business object) and 'guest' (a read-only access role). These components are fundamental to Matrix's access control model and are created during initialization to establish ownership and basic permissions. Option B mentions Part and ECO which are business object types, not components. Option D incorrectly pairs creator with Part.
-
sParentChild
-
sChildParent
-
ChildParent
-
ParentChild
A
Correct answer
Explanation
In SpinnerSetting configuration, the 'sParentChild' setting controls parent-child group relationships. The naming convention suggests this parameter defines spinner hierarchy for parent and child group assignments. The other options are variations of the correct term but don't match the actual setting name.
-
Tables
-
Inquiries
-
Menus
-
Icons
-
Commands
A,B,C,E
Correct answer
Explanation
For Matrix UI Development, Tables, Inquiries, Menus, and Commands are core UI objects used to build user interfaces. Tables display data, Inquiries handle data queries and retrieval, Menus provide navigation, and Commands execute actions. Icons, while used in UI development, are typically considered graphical assets rather than functional UI objects in the Matrix framework.
-
creator,guest
-
Part,ECO
-
Document,guest
-
creator,Part
A
Correct answer
Explanation
When a Bootstrap file is created in Matrix database systems, it automatically generates two key components: a 'creator' (the user or process that created the file) and a 'guest' (representing access permissions or guest accounts). This pairing establishes ownership and access control. Part, ECO, and Document are separate object types that may be referenced but are not the auto-generated components of Bootstrap file creation.
-
Cognos Visualizer- View the data in Cognos and Cognos Scripting - writing model scripts
-
Cognos Visualizer- specially used in cognos and Cognos Scripting - Writing scripts to validate the reports
-
Cognos Visualizer- It is a representation of data cubes in a dashboard format and Cognos Scripting - We can write cognos macros or programs in this tool.
-
Cognos Visualizer- Used for cubes and Cognos Scripting - Writing scripts to function the report.
C
Correct answer
Explanation
Cognos Visualizer presents data cubes in a visual dashboard format for interactive analysis, while Cognos Scripting provides a scripting environment to write Cognos macros and programs that automate tasks, extend functionality, and integrate with other systems.
-
System.Runtime
-
System.Activator
-
System.AppDomainSetup
-
System.Reflection.Emit
-
System.Management
D
Correct answer
Explanation
System.Reflection.Emit contains types like ILGenerator, TypeBuilder, and AssemblyBuilder that let you generate MSIL code and metadata dynamically at runtime. The other namespaces handle runtime activation (System.Activator), app domain configuration (System.AppDomainSetup), and WMI operations (System.Management). Reflection lets you inspect existing code, while Emit creates new code.
-
If dynamic assemblies are persistable, they must be strongly named.
-
If dynamic assemblies are transient, they must be strongly named.
-
Dynamic assemblies can only be .dll files.
-
Dynamic assemblies can be run, saved, or run and saved.
-
Dynamic assemblies cannot be saved to disk.
-
Infopath Forms
-
.Net Forms
-
Content Types
-
None of the above
-
All of the above
E
Correct answer
Explanation
In SharePoint, workflows can be attached to multiple entity types including InfoPath forms (for form libraries), .NET/ASPX forms, and Content Types. Since workflows can be bound to all three of these items, 'All of the above' is the correct choice.