Nothing Special   »   [go: up one dir, main page]

Reviewer Chapter 1: A (N) - Is The Thin Dotted Line That Encloses An Object in The Designer. Bounding Box

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Reviewer Chapter 1

1. A(n) _____ is the thin dotted line that encloses an object in the Designer.
bounding box.
2. The small squares that appear on the right edge, bottom edge, and lower-right corner of a form's
bounding box are called ________.
3. _______ is the name of the blank form that Visual Studio initially creates in a new project.
4. The ______ property holds the text that is displayed on the face of the button.
5. A file that contains the program code is called a(n) ________.
6. A namespace is container that holds _______.
7. A(n) _______ is a method that executes when a specific event takes place while an application is
running.
8. The statement MessageBox.Show("Hello World"); is an example of a(n) ______.
In programming we use the term string to mean ______.
9. In programming we use the term string to mean ______.
10. A(n) _______ marks the end of a programming statement in C#.
11. A piece of data that is written in a program's code is a(n) ________.
12. The time during which you build the GUI and write the application's code is referred to as _______.
13. The time during which an application is executing is referred to as _______.
14. When you want to display text on a form, you use a ______ control.
15. The _______ property allows you to set the font, font style, and size of the control's text.
16. A ______ property can be set to one of two possible values: True or False.
17. Label controls have a(n) ______ property that controls the way they can be resized.
18. The _______ property can be used to change the text's alignment in the label.
19. In code, you use a(n) _____ to store the value in a control's property.
20. The equal sign (=) is known as the _______.
21. The standard notation for referring to a control's property in code is _______.
22. ______ is a feature of Visual Studio that provides automatic code completion as you write programming
statements.
23. You can use a(n) ______ control to display a graphic image on a form.
24. Once you have created a PictureBox control, you can use its ______ property to specify the image that it
will display.
25. The PictureBox control's ______ property specifies how the control's image is to be displayed.
26. _______ is the image's width to height ratio.
27. Most controls have a _______ property that determines whether the control is visible on the form at
run time.
28. A(n) _______ appears on one line in a program.
29. A ______ can occupy multiple consecutive lines in a program.
30. Programmers commonly use blank lines and indentations in their code to create a sense of ______.
31. To close an application's form in code, you use the statement _______.
32. Changing an object's Text property also changes the object's name.
33. When a form is created, its Text property is initially set to the same value as the form's name.
34. The form's title is displayed in the bar along the top of a form.
35. C# source code files always end with the .cs extension.
36. You add your own code to the Program.cs file as you develop an application.
37. C# code is organized as methods, which are contained inside classes, which are contained inside
namespaces.
38. In C# code, each opening brace must have a corresponding closing brace at some point later in the
program.
39. When you double-click a control in the Designer, Visual Studio not only crates an empty event handler,
but it also writes some code that you don't see, elsewhere in the project that is necessary for the event
handler to properly function.
40. A Label control's Text property is initially set to the same value as the Label control's name.
41. The Visual Studio code editor examines each statement as you type it, and reports any syntax errors that
are found.
42. In C# there are three types of comments: line comments, block comments, and documentation
comments.
43. When you write the values true or false in code, they must be written in all lowercase letters.
44. The Visible property is a Binary property, which means it can be set only to the values 1 and 0.
45. Buttons are the only controls that can respond to Click events.

Answer:

1. Bounding box
2. Sizing handles
3. Form1
4. Text
5. source code file
6. classes
7. event handler
8. method call
9. string of characters
10. semicolon
11. literal
12. design time
13. run time
14. label
15. font
16. Boolean
17. Autosize
18. Textalign
19. assignment statement
20. assignment operator
21. ControlName.PropertyName
22. IntelliSense
23. Picturebox
24. Image
25. Sizemode
26. Aspect ratio
27. Visible
28. line comment
29. block comment
30. visual orientation
31. this.Close();
32. false
33. true
34. true
35. true
36. false
37. true
38. true
39. true
40. true
41. true
42. true
43. true
44. false
45. false

You might also like