Computer Knowledge

GUI and Web Frameworks

1,711 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 platforms and products
  1. Text template is a mixture of text blocks and control logic that can generate a text file

  2. Text template can generate file that can be text of any kind, such as a Web page, or a resource file, or program source code in any language

  3. Text templates can be used at run time to produce part of the output of an application

  4. Text templates cannot be used for code generation

  5. Whenever you edit the template during development, the template is transformed to a class which is compiled as part of the application

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

The question asks which statement is NOT true. Text templates (T4) can generate text files of any kind (A is true), including web pages and source code (B is true), and can be used at runtime (C is true). However, D states 'Text templates cannot be used for code generation' - this is FALSE. Text templates ARE specifically designed for code generation, making D the correct answer to 'what is NOT true'.

Multiple choice technology platforms and products
  1. Provides “Call Hierarchy”, a design time feature which enables a developer to select an entity or method and see how the code calls inwards or outwards or passes the entity in and out of the code section

  2. New VS 2010 Editor is rebuilt using Silverlight

  3. Provides “Highlight References” feature, which provides a visual representation of the references to a selected entity in the code without needing to use the “Find In Files” feature

  4. Navigate To feature to search for a symbol or file in the source code

  5. The Generate From Usage feature that lets you use classes and members before you define them

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

The VS 2010 editor was NOT rebuilt using Silverlight - it was built using WPF (Windows Presentation Foundation). Silverlight is a browser plugin framework, not the foundation for VS 2010's editor. The other features listed (Call Hierarchy, Highlight References, Navigate To, Generate From Usage) are all real VS 2010 features, making B the statement that is NOT correct.

Multiple choice technology platforms and products
  1. Visual Studio 2010 includes new project templates for creating solutions that target Microsoft Office 2010

  2. You can create solutions for 32-bit and 64-bit versions of Microsoft Office 2010

  3. The code that you write in Office projects is the always same when you target the .NET Framework 3.5 or the .NET Framework 4

  4. You can combine multiple document-level and application-level office solutions and deploy them as a single package

  5. When you target the .NET Framework 4, it is now possible to deploy office solutions without the Office primary interop assemblies

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

When targeting .NET Framework 4 in Office development, you can use new features like embedding interop types (No-PIA), which changes the code compared to .NET Framework 3.5. So the code is NOT 'always the same' - C is false and therefore the correct answer to 'what is NOT correct'. The other statements about Office 2010 templates, 32/64-bit support, combining solutions, and deploying without PIAs in .NET 4 are all true.

Multiple choice technology platforms and products
  1. Visual Studio 2010 will support UML 2.1. All 13 diagrams of UML will be supported in Visual Studio 2010

  2. You can generate Use Case, Sequence, Class, Component, and Activity Diagrams

  3. The new Architecture Explorer provides architects and developers a mechanism for visualizing code assets in a number of ways including graphs, stacked diagrams and dependency matrices

  4. Layer diagram feature enables to define the high level architectural layers of the system in visual representation and allows to check these constraints automatically during implementation phase

  5. Microsoft Test Runner enables to take a snapshot of the system data, including OS version and Service Pack and other pertinent system data and also capture images of the application under test, or even partial or full screen video of the test being run.

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

VS 2010 did NOT support all 13 UML diagrams - it supported a subset (use case, sequence, class, component, activity, and a few others). The statement claiming 'All 13 diagrams will be supported' is false, making A the correct answer to 'what is NOT correct'. The other features listed (generating specific diagrams, Architecture Explorer, Layer diagrams, Test Runner) were all real VS 2010 ALM features.

Multiple choice technology platforms and products
  1. Search in the Breakpoints window, label breakpoints, import and export breakpoints

  2. There is no support for debugging mixed-mode native and managed code on 64-bit operating systems

  3. You can use the Parallel Stacks and Parallel Tasks debugger tool windows to visualize and debug parallel code that is written in C++, C#, or VB

  4. A newly redesigned Threads window provides filtering, call-stack searching and expansion, and grouping

  5. WPF debugging enhancements include enhanced tracing to view events in your WPF application and WPF Tree Visualizer to inspect and search the WPF tree

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

VS 2010 DID support mixed-mode debugging (native + managed) on 64-bit operating systems. This was a significant improvement over VS 2008. Therefore statement B claiming 'there is NO support' is FALSE, making B the correct answer to 'what is NOT true'. The other features listed (breakpoint search/label/import/export, Parallel Stacks/Tasks windows, redesigned Threads window, WPF debugging enhancements) were all real VS 2010 debugger improvements.

Multiple choice technology platforms and products
  1. You can develop SharePoint solutions with SharePoint project type templates and SharePoint project item templates

  2. Browse SharePoint sites by using the Server Explorer

  3. Debug SharePoint applications by pressing F5

  4. The SharePoint development tools in Visual Studio 2010 are same as the Visual Studio extensions for Windows SharePoint Services available for Visual Studio 2005/2008

  5. Aggregate and integrate back-end data by using Business Data Connectivity (BDC) models

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

Visual Studio 2010 introduced deeply integrated SharePoint development tools that were significantly enhanced compared to the separate Visual Studio Extensions for Windows SharePoint Services (VSeWSS) used with VS 2005/2008. The VS 2010 tools are not the same - they offer better integration, more templates, and improved debugging experiences. Options A, B, C, and E all describe actual VS 2010 SharePoint features.

Multiple choice technology platforms and products
  1. Drag-and-Drop Data Binding for WPF

  2. Drag-and-Drop Data Binding for WCF

  3. Drag-and-Drop Data Binding for Silverlight

  4. Connecting to Data in Multiple Objects

  5. Extending Queries in the EntityDataSource Control

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

Visual Studio 2010 provides drag-and-drop data binding capabilities for UI platforms like WPF and Silverlight, as well as binding to multiple objects. However, WCF is a communication service framework and does not support drag-and-drop data binding directly to UI controls, making it the correct option.

Multiple choice technology platforms and products
  1. The Visual Studio 2010 Report Viewer controls do not support the SQL Server 2005 version of Reporting Services report server

  2. Microsoft Word is added as an export format for report generation

  3. Visual Studio 2010 provides a new Report Wizard that simplifies data definition and report design by guiding you step-by-step through a series of tasks that lead to a finished report

  4. You cannot process your existing RDL 2005 reports in the Visual Studio 2010 Report Viewer controls

  5. The new Tablix and gauge data regions and enhanced chart data regions in Report Designer are the enhancements in VS 2010 for Report creation

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

Visual Studio 2010 Report Viewer controls maintain backward compatibility with RDL 2005 reports. The statement claiming you cannot process RDL 2005 reports is false, making option D the correct answer to what is 'not true.' VS 2010 supports multiple export formats (including Word), provides the Report Wizard, and includes enhanced data regions like Tablix and improved charts.

Multiple choice technology platforms and products
  1. Prior to .NET 4.0, when a COM component was referenced, Visual Studio would create an additional assembly to describe the COM DLL to the CLR (a PIA or Primary Interop Assembly). In .NET 4, you can instruct the compiler to embed type information from an i

  2. Using embedded interop types reduces the size of your application, because most applications do not use all the features of a COM component

  3. The compiler embeds only the type information that your application uses and does not embed the unused methods

  4. When .NET client obtains and releases a reference to a COM object, it is required to maintain the reference count on the COM object similar to any other COM client

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

.NET 4.0's embedded interop types feature automatically handles COM reference counting through the runtime callable wrapper (RCW), eliminating the need for developers to manually manage reference counts. This was a significant improvement over pre-4.0 COM interop where developers had to be more conscious of COM lifecycle management.

Multiple choice technology platforms and products
  1. With .NET 4.0, installing a new version of .NET 4.0 has no effect on existing applications built in earlier versions of .NET

  2. Components that were built with the .NET 1.1 can run side by side with version 2.0, 3.0, or 3.5 components

  3. When native application that uses COM components built with earlier versions of the .NET Framework, the COM components will run with the version of the .NET Framework they were registered with

  4. Managed application built with the .NET Framework 3.0 SP1 will run with the .NET Framework version 3.0, but can be configured to run on the .NET Framework 4 if version 3.0 is not present

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

In-process side-by-side execution primarily enables .NET 4.0 applications to coexist with earlier .NET versions within the same process. However, .NET 1.x, 2.x, and 3.x components cannot generally run side-by-side within the same process - they would run in different processes or require different AppDomains. Option B incorrectly suggests broad cross-version compatibility.

Multiple choice technology platforms and products
  1. MEF stands for Managed Extensibility Framework

  2. Due to it’s declarative-based and discovery-enabled approach, MEF becomes very powerful to use in an application where it is being used to put together a bunch of potentially unknown parts into a working application

  3. Using MEF, .NET applications can make the shift from being statically compiled to dynamically composed

  4. MEF is part of System.ComponentModel.CompositeApplication assembly in .NET 4.0

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

MEF (Managed Extensibility Framework) in .NET 4.0 is part of the System.ComponentModel.Composition namespace, not System.ComponentModel.CompositeApplication. Options A, B, and C correctly describe MEF's purpose and capabilities for building composable applications.

Multiple choice technology web technology
  1. web.page.ui

  2. web.ui.page

  3. page

  4. ui.web.page

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

In web frameworks, pages typically inherit from a base page class that's part of the UI framework's hierarchy. The exact naming varies by framework, but 'web.ui.page' represents a common pattern where page is the base UI component.