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
  1. Pie chart

  2. List

  3. Bar Chart

  4. Line chart

  5. Layout

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

Query Studio displays queried data in a list format by default, which presents data in rows and columns similar to a spreadsheet. This is the simplest and most common way to view raw query results. Charts and other visualizations must be explicitly created after the initial data display.

Multiple choice technology
  1. A report specification

  2. A development model from Framework Manager.

  3. The runtime version of a Framework Manager model.

  4. A file that contains query subjects externalized from Framework Manager.

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

Report Studio authors access the runtime version of a Framework Manager model through packages. The runtime version contains published metadata from Framework Manager optimized for report authoring. Authors cannot access development models or externalized files directly.

Multiple choice technology
  1. Source Tab

  2. Data Item Tab

  3. Toolbox Tab

  4. Properties Tab

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

The Insertable Objects pane in IBM Cognos Report Studio has three main tabs: Source, Data Item, and Toolbox. The Source tab provides access to available data sources, the Data Item tab contains data items that can be added to reports, and the Toolbox tab contains tools and objects for report design. The Properties tab is not part of the Insertable Objects pane - it's a separate panel.

Multiple choice technology platforms and products
  1. Intent.getIntentExtras()

  2. Intent.getExtras()

  3. Bundle.getExtras()

  4. None of above

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

In Android, the extras associated with an Intent are retrieved using the Intent.getExtras() method, which returns a Bundle containing the key-value pairs. There is no getIntentExtras() method on Intent, making Intent.getExtras() the correct choice.

Multiple choice technology platforms and products
  1. True

  2. False

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

When Android starts up, it scans for activities that have the CATEGORY_LAUNCHER intent filter in their manifest. These activities are the app's entry points. Android displays their icons and names on the home screen (launcher), allowing users to tap them to launch the application. This is correct behavior.

Multiple choice technology platforms and products
  1. Browser

  2. MediaStore

  3. Contacts

  4. CallIndex

  5. All of above

  6. a, b & c Above

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

Android's native content providers include Browser (for bookmarks/history), MediaStore (for audio/video/images), and Contacts (for contact information). CallIndex is not a standard Android content provider. Option F correctly identifies these three native providers.

Multiple choice technology platforms and products
  1. ContentUris.withAppendedId()

  2. Uri.withAppendedPath()

  3. Both a and b above

  4. None of above

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

Both ContentUris.withAppendedId() and Uri.withAppendedPath() are static helper methods that can append an ID to a ContentProvider URI. ContentUris.withAppendedId() is specifically designed for content URIs and is the preferred approach.

Multiple choice technology platforms and products
  1. Bitmap

  2. Overlay

  3. Canvas

  4. None of above

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

Overlays in Android Maps API allow you to draw graphical layers on top of a MapView. You can create custom overlays by extending the Overlay class to display items like markers, shapes, routes, or other visual elements. The MyLocationOverlay is a specific built-in overlay for showing device position.

Multiple choice technology platforms and products
  1. LocationOverlay

  2. MyLocationOverlay

  3. MapOverlay

  4. None of above

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

MyLocationOverlay is a built-in Android Maps overlay class that displays the user's current location and orientation on the map. It shows a compass indicator for direction and can animate to the current position. This is the correct native overlay for location display.

Multiple choice technology platforms and products
  1. MapController

  2. Overlay

  3. MapActivity

  4. None of above

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

MapActivity is the base Activity class that provides access to a MapView. When you extend MapActivity, you can call getMapView() or access the map through layout inflation. The Activity hosts the map and provides the context in which the MapView operates. MapController is for controlling the map, Overlay is for drawing on it, but MapActivity provides the MapView itself.