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
  1. For background task

  2. To provide a text window

  3. To provide a simple popup

  4. None of these

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

A toast provides a simple popup.

Multiple choice
  1. To modify the application permissions

  2. To add media files(images)

  3. To change layout or graphical view

  4. To provide pointers to drawable, layout and values directory

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

AndroidManifest.xml present in res folder is used to modify the application permissions, activities and intent fillters.

Multiple choice
  1. Style

  2. Theme

  3. ConfigChanges

  4. None of above

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

The android:theme attribute in the tag sets the app's visual style (defines colors, fonts, widget styles). 'Style' refers to individual style resources applied to specific views, while 'ConfigChanges' controls configuration changes handling.

Multiple choice
  1. ListAdapter

  2. BaseAdapter

  3. CustomAdapter

  4. None of above

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

BaseAdapter is the abstract base class that you extend to create custom adapters for ListView and other AdapterView widgets. ListAdapter is an interface, not a class you extend. CustomAdapter is not a built-in Android class - it's a name you might give to your own implementation.

Multiple choice
  1. The child views of a relative layout are arranged in the order they are declared.

  2. There is a circular dependency in a relative layout.

  3. We can set the width of the Relativelayout to wrap_content.

  4. We can set the height of the Relativelayout to wrap_content.

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

The child views of a relative layout are arranged in the order they are declared. We cannot have a circular dependency in a Relativelayout. Also we cannot set the width of the RelativeLayout to wrap_content.

Multiple choice
  1. Only A

  2. Only B

  3. Both A and B

  4. Neither A nor B

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

Here are two that we could use with a ListView:

android.R.layout.simple_list_item_1 is used to display a single line of text in a row of ListView. Android.R.layout.two_line_list_item displays two lines of text per row of a list.