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. System.Web.UI.HtmlControls.HtmlMeta

  2. System.Web.UI.HtmlControls.HtmlInputText

  3. System.Web.UI.HtmlControls.HtmlControl

  4. System.Web.UI.HtmlControls.HtmlGenericControl

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

In ASP.NET, a generic HTML element like

is represented by the HtmlGenericControl class from the System.Web.UI.HtmlControls namespace. Unlike specific elements like (HtmlInputText) or (HtmlMeta), generic HTML elements without dedicated server control classes map to this flexible base class.

Multiple choice technology programming languages
  1. The Page_PreRender event is not executed for downlevel browsers.

  2. The Page_Load event happens before the page has been rendered and the Page_PreRender event happens after the page has been rendered.

  3. The Page_PreRender event happens after the Page_Load event and after any control events.

  4. The Page_PreRender event and Page_Load event can be used interchangeably.

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

The ASP.NET page lifecycle order is: Page_Load first, then control event handlers (like Button_Click), then Page_PreRender. Option C correctly states Page_PreRender happens after Page_Load AND after control events. Option B is wrong because Page_PreRender fires before rendering, not after.

Multiple choice technology testing
  1. Properties

  2. Resources

  3. Web

  4. Web Settings

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

In QTP/UFT (QuickTest Professional), the Web tab in Test Settings contains browser-specific configurations including the browser navigation timeout setting. Properties handles general test settings, Resources manages associated files and libraries, while Web Settings is not a standard tab name.

Multiple choice technology programming languages
  1. Add keyword to Method signature

  2. Add [WebMethod] on top of the Method Signature

  3. Add {WebMethod} on top of the Method Signature

  4. None of the Above

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

In VB.NET, you add the WebMethod keyword before the method declaration. Options B and C use C# attribute syntax ([WebMethod] or {WebMethod}), which is incorrect for VB.NET.

Multiple choice technology web technology
  1. RMT

  2. CLR

  3. RCT

  4. RC

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

To answer this question, the user needs to know what the .NET Framework is and what it provides. The .NET Framework is a software development framework developed by Microsoft. It provides a runtime environment called the Common Language Runtime (CLR), which manages the execution of .NET applications and provides services such as memory management, security, and exception handling.

Therefore, the correct answer is:

The Answer is: B. CLR

Multiple choice technology programming languages
  1. Page load

  2. Page_Init

  3. Control events

  4. Page- prerender

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

In ASP.NET page lifecycle, Page_Load event fires after all controls are fully loaded and initialized. Page_Init is where controls are initialized but not fully loaded. Control events fire after Load. PreRender happens after Load but before rendering. Page_Load is the correct answer for when controls are fully loaded.

Multiple choice technology programming languages
  1. Parent control send events to child

  2. child control send events to parent

  3. only in child control

  4. only in Parent control

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

Event bubbling is the mechanism where child controls send events upward to their parent controls. This allows parent controls to handle events raised by their children. Option A describes event tunneling (the opposite direction). Event bubbling is child-to-parent, which matches option B.

Multiple choice technology programming languages
  1. In session

  2. In HTML Hidden Fields.

  3. In application session

  4. All the above

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

In ASP.NET, View State is a client-side state management mechanism. The page framework serializes the state of controls and stores it in a hidden HTML input field on the page named __VIEWSTATE, rather than in session or application memory.

Multiple choice technology programming languages
  1. execute ASP.NET application level events and setting application-level variables

  2. setting application-level variables.

  3. execute ASP.NET application level events.

  4. All the above

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

GLOBAL.ASAX is the ASP.NET application file that handles application-level events like Application_Start, Application_End, Session_Start, and Error events. It's also where you can define application-wide variables and settings.

Multiple choice technology web technology
  1. activity, component, file layout

  2. activity, AE, file layout

  3. Business interlinks, component interface, file layout

  4. AE, component, component interface

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

When using drag-and-drop functionality in PeopleSoft, PeopleCode is automatically generated for Business Interlinks (for external system calls), Component Interfaces (for programmatic component access), and File Layouts (for file processing). Activities and AE programs don't auto-generate PeopleCode in drag-and-drop operations.

Multiple choice technology programming languages
  1. AppDomainsetup

  2. System.UI.Naming.Container

  3. IAsyncResult

  4. customFormatter

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

To solve this question, the user needs to have some understanding of ASP.Net development and its user interface.

The correct answer for this question is option B: System.UI.Naming.Container.

Explanation of each option:

A. AppDomainsetup: This is an option for setting up the application domain for an application. It is not related to creating unique Id's in ASP.Net.

B. System.UI.Naming.Container: This is the correct option as it is the interface used by ASP.Net to create Unique Id's. In ASP.Net, controls rendered on the server are assigned a unique ID attribute that is used to identify the control in the HTML markup.

C. IAsyncResult: This is an interface that is used to manage the status of an asynchronous operation. It is not related to creating unique Id's in ASP.Net.

D. customFormatter: This is a formatter that can be used to format data to be displayed on a web page. It is not related to creating unique Id's in ASP.Net.

Therefore, the answer is: B. System.UI.Naming.Container.

Multiple choice technology programming languages
  1. Event-driven

  2. Static

  3. Linear

  4. TopDown

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

ASP.NET uses an event-driven programming model where the framework raises events (like Page_Load, Button_Click) and developers write code to handle these events. This model allows for responsive, interactive web applications that react to user actions and system events. The event-driven approach is fundamental to ASP.NET's web forms architecture.