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

Multiple choice technology programming languages
  1. Model-View-Controller

  2. Make-Value-Case

  3. Make-Value-Controller

  4. Model-Value-Controller

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

MVC (Model-View-Controller) is a design pattern that separates application logic into three interconnected components: Model (data/business logic), View (presentation/UI), and Controller (input handling and coordination). This separation enables modular development and maintenance.

Multiple choice technology platforms and products
  1. FeatureManifests

  2. CodeAccessSecurity

  3. CabinetNameTemplate

  4. Assembly

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

CabinetNameTemplate is not a valid element in manifest.xml for SharePoint solution packages. The manifest.xml file contains elements like FeatureManifests, CodeAccessSecurity, and Assembly which define the solution structure and security permissions. CabinetNameTemplate is related to CAB file naming but is not part of the manifest schema itself.

Multiple choice technology programming languages
  1. MVC

  2. View Model

  3. Small Talk

  4. Core page

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

Struts implements the Model-View-Controller architectural pattern, separating application logic (Model), presentation (View), and request handling (Controller). This separation improves maintainability, enables parallel development, and follows standard web application architecture.

Multiple choice technology programming languages
  1. Command

  2. Chain of Responsibility

  3. Adapter

  4. Interpreter

  5. Strategy

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

The Chain of Responsibility pattern passes a request along a chain of handling objects, where each object can either handle the request or pass it to the next. This matches the toolbar scenario where commands are passed from one object to another until the appropriate handler processes it. The Command pattern encapsulates requests as objects but doesn't inherently chain them. Adapter converts interfaces, Interpreter evaluates language syntax, and Strategy encapsulates algorithms - none of which fit this command-passing behavior.

Multiple choice technology
  1. javascript

  2. SWT

  3. .Net

  4. swing

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

Value editors for business rules in Rule Studio must be developed using Java Swing, as Rule Studio is built on the Eclipse platform which uses SWT but custom editors require Swing components. The editor framework in Rule Studio expects Swing-based UI components for value editing. JavaScript and .Net are not supported for this purpose.

Multiple choice technology web technology
  1. Sets the zoom level

  2. Defines how many markers can be placed on the map

  3. Defines de version of google map api to be used

  4. Indicates the number of vertical controls available to the user

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

In google.load('maps', '2'), the '2' parameter specifies the version of the Google Maps API to load. This allows developers to control which API version their application uses.

Multiple choice technology platforms and products
  1. var marker = new GMarker(point);

  2. var marker = new GoogleGMarker(point);

  3. var marker = map.overlayMarker(new GMarker(point));

  4. var marker = new Marker(point,"G");

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

The GMarker class is instantiated with a GLatLng point object as its constructor argument. This is the standard syntax for creating markers in Google Maps API v2. Options B, C, and D either use incorrect class names or non-existent methods.

Multiple choice technology platforms and products
  1. G_NORMAL_MAP

  2. G_SATELLITE_MAP

  3. G_HYBRID_MAP

  4. G_STREET_MAP

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

In Google Maps API v2, the three default map types were G_NORMAL_MAP (standard roadmap), G_SATELLITE_MAP (satellite imagery), and G_HYBRID_MAP (satellite with overlay). G_STREET_MAP was not a built-in map type in version 2 - Street View was a separate feature introduced later.

Multiple choice technology platforms and products
  1. var myGeographicCoordinates = new GPointM(new Lat(longitude),new Lng(longitude));

  2. var myGeographicCoordinates = new GLatLng(myLatitude, myLongitude);

  3. var myGeographicCoordinates = new GLatLng(GMarker.Lat(),GMarker.Lng())

  4. var myGeographicCoordinates = new GLatLng(GMarker.getLat(),GMarker.getLng())

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

The GLatLng constructor takes latitude and longitude as parameters in that order. This is the correct way to create a geographic coordinate point in Google Maps API v2. Options A uses incorrect class names, and C/D incorrectly reference GMarker methods.

Multiple choice technology platforms and products
  1. var Marker = new GMarker(center,true);

  2. var marker = new GMarker(center, {draggable: true});

  3. var Marker = new GMarker(center, enableDragAndDrop = true);

  4. var Marker = new GMarker(center, new draggableMarker(me,true));

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

In the Google Maps API (specifically GMarker in version 2), the second parameter accepts a GMarkerOptions object, where setting the draggable property to true enables marker dragging. The other options use incorrect syntax, incorrect parameters, or invalid constructors.