An assembly can be used in ____ application at a time.
A -
more than one
B -
1
C -
0
D -
2
2-
____ are typically used to display used to display hyperlinks
A -
Rich TextBox
B -
TextBox
C -
Label
D -
LinkLabels
3-
____ are components that are #
A -
CheckBoxes
B -
LinkLabels
C -
RadioButtons
D -
Buttons
4-
Array can store ____ types of values at the same time.
A -
3
B -
many different
C -
2
D -
1
5-
ArrayLists store ____ to object #
A -
strings
B -
references
C -
values
D -
objects
6-
Array X and Y have integer data types. If these arrays are initialized properly, what is
wrong with the following statement?
for (int var = 0; var<0; ++ var){
if(x[var] > 100) break;
if(x[var] < 0) continue;
x[var+1] = x[var] + y[var];
}
A -
The prefix operator is not allowed in the iteration part of a for statement
B -
The variable var cannot br declared in the initiazation part of a for statement
C -
It is illegal to have a break and continue statements within the same for statement
D -
There is nothing wrong with the statement
7-
Assumes that you want to change the #
A -
MyForm.BackColor(Color.Red);
B -
MyForm.BackColor = System.Drawing.Color.Red;
C -
MyForm.BackColor = Red;
D -
MyForm.BackColor = "Red";
8-
Assuming that
public class B : A
{
public B (int i) :base(i) { }
}
compiles and runs correctly, what can we conclude about the constructors in the class A?
A -
One constructor takes arguments of the type int
B -
One constructor take an argument of type i
C -
There is only a default constructor
D -
All over above
9-
Boolean data type in C# is:
A -
binary type
B -
logical type
C -
a value type
D -
a reference type
10-
Basic input and output operations are performed in C# using the methods of the ____
class in the ____ namespace.