1-
|
Which statement is not correct?
|
|
A -
|
Menu items can display ComboBoxes, checkmarks and access #
|
|
B -
|
The ListBox control allows only sigle selection
|
|
C -
|
A TabPage can act as a container for RadioButtons
|
|
D -
|
A ComboBox control typically has a drop-down list
|
2-
|
Which statement is not correct?
|
|
A -
|
String method ToUpper creates a new string with all of its letters capitalized
|
|
B -
|
Method Equals and the equality operator work the same for strings
|
|
C -
|
Method Trim removes all whitespace at the beginning and the end of a string
|
|
D -
|
A string can be modified it is created
|
3-
|
Which of the following code examples will add a #
|
|
A -
|
Button1.Click += ClickHandler:
|
|
B -
|
AddHandler(Button1.Click.ClickHandler):
|
|
C -
|
Button1.Click ++ ClickHandler:
|
|
D -
|
ClickHandler += Button1.Click:
|
4-
|
Which statement is not correct?
|
|
A -
|
A Form is a container
|
|
B -
|
Button presses generate events
|
|
C -
|
CheckBoxes are used to represent a set of mutually execlusive options
|
|
D -
|
All Forms, components and control are classes
|
5-
|
Which is the first level of compilation in #
|
|
A -
|
Common Intermediate Language
|
|
B -
|
Platform-specific code
|
|
C -
|
CLR
|
|
D -
|
IL
|
6-
|
Which of the following statement is not correct?
|
|
A -
|
None of the above
|
|
B -
|
If you do not want a control to receive focus when user uses the Tab key, you can set the controls TabStop property to true
|
|
C -
|
The TabIndex property of a control is an integer value that specifies the order in which control receive focus when the user presses the Tab key
|
|
D -
|
The TabIndex property is effective only when the TabStop property of the control is set to true
|
7-
|
Which of the following is the correct #
|
|
A -
|
objThis = new ThisObject():
|
|
B -
|
ThisObject = new objiThis():
|
|
C -
|
objThis = new ThisObject:
|
|
D -
|
objThis = System.CreateObject(ThisObject):
|
8-
|
Which of the following statements will has a syntax error?
|
|
A -
|
All of the other answer
|
|
B -
|
int mintCurrent"
|
|
C -
|
string strName = new string():
|
|
D -
|
String mstrCurrent
|
9-
|
Which statement is correct?
|
|
A -
|
The DateTimePicker control and the MonthCalendar control allows the user to #
|
|
B -
|
The MonthCalendar control allows you to select a date and time, and the Date #
|
|
C -
|
The DateTimePicker control allows you to select a date and time, and the #
|
|
D -
|
None of the above
|
10-
|
Which of the following expressions will yield the string "John Doe", where name1 =
"John Blake" and name2 = "Janet Doe"?
|
|
A -
|
name1.Substring(0,5) + name2.Substring(6,3)
|
|
B -
|
name1.Substring(0,5) + name2.Substring(6,3) or name1.Substring(0,5)&name2.Substring(6,3)
|
|
C -
|
name1.Substring(0,4) + name2.Substring(0,3)
|
|
D -
|
None of the other answers
|