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. javax.awt.*

  2. java.awt.*

  3. javax.swing.*

  4. java.swing.*

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

Swing components are in the javax.swing package, which must be imported to use them. The java.awt package contains the original AWT (Abstract Window Toolkit) components, while java.swing and javax.awt are incorrect package names that don't exist in the standard Java library.

Multiple choice
  1. It is used to create a primary window of an application.

  2. It is used to create the scrollable window.

  3. It is used to create the tabbed window.

  4. It is used to create the tabular format controls in window.

  5. None of the above

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

This is true about JFrame class.

Multiple choice
  1. It represents a rectangular area to view the specified components.

  2. It is used to represent file folders, which have the options to be selected.

  3. It is used to provide a combination of a drop down list and a text box.

  4. It represents the hierarchical view of data.

  5. None of the above

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

Yes, this is called scroll pane in java swing.

Multiple choice
  1. both client side programs

  2. both server side programs

  3. both database programs

  4. client side and server side programs

  5. server side and client side programs

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

Sun Microsystems provides Java applets and Microsoft Technology provides ActiveX. Both are small programs that get downloaded along with a Web page and execute on the client side.

Multiple choice
  1. 5

  2. 4

  3. 3

  4. 2

  5. 1

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

This is the correct answer, we can pass minimum 0 arguments and maximum 3 arguments to the FlowLayout constructor. These 3 arguments are :-FlowLayout(int alignment, int horizontalgap, int verticalgap)Alignment:- it can be FlowLayout.LEFT, FlowLayout.RIGHT or FlowLayout.CENTERHorizontalgap : - it specifies the horizontal gap between the components.Verticalgap : - It specifies the vertical gap between the components.So this answer is correct.

Multiple choice
  1. 6

  2. 5

  3. 4

  4. 3

  5. 2

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

This is the correct answer. We can pass maximum 4 arguments to the GridLayout constructor. These arguments are :-GridLayout(int rows, int columns, int HorizontalGap, int VerticalGap)This will create a gridlayout with specified number of row and columns and with a specific horizontal and vertical gap between the componenets.So this answer is correct.