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. Page initial , Event processing , Component Creation , Rendering

  2. Page initial , Rendering , Component Creation , Event processing

  3. Page initial , Component Creation , Event processing , Rendering

  4. Page initial , Component Creation , Rendering , Event processing

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

The ZK page lifecycle follows: (1) Page Initial - initialization and parameter retrieval, (2) Component Creation - creating component tree from ZUML or programmatic creation, (3) Event Processing - processing queued events, (4) Rendering - generating output for the browser. This sequence ensures components exist before events are processed, and events complete before final rendering. Option C correctly shows this order.

Multiple choice technology web technology
  1. Page initial

  2. Component Creation

  3. Event processing

  4. Rendering

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

The redraw() method in ZK is called during the Rendering phase of the page lifecycle. After event processing has modified component states, redraw() regenerates the HTML output for affected components. It is not called during Page Initial, Component Creation, or Event Processing phases - only when the modified component tree needs to be rendered to the client.

Multiple choice technology platforms and products
  1. Surface Manager

  2. Android Run-time

  3. Activity Manager

  4. Package Manager

  5. None of above

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

The Activity Manager in the Application Framework layer is responsible for managing the lifecycle of Android activities and applications. It handles activity creation, destruction, and state management.

Multiple choice technology platforms and products
  1. Tool to debug and optimize user interface

  2. Linking a Standard debugger to application code running on emulator

  3. Tool to create Android Package File (.apk) containing binaries & resources

  4. Only a & b above

  5. Only a & c above

  6. All of above

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

ADB (Android Debug Bridge) is a command-line tool that links a debugger to application code running on an emulator or device. It's primarily for debugging and communicating with instances, not for UI optimization or APK creation.

Multiple choice technology platforms and products
  1. Layout files

  2. Graphics

  3. Localized Strings and graphics

  4. a & b Above

  5. All of Above

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

The Resource Manager provides access to all types of resources including layout files, graphics (images), and localized strings and graphics. It's the central API for accessing all application resources packaged in the APK.

Multiple choice technology
  1. Creation Event

  2. FirstUpdateEvent

  3. DoubleClickEvent

  4. None of the above

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

In event naming conventions, FirstUpdateEvent is not a standard calendar event type. Standard calendar events typically include Creation, Update, Delete, and click-related events. FirstUpdateEvent is likely a distractor as it's not commonly used.

Multiple choice technology web technology
  1. Namespace

  2. Assembly

  3. Class

  4. Interface

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

An assembly is the smallest unit of deployment in .NET. Assemblies contain compiled code (IL), metadata, and resources, and are deployed as DLL or EXE files. Namespaces, classes, and interfaces are logical organization within assemblies but cannot be deployed independently.

Multiple choice technology programming languages
  1. RowDataBound

  2. ItemDataBound

  3. RowClick

  4. ItemClick

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

RowDataBound is a GridView event that fires when each row is data-bound, allowing customization of row appearance or content. ItemDataBound is the equivalent event for the older DataGrid control. Both are valid events for their respective controls, though GridView is the modern ASP.NET control.

Multiple choice technology web 2.0
  1. It is used to view the minimal, optional, and refused permission sets requested by an assembly.

  2. It establishes a permanent view of the managed heap

  3. It provides an interface to the persistable dynamic assemblies stored on disk.

  4. It sets the permissions on a Dataset view object

  5. It persists the view of a Dataset by serializing the view to an XML stream

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

PermView.exe is a .NET SDK utility that displays the permission requests (minimal, optional, refused) declared in an assembly's metadata. Options B through E describe unrelated functionality - PermView has nothing to do with Dataset views, heap management, or dynamic assemblies. It's specifically a security diagnostic tool for examining CAS (Code Access Security) permission requests.

Multiple choice technology testing
  1. Local Action Sheet

  2. Global or Local Action Sheet

  3. Global Action sheet

  4. None of the Above

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

When inserting output values in QTP/UFT, you can direct the output to either the Global DataTable sheet (accessible across all actions) or a Local Action DataTable sheet (specific to that action). This flexibility allows you to choose the appropriate scope for your captured values. Option B correctly identifies that both options are available.

Multiple choice technology platforms and products
  1. tv.setText(“Quiz II”)

  2. setContentView(tv)

  3. c. TextView tv = new TextView (this)

  4. setContentView()

  5. None of above

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

In Android Activity, setContentView() connects a View or layout resource to the screen. After creating a TextView tv, calling setContentView(tv) makes it the root View displayed. setText() only changes content, and TextView tv = new TextView(this) creates the object but doesn't display it.

Multiple choice technology testing
  1. A list of all objects on the home page, such as HtmlImage, HtmlText, HtmlLinks, etc

  2. Testcases to execute.

  3. Commentary information

  4. An object of class BrowserChild window that holds application home page.

Reveal answer Fill a bubble to check yourself
A,C,D Correct answer
Explanation

A test frame in SilkTest stores application state information including: all objects on the home page (HtmlImage, HtmlText, HtmlLinks), commentary information for documentation, and the BrowserChild window object that holds the application home page. Test cases themselves are stored in test plan files, not in the test frame.

Multiple choice technology web technology
  1. Not Possible

  2. Always Possible

  3. Only If object have Serializable feature or have TypeConverter option

  4. Only if object is an String

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

ViewState in ASP.NET can store objects, but the object must be serializable. Objects marked with the [Serializable] attribute or those with a TypeConverter can be stored in ViewState. Non-serializable objects cannot be persisted because ViewState needs to convert objects to a string format for transport.