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 programming languages
  1. CScrollView

  2. CEditView

  3. CTreeView

  4. CFormView

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

CFormView creates a view that resembles a dialog box (with form-like layout) while integrating with MFC's document/view architecture. It allows dialog-based UI with document data binding. CScrollView is for scrolling, CEditView for text editing, and CTreeView for tree hierarchies.

Multiple choice technology programming languages
  1. ToolBar

  2. Menu

  3. Dialog

  4. Accelerator

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

A Dialog box is a rectangular window resource in Windows programming whose primary purpose is to host, organize, and manage other controls like buttons, text boxes, and labels. Toolbars, menus, and accelerators serve navigation and command execution roles.

Multiple choice technology programming languages
  1. MenuCaption argument

  2. lpszMenuName argument

  3. MenuName argument

  4. splzMenuName argument

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

In MFC's CFrameWnd::Create() method, the lpszMenuName parameter specifies the menu resource name. This parameter directly corresponds to the menu resource defined in the .rc file.

Multiple choice technology programming languages
  1. Dialog box

  2. Tree view

  3. Property Sheet

  4. Menu

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

Tree view is a control class embedded in dialogs, not a standalone resource type. Property sheets are constructed from multiple dialog-based property pages and don't exist as separate resource entities in .rc files. Dialog boxes and menus are first-class resource types.

Multiple choice technology programming languages
  1. Visible

  2. Enable

  3. TitleBar

  4. Border

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

Property pages in MFC are dialog templates with specific styles: visible, border, and title bar (tab caption). They're typically disabled initially (enabled only when their tab is selected). The 'Enable' property refers to window enable state, not whether it's an enabled feature.

Multiple choice technology programming languages
  1. CDocument::UpdateViews

  2. CDocument::UpdateAllViews

  3. CDocument::UpdateData(TRUE)

  4. CDocument::Modify(TRUE)

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

When a view modifies data, it calls CDocument::UpdateAllViews(NULL, hint) to notify all other views of the change. This is the core of MFC's document-view architecture ensuring multiple views stay synchronized. The NULL parameter excludes the calling view from notifications.

Multiple choice technology platforms and products
  1. Language aware editor

  2. Incremental build

  3. Integrated debugging

  4. All of the above

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

Eclipse Java IDE provides all three features: language-aware syntax highlighting and code assistance, incremental compilation for fast feedback, and integrated debugging with breakpoints and stepping. 'All of the above' is the comprehensive answer.

Multiple choice technology platforms and products
  1. Eclipse is a Plugin

  2. Eclipse is a shareware

  3. Eclipse is an Open source framework

  4. None of these

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

Eclipse is an open-source framework governed by the Eclipse Foundation. It's not a plugin itself (it hosts plugins), not shareware (it's OSI-approved open source), and 'none of these' is incorrect. The open-source nature is fundamental to Eclipse's architecture.

Multiple choice technology platforms and products
  1. A directory to store Eclipse specific initializations

  2. A directory which contains all the projects the user is currently working on.

  3. A file containing Eclipse initialization settings.

  4. None of these

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

An Eclipse workspace is a directory that stores Eclipse-specific metadata, configuration files, and settings. It contains the projects you're working on and maintains preferences, plugin configurations, and other initialization data specific to that workspace. Option B is incorrect because while the workspace contains projects, it's not just a container - it stores configuration too. Option C is incorrect because it's a directory structure, not a single file.

Multiple choice technology platforms and products
  1. Only inspecting the code.

  2. Watching the values of variables and expressions.

  3. Step by step debugging.

  4. All of the above

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

Eclipse provides comprehensive debugging utilities including inspecting code, watching variable values and expressions, and step-by-step execution. These features work together to give developers complete visibility into program execution. Options A, B, and C each describe individual debugging features, but D correctly identifies that all are available simultaneously during debugging.

Multiple choice technology platforms and products
  1. Editors

  2. Project Creation Wizards

  3. Validators

  4. Application Server domain creation wizard

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

Eclipse provides built-in editors, project creation wizards, and validators. However, application server domain creation wizards are specific to application servers (like WebLogic or WebSphere) and are not standard utility tools supplied by Eclipse itself.

Multiple choice technology platforms and products
  1. Standalone applications

  2. Distributed applications

  3. All of the above

  4. None of these

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

Eclipse is a versatile IDE that supports development of both standalone applications (desktop apps, console apps) and distributed applications (web apps, enterprise applications, client-server systems). Option A and B each describe types Eclipse supports, making C the correct comprehensive answer.

Multiple choice technology platforms and products
  1. Builder

  2. Java Build Path

  3. Java Doc Location

  4. None of these

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

The 'Java Build Path' section in Project Properties allows adding libraries, JARs, and external dependencies to a project's classpath. This is where you configure what libraries your project needs. Option A is for build configurations. Option C is for Javadoc location only.