70-536VB MCTS Braindump
ExamSoon 70-536VB Exams
Microsoft TS:MS.NET Framework 2.0-Application Develop Foundation
O rder : 70-536VB Exam
Practice Exam: 70-536VB
Exam Number/Code: 70-536VB
Exam Name: TS:MS.NET Framework 2.0-Application Develop Foundation
Questions and Answers: 99 Q&As
Free 70-536VB Braindumps
Exam : Microsoft 70-536VB
Title : TS:MS.NET Framework 2.0-Application Develop Foundation
1. You are developing an application to assist the user in conducting electronic surveys. The survey consists of 25
true-or-false questions.
You need to perform the following tasks:
·Initialize each answer to true.
·Minimize the amount of memory used by each survey.
Which storage option should you choose?
A. Dim answers As New BitVector32(1)
B. Dim answers As New BitVector32(-1)
C. Dim answers As New BitArray(1)
D. Dim answers As New BitArray(-1)
Answer: B
2. You are writing a custom dictionary. The custom-dictionary class is named MyDictionary.
You need to ensure that the dictionary is type safe.
Which code segment should you use?
A. Class MyDictionary
Implements Dictionary(Of String, String)
B. Class MyDictionary
Inherits HashTable
C. Class MyDictionary
Implements IDictionary
D. Class MyDictionary
...
End Class
Dim t As New Dictionary(Of String, String)
Dim dict As MyDictionary = CType(t, MyDictionary)
Answer: A
3. You are developing an application that stores data about your company's sales and technical support teams.
You need to ensure that the name and contact information for each person is available as a single collection when a
user queries details about a specific team. You also need to ensure that the data collection guarantees type safety.
Which code segment should you use?
A. Dim team As Hashtable = New Hashtable()
team.Add(1, "Hance")
team.Add(2, "Jim")
team.Add(3, "Hanif")
team.Add(4, "Kerim")
team.Add(5, "Alex")
team.Add(6, "Mark")
team.Add(7, "Roger")
team.Add(8, "Tommy")
B. Dim team As ArrayList = New ArrayList()
team.Add("1, Hance")
team.Add("2, Jim")
team.Add("3, Hanif")
team.Add("4