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. Strong name information

  2. Assembly name

  3. Type reference information

  4. Version number

  5. Web form

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

In this assembly manifest content information, information is used by the runtime to map a type reference to the file that contains its declaration and implementation.

Multiple choice
  1. paint

  2. stop

  3. start

  4. init

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

The standard applet lifecycle consists of four methods: init(), start(), stop(), and destroy(). The paint() method is used for rendering but is not part of the official lifecycle sequence - it's called when the applet needs to display content.

Multiple choice
  1. flow

  2. grid bag

  3. border

  4. card

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

CardLayout is a layout manager that stacks components like a deck of cards, with only one component visible at a time. Components are added sequentially and can be navigated using next(), previous(), or first()/last() methods, making it ideal for wizard-style interfaces or tabbed panels.

Multiple choice
  1. Table

  2. Card Layout

  3. Tabbed Pane

  4. Scroll Pane

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

JTabbedPane (Tabbed Pane) is the appropriate Java Swing component for creating a tabbed interface like the Windows Control Panel Display option. Each category (Display, Sound, Network, etc.) would be a separate tab, allowing users to navigate between different settings panels.

Multiple choice
  1. label

  2. check box group

  3. radio button

  4. scrollbar

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

Label is a passive control in Java AWT because it only displays text or an image and does not generate events when users interact with it. Other controls like checkboxes, radio buttons, and scrollbars are active controls that generate events in response to user actions.

Multiple choice
  1. menu bar

  2. main menu

  3. menu list

  4. none of the above

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

In Java AWT, Menu is not a subclass of MenuBar, MainMenu, or MenuList. The Menu class directly inherits from the MenuItem class, making 'none of the above' the correct answer.

Multiple choice
  1. J Scroll Pane

  2. J Image Icon

  3. Content Pane

  4. None of the above

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

To create a JTable in Swing, you must typically wrap it in a JScrollPane to enable proper display and scrolling functionality. The JScrollPane provides the scroll bars and viewport needed when the table data exceeds the visible area, which is essential for most table implementations.

Multiple choice
  1. Scroll Pane

  2. Panel

  3. List

  4. Menu

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

Panel is the simplest concrete subclass of Container in Java AWT. It provides a basic container that can hold other components and is commonly used for grouping and organizing UI elements. Other options like ScrollPane, List, and Menu either inherit from Panel or have more complex implementations.