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

  2. VS2005

  3. VS2008

  4. VS2010

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

Visual Studio 2008 was the first version to support LINQ (Language Integrated Query), which introduced standard query operators as part of the .NET Framework 3.5. LINQ provides a unified syntax for querying data from various sources including collections, SQL databases, and XML.

Multiple choice technology programming languages
  1. NET Smartclient Framework

  2. NET Small Framework

  3. NET Compact Framework

  4. None of the above

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

The .NET Compact Framework is a version of the .NET Framework designed specifically for mobile and resource-constrained devices. Smartclient and Small Framework are not standard Microsoft frameworks for this purpose.

Multiple choice technology programming languages
  1. ViewState

  2. Collection

  3. StateBag

  4. Controls

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

The Controls property of the Control class is a ControlCollection object that holds all child controls added to a parent control. ViewState is for persisting control state across postbacks, StateBag is the internal storage for ViewState, and Collection is a generic .NET class not specific to control hierarchies.

Multiple choice technology programming languages
  1. CompareValidator

  2. RangeValidator

  3. RegularExpressionValidator

  4. CustomValidator

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

RegularExpressionValidator is designed for pattern-based validation like telephone numbers that follow specific formats. CompareValidator compares one value to another, RangeValidator checks if a value falls within a numeric range, and CustomValidator requires you to write your own validation logic.

Multiple choice technology web technology
  1. Using runat property

  2. Using Text property

  3. Using CommandName property.

  4. Using ID property

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

In ASP.NET, when multiple button controls share the same Command event (like OnCommand), the event handler can differentiate them using the CommandName and CommandArgument properties. The CommandEventArgs parameter in the event handler carries these values, allowing a single event handler to execute different logic based on which button was clicked. The ID property identifies the control but isn't the designed mechanism for command differentiation.

Multiple choice technology web technology
  1. Label

  2. Hyperlink

  3. Link to another page

  4. Button

Reveal answer Fill a bubble to check yourself
Multiple choice technology web technology
  1. True

  2. False

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

CheckBox and CheckBoxList are distinct ASP.NET server controls. The CheckBox control represents a single checkbox that renders an individual element. The CheckBoxList control is a collection that can render multiple checkboxes in a group, supports data binding, and is useful when presenting multiple related options. While both render checkboxes, they serve different purposes and have different object models.

Multiple choice technology web technology
  1. Page and Poll

  2. Page and Story

  3. Forum and Story

  4. Blog and Poll

  5. Blog and Forum

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

Drupal's default installation includes two pre-configured content types: 'Page' and 'Story.' Both are node types but serve different purposes. Pages are for static content like 'About Us' or 'Contact' pages, while Stories are for blog-like posts with date-based organization. Additional content types can be created using modules like CCK (Drupal 6) or core Content Types (Drupal 7+). Forum, Blog, and Poll require enabling additional modules.

Multiple choice technology web technology
  1. path - /sites/all/modules

  2. path - /html/drupal/modules

  3. path - /html/drupal/mysite/modules

  4. path - /sites/default/modules

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

In Drupal, contributed modules should be placed in /sites/all/modules directory to keep them separate from core modules. This location ensures proper organization and allows for easier updates. The other paths either mix contributed and custom modules incorrectly or place them in core directories.

Multiple choice technology web technology
  1. Image Url, NavigateUrl, AlternateText, Direction, Keyword

  2. Image Url, NavigateUrl, AlternateText, DataSource, Keyword

  3. Image Url, NavigateUrl, Direction, Impressions, Keyword

  4. Image Url, NavigateUrl, AlternateText, Impressions, Keyword

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

The AdRotator control requires five key elements: ImageUrl (the banner image), NavigateUrl (link destination), AlternateText (alt text for accessibility), Impressions (weight for rotation frequency), and Keyword (for filtering). The incorrect options substitute Direction or DataSource which are not standard AdRotator properties.

Multiple choice technology web technology
  1. Panel

  2. PlaceHolder

  3. Form

  4. MultiView

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

The Panel control serves as a container that groups multiple server controls along with HTML elements and images into a single layout unit. PlaceHolder is for dynamically adding controls, Form is for data submission, and MultiView is for switching between different views.

Multiple choice technology web technology
  1. BulletedList, HiddenField, FileUpload, MultiView

  2. Calendar, HiddenField, FileUpload, MultiView

  3. BulletedList, AdRotator, FileUpload, MultiView

  4. BulletedList, HiddenField, AdRotator, Calendar

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

BulletedList, HiddenField, FileUpload, and MultiView were newly introduced in ASP.NET 2.0. Calendar and AdRotator existed in ASP.NET 1.x, so options containing those controls are incorrect. Option D lists three new controls correctly but adds AdRotator which is not new.