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 web technology
  1. Set PositionOnPostback as true in Page directive

  2. Set MaintainScrollPositionOnPostback as true in Page directive

  3. Set ViewState as true in Page directive

  4. Not Possible

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

The MaintainScrollPositionOnPostback attribute in the Page directive preserves the scroll position across postbacks by storing it in a hidden field. This prevents the page from jumping back to the top after a server-side event. PositionOnPostback is not a valid attribute, and ViewState handles state management, not scroll position.

Multiple choice technology web technology
  1. using AliasName = System.Text;

  2. using System.Text AliasName;

  3. Alias System.Text AliasName;

  4. Not Possible

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

C# supports namespace aliases using the syntax 'using AliasName = Fully.Qualified.Namespace;'. This creates a shorthand reference that can be used throughout the file. The other syntax options shown are not valid C# syntax for creating aliases.

Multiple choice technology platforms and products
  1. True

  2. False

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

The statement is false because while Android applications do have multiple screens, each screen is typically implemented by a single Activity, not multiple activities. An Activity represents a single screen with a user interface. You can have multiple activities in an app, but one activity per screen is the standard pattern.

Multiple choice technology web technology
  1. The DataGrid control is not bound to its DataTable property.

  2. The DataGrid control is not bound to the table Header

  3. The DataGrid control is not bound to its DataSource property.

  4. The DataGrid control is not bound to its DataKeyField property

  5. The DataGrid control is not bound to its DataKeys property.

Reveal answer Fill a bubble to check yourself
D Correct answer
Multiple choice technology web technology
  1. Repeater

  2. DataGrid

  3. DataList

  4. Table

  5. TableList

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

Table is the best choice for a general-purpose, non-data-bound list that needs dynamic row creation. Repeater and DataList are data-bound controls, and DataGrid requires a data source. Table (option D) provides maximum flexibility for manual row creation without data binding requirements.

Multiple choice technology web technology
  1. ItemCommand

  2. ButtonClicked

  3. OnClick

  4. EditCommand

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

The DataGrid control raises the ItemCommand event when any button within the grid is clicked, including custom buttons. This server-side event is specifically designed to handle button clicks in DataGrid rows. OnClick is a client-side JavaScript event, ButtonClicked is not a standard DataGrid event, and EditCommand only fires for Edit buttons specifically.

Multiple choice technology web technology
  1. SWF OBJECT

  2. FLASH OBJECT

  3. HTML&FLASH OBJECT

  4. FLA OBJECT

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

SWFObject (A) was the industry-standard JavaScript library for embedding SWF (Flash) content in HTML pages. It provided cross-browser compatibility and better fallback handling than the deprecated OBJECT/EMBED tags. Options B, C, and D are not real Flash embedding methods.

Multiple choice technology web technology
  1. 2nd part of the action movie

  2. a version of action script

  3. a 2nd release of the javascript

  4. wat ever may be

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

ActionScript 2 is a specific version of the ActionScript programming language (ECMAScript-based) used in Flash, introducing stricter typing and better object-oriented features than AS1.

Multiple choice technology web technology
  1. System.Web.UI.WebControls.WebPart.WebParts

  2. System.Web.UI.WebControls.WebParts.WebParts

  3. System.Web.UI.WebControls.WebParts.WebPart

  4. System.Web.WebControls.WebParts.WebPart

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

To create a custom WebPart in ASP.NET/SharePoint, you inherit from the WebPart base class in the System.Web.UI.WebControls.WebParts namespace. Option A is incorrect because WebParts (plural) is not a valid class name. Option B is also incorrect. Option D has the wrong namespace (System.Web.WebControls instead of System.Web.UI.WebControls.WebParts).

Multiple choice technology web technology
  1. Databind()

  2. CreateChildControls()

  3. CreateChildRender()

  4. OverrideChildControls()

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

CreateChildControls() is the primary method to override when creating custom WebParts - this is where you instantiate and add your child controls to the controls collection. Databind() is for data binding operations, not control creation. CreateChildRender() and OverrideChildControls() are not standard WebPart methods.

Multiple choice technology web technology
  1. A single row in the list

  2. A single list in the site

  3. A single field in the list

  4. A single item in the list

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

SPListItem represents a single row/item in a SharePoint list - it's the object model representation of one list item. Option B is incorrect - SPList represents the entire list, not a single item. Option C is wrong - SPField represents a field/column. Option D is redundant with A.

Multiple choice technology testing
  1. For each LOB, we have a project under the SPIAcceptanceTests.sln

  2. The xml scripts are written using Visual Studio 2005.

  3. SPLATT can be used for Mainframe testing

  4. All of the above

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

The wrong statement is C because SPLATT is designed for SPL (Service Level) testing, not Mainframe testing. Options A and B describe correct aspects of SPLATT: it has projects for each LOB and uses XML scripts in Visual Studio.

Multiple choice technology testing
  1. For each LOB, we have a project under the SPIAcceptanceTests.sln

  2. The xml scripts are written using Visual Studio 2005.

  3. SPLATT can be used for Mainframe testing

  4. All of the above

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

The question asks for the WRONG statement about SPLATT. Options A and B describe true facts about SPLATT (it has projects under SPIAcceptanceTests.sln for each LOB, and uses XML scripts in Visual Studio 2005). Option C says 'SPLATT can be used for Mainframe testing' - if this is FALSE (making it the wrong statement), then SPLATT cannot be used for mainframe testing, which is plausible if SPLATT is specifically for distributed systems testing. Option D 'All of the above' cannot be correct if we're looking for a single wrong statement.

Multiple choice technology testing
  1. For each LOB, we have a project under the SPIAcceptanceTests.sln

  2. The xml scripts are written using Visual Studio 2005.

  3. SPLATT can be used for Mainframe testing

  4. All of the above

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

This question asks for the WRONG statement. Options A and B are true (SPLATT has projects per LOB and uses VS 2005). Option C correctly states that SPLATT cannot be used for mainframe testing, making it the wrong statement and thus the right answer.