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 java
  1. Hire software developers, and build dynamic page.

  2. Use ZOHO creator to build the required form, and embed in html page.

  3. Use Google App Engine (GAE) to build and deploy dynamic page.

  4. none of these

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

ZOHO Creator is a no-code/low-code platform specifically designed for building forms and simple database-driven applications without programming. You can embed the form directly into your HTML page using an iframe or embed code. Options A and C require developer time and technical skills that you explicitly don't have. ZOHO Creator is designed exactly for this use case - quick, code-free form creation for non-technical users.

Multiple choice .net
  1. uses buttons, menus, and icons.

  2. should be easy for a user to manipulate.

  3. stands for Graphic Use Interaction.

  4. Both a and b.

  5. All of the above.

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

A Graphical User Interface (GUI) uses visual elements like buttons and icons to make software intuitive. The acronym stands for Graphical User Interface, not 'Graphic Use Interaction', making option 'c' incorrect and 'Both a and b' correct.

Multiple choice .net
  1. debugging.

  2. application deployment.

  3. syntax checking.

  4. Both a and b.

  5. All of the above.

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

Visual Studio .NET is a comprehensive IDE that provides debugging capabilities, application deployment tools, syntax checking, and many other features. 'All of the above' is the correct answer as VS.NET includes all these features.

Multiple choice .net
  1. Visual Basic Projects

  2. Visual C# Projects

  3. Visual C++ Projects

  4. Both a and b.

  5. All of the above.

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

To answer this question, the user needs to have knowledge about the available project types in the New Project dialog box of a specific development environment.

The New Project dialog box is commonly available in integrated development environments (IDEs) like Microsoft Visual Studio, and it allows developers to create new projects in the language of their choice.

Now, let's go through each option and explain why it is right or wrong:

A. Visual Basic Projects: This option is partially correct. Developers can choose Visual Basic projects from the New Project dialog box if they are using Visual Studio. However, there are other project types available as well.

B. Visual C# Projects: This option is also partially correct. Developers can choose Visual C# projects from the New Project dialog box if they are using Visual Studio. However, like option A, there are other project types available as well.

C. Visual C++ Projects: This option is also partially correct. Developers can choose Visual C++ projects from the New Project dialog box if they are using Visual Studio. However, like options A and B, there are other project types available as well.

D. Both a and b: This option is incorrect because it only includes Visual Basic and Visual C# projects, leaving out the option of choosing Visual C++ projects.

E. All of the above: This option is correct because it includes all three project types - Visual Basic, Visual C#, and Visual C++ - that can be chosen from the New Project dialog box in Visual Studio.

Therefore, the correct answer is: E. All of the above.

Multiple choice .net
  1. Solution Explorer

  2. Tool Box

  3. Start Menu

  4. Designer Window

  5. Properties Window

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

To answer this question, the user needs to be familiar with the main components of the Visual Studio IDE, which is an integrated development environment used for software development.

Now, let's go through each option and explain why it is right or wrong:

A. Tool Box: This option is a main component of the Visual Studio IDE. The Toolbox provides a collection of controls and other elements that can be added to the design surface of a project.

B. Solution Explorer: This option is a main component of the Visual Studio IDE. The Solution Explorer displays the projects and files that make up a solution, allowing users to navigate and manage their code.

C. Start Menu: This option is not a main component of the Visual Studio IDE. The Start Menu is a feature of the Windows operating system and is not specific to Visual Studio.

D. Designer Window: This option is a main component of the Visual Studio IDE. The Designer Window allows users to visually design and edit forms, user interfaces, and other graphical elements of their project.

E. Properties Window: This option is a main component of the Visual Studio IDE. The Properties Window displays the properties and settings of a selected object or element, allowing users to modify and customize its behavior.

Therefore, the correct answer is:

The Answer is: C. Start Menu

Multiple choice .net
  1. Form Properties

  2. Visual C# Projects

  3. Form File

  4. Assemble File

  5. All are part of the solution explorer.

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

The Solution Explorer displays project files, references, and solution structure. Form Properties are typically shown in the Properties window, not Solution Explorer. Solution Explorer shows the file tree structure.

Multiple choice .net
  1. Putting a control on the form

  2. Running the program

  3. Activating the property window for a control

  4. Both a and b.

  5. All of the above.

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

To answer this question, the user needs to know what IDE stands for and what it is used for. IDE stands for Integrated Development Environment, which is a software application that provides comprehensive facilities to computer programmers for software development. Once you make this understanding, we can look into each option.

A. Putting a control on the form: This task has multiple ways to accomplish. For example, you can drag and drop a control from the toolbox to the form, or you can right-click on the form and select "Add Control" from the menu.

B. Running the program: This task also has multiple ways to accomplish. You can use the "Start" button on the toolbar, or you can press the F5 key on the keyboard.

C. Activating the property window for a control: This task also has multiple ways to accomplish. You can right-click on the control and select "Properties" from the menu, or you can select the control and press F4 on the keyboard.

D. Both a and b: This option is incorrect because it only includes two of the tasks that have multiple ways to accomplish. Option E includes all of the tasks.

E. All of the above: This option is correct because all three tasks - putting a control on the form, running the program, and activating the property window for a control - have multiple ways to accomplish in an IDE.

Therefore, the answer is: E. All of the above.

Multiple choice .net
  1. Adding forms to the project

  2. Adding controls to the form

  3. Adding event procedures to the form

  4. Both a and b.

  5. All of the above.

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

To solve this question, the user needs to understand the purpose of a code editor and its role in programming.

A code editor is a software application or a part of an integrated development environment (IDE) that allows programmers to write and edit source code. It provides a user-friendly interface for writing, modifying, and organizing code.

Now, let's go through each option and explain what it represents:

A. Adding forms to the project: This option is not accomplished in the code editor. Adding forms to a project typically involves using a visual interface or design view to create and customize forms.

B. Adding controls to the form: This option is accomplished in the code editor. Once a form is created, the programmer can use the code editor to add controls (such as buttons, textboxes, etc.) to the form and specify their properties and behaviors through code.

C. Adding event procedures to the form: This option is accomplished in the code editor. Event procedures define the code that should be executed when a specific event occurs, such as a button click or a form load. The programmer can write and edit these event procedures in the code editor.

D. Both a and b: This option is incorrect. Adding forms to a project is not accomplished in the code editor.

E. All of the above: This option is incorrect. Adding forms to a project is not accomplished in the code editor.

Based on the explanations above, the correct answer is:

C. Adding event procedures to the form.

Multiple choice .net
  1. They are pre-built.

  2. They are graphical objects.

  3. New versions of the classes must be created with each project.

  4. Buttons can be created with the drag and drop method.

  5. All of the above are true.

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

To solve this question, you need to have an understanding of forms and controls in Visual Basic.

Now let's go through each option and explain whether it is true or not:

A. They are pre-built: This option is true. Forms and controls in Visual Basic are pre-built objects that can be used to create a user interface for an application. These objects are already available in the Visual Basic environment and can be easily added to a project.

B. They are graphical objects: This option is true. Forms and controls in Visual Basic are graphical objects that can be visually designed and manipulated. They can be used to display information, receive user input, and perform various actions.

C. New versions of the classes must be created with each project: This option is not true. In Visual Basic, forms and controls are defined as classes, but you do not need to create new versions of these classes with each project. Instead, you can reuse the existing classes and customize them as needed.

D. Buttons can be created with the drag and drop method: This option is true. In Visual Basic, buttons (which are a type of control) can be easily created by dragging and dropping a button control from the toolbox onto a form. This allows for a simple and intuitive way of adding buttons to a user interface.

Based on the explanations above, the correct answer is:

C. New versions of the classes must be created with each project.

Multiple choice .net
  1. Control objects

  2. ASP.NET

  3. ADO.NET

  4. Both a and b.

  5. All of the above.

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

Visual Basic objects are instances of classes that are defined in the Visual Basic programming language. They can be used to represent anything from a simple control on a form to a complex data access object.

Control objects are a type of Visual Basic object that represents a control on a form. Controls are the graphical elements that users interact with, such as buttons, text boxes, and labels.

ASP.NET is a web development framework that uses Visual Basic objects to create dynamic web pages.

ADO.NET is a data access framework that uses Visual Basic objects to access data from databases.

Therefore, the answer to the question is E. All of the above. Control objects, ASP.NET, and ADO.NET are all examples of Visual Basic objects.

Here is a table that summarizes the different types of Visual Basic objects:

Type of object Description
Control object Represents a control on a form
ASP.NET object Represents a web page or web service
ADO.NET object Represents a data source
Other objects There are many other types of Visual Basic objects, such as data structures, mathematical objects, and string objects.
Multiple choice .net
  1. Show

  2. BackColor

  3. Font

  4. ForeColor

  5. Name

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

Common control properties include BackColor, Font, ForeColor, and Name. 'Show' is typically a method (like Show()), not a property. The visibility property is usually called 'Visible'.

Multiple choice .net
  1. Hide

  2. Show

  3. Visible

  4. Enabled

  5. Cursor

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

To determine whether a control is displayed to the user, the user needs to know the property that controls visibility of the control.

Now, let's go through each option and explain why it is right or wrong:

A. Hide: This property is used to hide a control that is visible on the screen. This option does not determine whether a control is displayed to the user.

B. Show: This property is used to make a hidden control visible on the screen. It does not determine whether a control is displayed to the user.

C. Visible: This property is used to determine whether a control is displayed on the screen. If the Visible property is set to true, then the control is displayed. If it is set to false, then the control is hidden. This option is the correct answer.

D. Enabled: The Enabled property determines whether a control can be interacted with by the user. It does not determine whether a control is displayed to the user.

E. Cursor: The Cursor property determines the appearance of the mouse cursor when it is over the control. It does not determine whether a control is displayed to the user.

The Answer is: C

Multiple choice .net
  1. programmatically through the click event.

  2. by clicking the button with the mouse.

  3. with the form’s DefaultButton property.

  4. Both a and b.

  5. All of the above.

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

To answer this question, the user needs to have knowledge about the ways to activate a Button control in a Windows Forms application.

Option A is correct. A Button control can be activated programmatically by calling its Click event.

Option B is correct. A Button control can be activated by clicking on it with the mouse.

Option C is correct. A Button control can be activated by setting the form's DefaultButton property to the Button control that should be activated when the user presses the Enter key.

Therefore, option D is correct since both option A and B are correct.

Option E is incorrect since it is not necessary to use all three methods to activate a Button control.

Therefore, the answer is: D.

Multiple choice .net
  1. selecting the object and event from the code editor window’s drop-down boxes.

  2. typing the code in the code editor window.

  3. by double clicking the control.

  4. Both a and b.

  5. All of the above.

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

In Visual Basic, a click event procedure for a label control can be created by any of the following methods:

A. Selecting the object and event from the code editor window's drop-down boxes. B. Typing the code in the code editor window. C. Double-clicking the control.

Therefore, the correct answer is E, all of the above.

Multiple choice .net
  1. Form

  2. Button

  3. TextBox

  4. Label

  5. Timer

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

The Tick event is specific to the Timer control. It fires at regular intervals specified by the Interval property. Forms, Buttons, TextBoxes, and Labels do not have a Tick event.