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 mainframe
  1. /* This is a comment */

  2. // This is a comment

  3. {COMMENT This is a comment /}

  4. {COMMENT} This is a comment {/COMMENT}

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

PegaRULES Process Commander uses its own markup syntax for HTML objects, where comments are enclosed in {COMMENT} and {/COMMENT} tags. Standard programming comment syntax like /* */ or // are not recognized by the Pega engine. Option C has incorrect closing tag syntax.

Multiple choice technology testing
  1. Action Properties

  2. Call Properties

  3. Properties

  4. None

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

In QTP/UFT, actions can be made reusable through the Action Properties dialog. This setting allows an action to be called from multiple tests, promoting code reuse and modularity. Call Properties (B) and general Properties (C) are not the correct locations for this setting.

Multiple choice technology testing
  1. can be used to watch only simple variables

  2. can be used to watch all simple variables and most of the object properties

  3. displays all the variables encountered during the script execution runtime

  4. cannot be used to watch simple variable values

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

The Watch tab in QTP's debug viewer can monitor both simple variables and most object properties during runtime. It provides more comprehensive monitoring than just simple variables, but doesn't display every variable encountered - only those you explicitly add to the watch list.

Multiple choice technology packaged enterprise solutions
  1. Literal directive

  2. Comment directive

  3. When directive

  4. With directive

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

The with directive in Pega HTML/XML code sets the active context to a different clipboard page for the duration of the tag's scope. Directives like literal, comment, and when serve formatting, commenting, and conditional logic.

Multiple choice technology packaged enterprise solutions
  1. Reference directive

  2. Literal directive

  3. Lookup directive

  4. Java directive

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

The Lookup directive is specifically designed to retrieve a property value from an instance that is not present on the clipboard. Unlike Reference directive which works with clipboard pages, Lookup fetches data from the database or other sources by key. Literal directive is for constant values, while Java directive is for Java code execution.

Multiple choice technology packaged enterprise solutions
  1. True

  2. False

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

The Page-Copy method cannot copy properties to a destination page that belongs to a different class than the source page. Page-Copy requires both pages to be of the same class because it directly copies the entire page structure and properties. For cross-class copying, you would need other methods like Property-Set or clipboard page manipulation.

Multiple choice technology packaged enterprise solutions
  1. Retrieval

  2. Sorting

  3. formatting

  4. displaying

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

The Obj-List-View method is used in activities to execute a list view rule. It retrieves database records and optionally sorts them. Formatting and displaying are handled by the browser or user interface components, not by the database retrieval method itself.

Multiple choice technology packaged enterprise solutions
  1. Reference

  2. Lookup

  3. With

  4. Save

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

The WITH directive is used to define the active property reference in Pega expressions. It establishes which property becomes the primary reference point for subsequent operations. Reference directive is for referencing clipboard pages, Lookup for retrieving external data, and Save for persisting data.

Multiple choice technology packaged enterprise solutions
  1. px properties

  2. py properties

  3. pz properties

  4. Parameters and local variables

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

Property-Set-Special method is specifically recommended for setting px (platform) properties on the clipboard. Px properties are system-generated properties that Pega uses for internal operations. Py properties are for user-specific data, pz for temporary processing, and Parameters/Local Variables are managed differently. Property-Set-Special is optimized for px property manipulation.

Multiple choice technology databases
  1. Using a different query subject icon for display inthe studios.

  2. Viewing the properties of the query subjects in Report Studio.

  3. Viewing the properties of the query subjects in Framework Manager.

  4. Using the same name for the dimension in each star schema grouping.

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

In Framework Manager's business view with star schema groupings, conformed dimensions are identified by using the same dimension name across multiple star schemas. This naming convention indicates that the dimension shares the same meaning and structure across different fact tables.

Multiple choice technology security
  1. 1

  2. 2

  3. 4

  4. 6

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

Security code review tools analyze source code for vulnerabilities. Fortify (now Fortify Static Code Analyzer) and FindBugs (static analysis for Java) are genuine code review tools. OWASP WebScarab is a web application security assessment proxy, not a code review tool. WebInspect and AppScan are dynamic/black-box web application scanners, not code review tools. Nikto is a web server scanner.

Multiple choice technology security
  1. MsCop

  2. FxCop

  3. RsCop

  4. DxCop

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

FxCop is Microsoft's free static code analysis tool for .NET managed code. It analyzes assemblies for compliance with Microsoft's .NET Framework Design Guidelines, checking for naming conventions, library design, performance, security, and other best practices. It helps developers identify potential issues before deployment.