Chapter 2 quiz 3 Flashcards
Exam Study
When a(n) __________ appears around an object in the Visual Studio Designer, it indicates that the object is selected and ready for editing
bounding box
Which of the following statements would display the number 25 in a Label control named outputLabel?
outputLabel.Text = “25”;
Which of the following statements would clear the text displayed in a Label control named cityLabel?
cityLabel.Text = “”;
Assuming an application has a PictureBox control named profilePictureBox, which of the following assignment statements will hide the PictureBox from the user at runtime?
profilePictureBox.Visible = false;
Once you have created a PictureBox control, you use its __________ property to specify the image it will display
Image
__________ is a term that refers to an image’s width to height ratio
Aspect ratio
__________ are short notes placed in a program’s source code that explain how the program works.
Comments
A(n) __________ appears on one line in a program and begins with two forward slashes ( // ).
line comment
Which of the following are used by professional programmers to embed extensive documentation in a program’s source code?
documentation comments
The __________ property can be used to change a form’s width and height
Size
A control’s __________ property identifies the control in the application’s code and in the Visual Studio environment
Name
A file that contains program code is called a __________.
source code file
Just as a period marks the end of a statement, a(n) __________ marks the end of a programming statement in C#.
semicolon
When you have a project open in Visual Studio, the time during which you build the GUI and write the application’s code is referred to as __________.
design time