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
  1. Canvas

  2. Outline display

  3. Palette

  4. Properties window

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

Properties window is not a part of Android Developer tool. The main components of ADT(Android Development tools) are:

1. Configuration drop-down menu
2. Canvas
3. Palette
4. Outline display 5. Graphic layout editor

Multiple choice
  1. right sidebar, tree view, tree overview and layout view

  2. left sidebar, tree view, tree overview and layout view

  3. left sidebar, hierarchy view, tree overview and layout view

  4. Left sidebar, tree view and tree overview

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

Hierarchy viewer is used to display the full layout hierarchy of the application. The components of hierarchy viewer are: Left Sidebar, Tree View, Tree Overview and Layout View.

Multiple choice
  1. <features android:name=”android.hardware.touchscreen” android:required=”true” />

  2. <uses-features android:name=”android.touchscreen” android:required=”true” />

  3. <uses-features android:name=”android.hardware.touchscreen” android:required=”true” />

  4. <uses-features android:name=”android.hardware.touchscreen” android:method=”true” />

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

Here you have to set the “name” and “required” property of use-features tag to “android.hardware.touchscreen” and “true” respectively. For Example: <uses-features android:name=”android.hardware.touchscreen” android:required=”true” />

Multiple choice
  1. B, C, D, E

  2. A, B, C, E

  3. A, B, C, D

  4. A, C, D, E

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

Remember these points, which makes your app compatible with majority of the devices:

Always use dip unit in your layout.

Use wrap_content and match_parent whenever possible.This will make your layout much more flexible than layouts using hard-coded dimension values.
Provide alternative image resources for each densit to ensure that your images look appropriate on all screen densities. .
Use 9-patch graphics for any resources that can’t stretch without distortion. Always use sp unit in your layout.

Multiple choice
  1. An action button that advances to the next slide

  2. An item on the slide that performs an action when clicked

  3. The name of a motion path

  4. All of the above

  5. None of these

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

Triggers are clickable objects (text, images, shapes) that launch animations or other actions when you click them during slideshow mode.

Multiple choice
  1. Menu

  2. Form

  3. Tool bar

  4. File

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

In Visual Basic, Forms are the fundamental building blocks - they're the windows and dialog boxes that users interact with. Every VB application starts with at least one form. Menus, toolbars, and files are components that live on forms, not the base structure themselves.

Multiple choice
  1. Menu bar

  2. Project Explorer Window

  3. Tool box

  4. None of these

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

The Project Explorer window in Visual Basic displays a hierarchical tree of all components in your application, including all forms, modules, and class files. Menu bars contain commands, toolboxes contain controls, and 'None of these' is incorrect. Project Explorer is the navigation hub.

Multiple choice
  1. command button

  2. list

  3. image box

  4. label

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

AddItem is a method used with list boxes and combo boxes in Visual Basic to add new items to the collection at runtime. It dynamically populates the list with data.

Multiple choice
  1. Size

  2. Resize

  3. Sizechange

  4. Resizewindows

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

When a form is resized by the user or programmatically, Visual Basic triggers the Resize event. This event allows developers to execute code in response to size changes, such as repositioning controls or adjusting layouts. The other options (Size, Sizechange, Resizewindows) are not standard VB events.

Multiple choice
  1. Help mode

  2. Design mode

  3. Break mode

  4. Run mode

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

Visual Basic has three primary working modes: Design mode (for creating interface), Run mode (for executing the application), and Break mode (for debugging during execution). Help mode is not one of these operational states - it's just accessing documentation, not a working mode of the IDE itself.

Multiple choice
  1. Form10

  2. Forms

  3. Form1

  4. Form0

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

When you create a new project in Visual Basic, it automatically includes one form named Form1 by default. Additional forms can be added with names like Form2, Form3, etc., but Form1 is always the initial form. The other options (Form10, Forms, Form0) are not default VB naming conventions.