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 programming languages
  1. DriveListBox Control

  2. Timer Control

  3. Common dialog control

  4. VScrollBar Control

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

The Common Dialog control in Visual Basic 6.0 does not have any intrinsic events of its own. It is designed to display standard Windows dialogs (File Open, Save, Color, Font, Print) and you interact with it through methods like ShowOpen, ShowSave, etc., rather than event-driven programming.

Multiple choice technology testing
  1. Net, Web, Java

  2. Active X, Web, Plug-ins

  3. Active X, Visual Basic, Web

  4. Web, Visual Basic, SAP

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

QTP 9.2 (QuickTest Professional) comes with default add-ins for ActiveX, Visual Basic, and Web testing. These are the core add-ins installed by default for testing common application types.

Multiple choice technology testing
  1. Watch, Record, Display

  2. Record, Command, Variables

  3. Display, Variables, Watch

  4. Command, Watch, Variables

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

The Debug Viewer Pane in QTP/UFT contains three tabs: Command (for executing commands), Watch (for watching variables), and Variables (for viewing variable values). This combination helps in debugging by allowing you to execute commands, monitor specific variables, and inspect all variables at runtime.

Multiple choice technology programming languages
  1. CDOCItem

  2. CDC

  3. CBrush

  4. CAnimateCtrl

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

CDC (Device Context) class in MFC provides member functions for device-context operations including drawing tools selection, GDI object management, and color/palette operations. It's the fundamental class for all drawing operations in Windows. CBrush handles only brush objects, CAnimateCtrl is for animation controls, and CDOCItem is for document items.

Multiple choice technology programming languages
  1. True

  2. False

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

Standard modal dialog boxes in Windows are designed with a fixed layout that typically only includes a Close button in the title bar. They cannot be minimized, maximized, or restored like standard windows. This is by design to ensure the user completes the dialog's intended action before proceeding.

Multiple choice technology programming languages
  1. b only

  2. a and b

  3. b and c

  4. all the above

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

In MFC, a CDocument is managed by a CDocTemplate, the CWinApp object manages the application's frame windows, and CFrameWnd creates the client area windows, making all statements correct.

Multiple choice technology programming languages
  1. True

  2. False

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

Regular DLLs in Windows can be used by any application, regardless of whether they use MFC or are written in Visual C++. This is because regular DLLs export standard C-style functions that adhere to the Windows calling convention, making them language-agnostic and framework-independent.

Multiple choice technology programming languages
  1. Standard window toolkit

  2. Standard widget toolkit

  3. Standard window tool

  4. Standard widget tool

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

SWT stands for Standard Widget Toolkit, which is a graphical user interface toolkit for Java. It was developed by IBM as an alternative to Swing, using native operating system widgets for better performance and native look-and-feel.

Multiple choice technology programming languages
  1. Panel and Applet

  2. Panel and Frame

  3. Frame and Applet

  4. Panel and Jframe

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

Panel and Applet containers use FlowLayout as their default layout manager in AWT. FlowLayout arranges components in a left-to-right flow, similar to text in a paragraph. Frame and Window use BorderLayout by default, while JFrame uses BorderLayout by default in Swing.

Multiple choice technology programming languages
  1. SetLayout

  2. SetBoundries

  3. SetBorder

  4. SetLayouts

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

The setLayout() method is used to specify or change a container's layout manager in Java AWT/Swing. This method takes a LayoutManager object as a parameter and determines how components are arranged within the container. Options B, C, and D are not valid methods in the Java API.