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. Datalist

  2. DropdownList

  3. Repeater

  4. Datagrid

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

The Repeater control has no default visible interface - it's a template-driven control that renders whatever templates you define (HeaderTemplate, ItemTemplate, FooterTemplate, etc.). Unlike DataList, DropDownList, or DataGrid which have predefined layouts and visible structure, the Repeater gives complete control over rendering. This flexibility makes it ideal for custom data presentation but requires more development effort.

Multiple choice technology programming languages
  1. Use XCOPY to install the assembly in the global assembly cache.

  2. Use XCOPY to install the assembly in the Windows\Assembly folder.

  3. Create a strong name for the assembly.

  4. Recompile the assembly by using the Native Image Generator (Ngen.exe).

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

Sharing an assembly across multiple applications requires it to be globally accessible. This is achieved by assigning the assembly a strong name and installing it into the Global Assembly Cache (GAC).

Multiple choice technology programming languages
  1. Use XCOPY to install the assembly in the global assembly cache.

  2. Use XCOPY to install the assembly in the Windows\Assembly folder.

  3. Create a strong name for the assembly.

  4. Recompile the assembly by using the Native Image Generator (Ngen.exe).

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

To share an assembly in the Global Assembly Cache (GAC) so other applications can access it, the assembly must have a strong name (created with a public/private key pair) and be properly installed (not just XCOPYed).

Multiple choice technology programming languages
  1. SetShowHelp

  2. SetHelpString

  3. SetHelpKeyword

  4. ToString

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

The SetHelpString method of the HelpProvider control associates a specific string of text with a control, which is then displayed in a pop-up when the user presses F1 while that control has focus.

Multiple choice technology programming languages
  1. Set the RowFilter property of the DataView object to "BackOrder = True".

  2. Set the RowStateFilter property of the DataView object to "BackOrder = True".

  3. Set the Sort property of the DataView object to "BackOrder = True".

  4. Set the ApplyDefaultSort property of the DataView object to True.

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

The RowFilter property accepts a filter expression and controls which rows are visible in the DataView. Setting RowFilter to "BackOrder = True" will show only backordered items. RowStateFilter filters based on row state (Added, Modified, Deleted, etc.) not data values. Sort is for ordering, not filtering. ApplyDefaultSort controls default sorting behavior. RowFilter is specifically designed for filtering data based on column values.

Multiple choice technology programming languages
  1. In the BeginPrint event, set the HasMorePages property of the PrintEventArgs object to True.

  2. In the EndPrint event, set the HasMorePages property of the PrintEventArgs object to True.

  3. In the PrintPage event, set the HasMorePages property of the PrintPageEventArgs object to True.

  4. In the QueryPageSettings event, set the HasMorePages property of the QueryPageSettingEventArgs object to True.

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

The PrintPage event is where each page's content is printed, and setting HasMorePages to True tells the printing system there are more pages to print. BeginPrint fires once at the start, EndPrint once at the end - neither controls page continuation. QueryPageSettings is for page setup, not pagination. By checking if there's remaining content in PrintPage and setting HasMorePages accordingly, you enable multi-page printing. This is the standard pattern for multi-page print documents.

Multiple choice technology programming languages
  1. Set the RightToLeft property of each control on the form to Yes.

  2. Set the RightToLeft property of the form to Yes.

  3. Set the Language property of the form to the appropriate language.

  4. Set the Localizable property of the form to True.

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

Setting RightToLeft on the form automatically cascades to all child controls, ensuring consistent RTL layout throughout. This approach is maintainable since you only set it once on the form. Setting it on each control individually would be tedious and error-prone. Language property is for localization, not layout direction. Localizable enables design-time localization but doesn't affect RTL layout. The form-level RightToLeft property is the most efficient solution.

Multiple choice technology programming languages
  1. Modify the machine configuration file on your client computers.

  2. Modify the application configuration file for Customers.

  3. Modify the Publisher Policy file containing a reference to Customers.

  4. Modify the reference patch for Customers.

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

Publisher Policy assemblies redirect old assembly versions to new versions, allowing centralized control over version binding. By deploying a publisher policy, all applications using the old version automatically redirect to the new version without modifying individual app configs. Machine config affects all assemblies globally, which is too broad. Application config would require updating each application separately. Reference patch is not a valid concept. Publisher policy is the most efficient solution for version redirection.

Multiple choice technology programming languages
  1. CAB project.

  2. merge module project.

  3. setup project.

  4. Web setup project.

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

Merge modules are specifically designed for shared components that need to be deployed with multiple applications. They contain the component files and can be included in multiple setup projects. CAB files are for web downloads, setup projects are for single applications, and web setup projects are specifically for web applications.

Multiple choice technology architecture
  1. Composite

  2. Bridge

  3. Adaptor

  4. Facade

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

The Facade pattern provides a unified, simplified interface to a complex subsystem of interfaces. It defines a higher-level interface that makes the subsystem easier to use by reducing complexity and hiding the interactions between multiple subsystem components from clients.

Multiple choice technology programming languages
  1. Canvas level

  2. Window level

  3. Data block level

  4. Item level

  5. Form level

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

Window close events are handled at the Form level using triggers like WHEN-WINDOW-CLOSED. This ensures the trigger fires regardless of which canvas, block, or item is active when the window is closed.

Multiple choice technology programming languages
  1. WHEN-NEW-CANVAS-INSTANCE

  2. WHEN-NEW-FORM-INSTANCE

  3. WHEN-NEW-FORM

  4. WHEN-FORM-OPENED

  5. WHEN-NEW-CANVAS

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

WHEN-NEW-FORM-INSTANCE is the correct Oracle Forms trigger that fires when a form is first opened or instantiated. This trigger is designed specifically for initializing form-level values, setting default properties, or performing one-time setup tasks. WHEN-NEW-CANVAS-INSTANCE relates to canvas rendering, not form initialization.