c# Season 2 Chapter 10 part 1
To declare memory for 4 exam scores that range in value from 0 to 100, the following declaration could be made ____.
int [ ] examScore = new examScore[4];
The index is also sometimes referred to as the ____ of the array.
subscript
If you try to access the array using a negative index value, ____.
a runtime error will be generated
A limitation of the foreach loop structure when used with arrays is ____
it offers read only access
BinarySearch( ) is ____.
a method in the Array class
Which of the following could be a method heading for a member method that returns an array?
int [ ] doSomething( )
If an array is to be sent to a method, which of the following is a valid heading for a method?
void DisplayOutput(double [ ] anArray)
Which of the following is a valid example of calling a method and sending it an array argument?
DisplayArrayContents(anArray);
What happens when you assign one array to another using the assignment operator?
Both arrays reference the same memory locations.
One of the special properties in the Array class is Length. It returns ____.
an int representing the size the array was dimensioned
When two or more arrays have a relationship such that you are able to use the same subscript or index to refer to related
elements in the arrays, you have ____ arrays
parallel
In order to determine the position of one or more characters inside a string argument, use the ____ method of the string
class.
IndexOf( )
The string method that retrieves part of a string from a string argument is ____.
Substring( )
C# has two types of string literals. The @-quoted string literals are called ____.
verbatim string literal
How does a Windows application differ from a console-based application?
Windows applications sit in a process loop, once executed, waiting for an event to execute.
A(n) ____ is a notification from the operating system that an action, such as the user clicking the mouse or pressing a key,
has occurred.
event
The front end portion of the program that the user sees and responds to is called the ____.
interface
What are objects, such as buttons, menus, and labels, that can display and respond to user interaction, called?
controls
Most of the classes used to develop Windows-based applications are organized in which namespace?
System.Windows.Forms
The class heading that is generated by Visual Studio for Windows applications includes a colon (:) following the class
name. The identifier following the colon is the ____.
base class
A derived class ____ methods of another class.
inherits
Which property is used to set or get the caption of the title bar for Windows applications?
Text
Which of the following is an issue that you should consider and incorporate into your interfaces?
be consistent with placement of items
The top-level class used as a container to hold other controls for an application is called a ____.
Form
In Visual Studio, the ____ window is used to view and change the design time properties and events of an object.
Properties