Exam 3: Using Gui Objects and the Visual Studio Ide

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

What are Label s and how do you use them?

Free
(Essay)
4.8/5
(33)
Correct Answer:
Verified

Label s are controls that you use to display text to communicate with an application's user. Just like a Button , you can drag a Label onto a Form . By default, the first Label you drag onto a Form is named label1 . You can change its Text property to display any string of text; depending on the amount of text you enter, you might need to change the size of the Label by dragging its resizing handles or altering its Size property. If you want to create multiple lines of text on a Label , use the arrow to the right of the Text property to open an editor and type the needed text in separate lines.

The environment the user sees is a program's ____.

Free
(Multiple Choice)
5.0/5
(41)
Correct Answer:
Verified

A

Name and describe some of the properties of Button s.

Free
(Essay)
4.9/5
(26)
Correct Answer:
Verified

The following table gives some selected properties of Button s:
Property Name   Description
BackColor Gets or sets the background color for the control
Enabled Gets or sets whether the control is enabled
Font Gets or sets the current font for the control
ForeColor Gets or sets the foreground color of the control
Name Gets or sets the name of the control
Size Gets or sets the size of the control
Text Gets or sets the text associated with the control
Visible Gets or sets a value indicating whether the control is visible

A ____ is a control that is used to display text such as a prompt or a result of some computation.

(Multiple Choice)
4.8/5
(47)

The property names generally appear in alphabetical order in the Properties window. A notable exception is the ____ entry.

(Multiple Choice)
4.9/5
(32)

____ are controls through which a user can enter input data in a GUI application.

(Multiple Choice)
4.9/5
(36)

If a Button 's name is reportButton , then the default name of its Click() method is ____.

(Multiple Choice)
4.8/5
(37)
Match each item with a statement below:
Provides lists of controls that can be dragged onto a Form so that you can develop programs visually
Form Designer
Lies horizontally across the top of the IDE window, and includes submenus that list additional options
click event
An icon that appears beside a list or a section of code and that can be expanded or condensed
Form s
Correct Answer:
Verified
Premises:
Responses:
Provides lists of controls that can be dragged onto a Form so that you can develop programs visually
Form Designer
Lies horizontally across the top of the IDE window, and includes submenus that list additional options
click event
An icon that appears beside a list or a section of code and that can be expanded or condensed
Form s
A Form property that gets or sets the button on the form that is clicked when the user presses the Enter key
AcceptButton
The event generated when a user clicks a control in a GUI program
node
The area where you design applications visually
focus
A control that has this can receive keyboard input
access specifier
GUI objects that provide an interface for collecting, displaying, and delivering information
menu bar
A keyword in a method header (for example, the keyword private ) that dictates which classes can use the method
Toolbox tab
(Matching)
4.8/5
(38)

Form s almost always include ____, which are devices such as labels, text boxes, and buttons that users can manipulate to interact with a program.

(Multiple Choice)
4.9/5
(37)

Professional programmers usually do not retain the default names for Form s and controls.

(True/False)
5.0/5
(26)

You are not required to create a Click() method for a Button .

(True/False)
5.0/5
(32)

After you have dragged a Button onto a Form , you can ____________________ it to create a method that executes when the user clicks the button.

(Short Answer)
4.8/5
(38)

If you make a change to a program and try to rerun it, you get an error message that starts with "Could not copy...". The solution is to ____ and then try again.

(Multiple Choice)
4.9/5
(38)

When opened, the ____________________ provides lists of controls you can drag onto a Form so that you can develop programs visually, using a mouse.

(Short Answer)
4.9/5
(41)

When deciding which interface to use, pick the ____ interface if you want your application to look snazzy.

(Multiple Choice)
5.0/5
(43)

____ are rectangular GUI objects that provide an interface for collecting, displaying, and delivering information.

(Multiple Choice)
4.8/5
(39)

How do you delete an unwanted event-handling method?

(Essay)
4.9/5
(37)

If you change a Form 's Name , you will notice differences in the visual design.

(True/False)
4.9/5
(39)

When you create a Windows Forms project, Visual C# adds a form to the project and calls it ____.

(Multiple Choice)
4.9/5
(38)

What are TextBox es and how do you use them?

(Essay)
4.8/5
(41)
Showing 1 - 20 of 42
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)