TS:MS.NET Framework 2.0-Application Develop Foundation:70-536VB
科目编号:70-536VB
科目名称:TS:MS.NET Framework 2.0-Application Develop Foundation
描述:
70-536VB 考试是 Microsoft 公司的 TS:MS.NET Framework 2.0-Application Develop Foundation 认证考试官方代号,kaoccna 的 70-536VB 权威考试题库软件是 Microsoft 认证厂商的授权产品,kaoccna 绝对保证顺利通过,否则承诺全额退款!
TS:MS.NET Framework 2.0-Application Develop Foundation 认证作为全球IT领域专家 Microsoft 热门认证之一,是许多大中 IT 企业选择人才标准的必备条件。 如果你正在准备 70-536VB 考试,为 Microsoft TS:MS.NET Framework 2.0-Application Develop Foundation认证做最后冲刺,又苦于没有绝对权威的考试真题模拟
mcsepass 实行"一次不过全额退款"承诺。如果您购买我们 70-536VB 的考题,只要不是首次通过,凭盖有 PROMETRIC 或 VUE 考试中心钢印的考试成绩单,我们将退还您购买 70-536VB 考题大师的全部费用,绝对保证您的利益不受到任何的损失。
- 科目: 70-536VB
- 原价:
¥ 507.00 - 现价: ¥ 358.00
kaoccna 的优势
70-536VB 试题的质量和价值
mcsepass 模拟测试题具有最高的专业技术含量,只供具有相关专业知识的专家和学者学习和研究之用。
100% 保证您通过 70-536VB 的考试
如果你使用 mcsepass 模拟测试,我们将保证你的第一次参加考试即取得成功,否则,我们将全额退款!
试用后再购买
mcsepass 提供每种产品免费测试。在您决定购买之前,请检测联接,可能存在的问题及试题质量和适用性。
kaoccna认证考试题库网专业提供 Microsoft 70-536VB 最新题库下载,完全覆盖 mcsepass 考试原题。
部分考题展示
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 working on a debug build of an application.
You need to find the line of code that caused an exception to be thrown.
Which property of the Exception class should you use to achieve this goal?
A. Data
B. Message
C. StackTrace
D. Source
Answer: C
3. You write the following code.
Public Delegate Sub FaxDocs(ByVal sender As Object, _
ByVal args as FaxArgs)
You need to create an event that will invoke FaxDocs.
Which code segment should you use?
A. Public Shared Event Fax As FaxDocs
B. Public Shared Event FaxDocs As FaxArgs
C. Public Class FaxArgs
Inherits EventArgs
Private coverPageInfo As String
Public Sub New(ByVal coverInfo As String)
Me.coverPageInfo = coverInfo
End Sub
Public ReadOnly Property CoverPageInformation As String
Get
Return Me.coverPageInfo
End Get
End Property
End Class
D. Public Class FaxArgs
Inherits EventArgs
Private coverPageInfo As String
Public ReadOnly Property CoverPageInformation As String
Get
Return Me.coverPageInfo
End Get
End Property
End Class
Answer: A
4. You are writing a method that returns an ArrayList named al.
You need to ensure that changes to the ArrayList are performed in a thread-safe manner.
Which code segment should you use?
A. Dim al As ArrayList = New ArrayList()
SyncLock al.SyncRoot
Return al
End SyncLock
B. Dim al As ArrayList = New ArrayList()
SyncLock al.SyncRoot.GetType()
Return al
End SyncLock
C. Dim al As ArrayList = New ArrayList()
Monitor.Enter(al)
Monitor.Exit(al)
Return al
D. Dim al As ArrayList = New ArrayList()
Dim sync_al as ArrayList = ArrayList.Synchronized(al)
Return sync_al
Answer: D
5. You need to write a multicast delegate that accepts a DateTime argument.
Which code segment should you use?
A. Public Delegate Function PowerDeviceOn( _
ByVal result As Boolean, _
ByVal autoPowerOff As?DateTime) _
As Integer
B. Public Delegate Function PowerDeviceOn( _
ByVal sender As Object, _
ByVal autoPowerOff As EventArgs) _
As Boolean
C. Public Delegate Sub PowerDeviceOn( _
ByVal autoPowerOff As DateTime)
D. Public Delegate Function PowerDeviceOn( _
ByVal autoPowerOff As DateTime) _
As Boolean
Answer: C
6. You are creating a class named Age.
You need to ensure that the Age class is written such that collections of Age objects can be sorted.
Which code segment should you use?
A. Public Class Age
Public Value As Integer
Public Function CompareTo(ByVal obj As Object) As Object
If TypeOf obj Is Age Then
Dim _age As Age = CType(obj, Age)
Return Value.CompareTo(obj)
End If
Throw New ArgumentException("object not an Age")
End Function
End Class
B. Public Class Age
Public Value As Integer
Public Function CompareTo(ByVal iValue As Integer) As Object
Try
Return Value.CompareTo(iValue)
Catch
Throw New ArgumentException ("object not an Age")
End Try
End Function
End Class
C. Public Class Age
Implements IComparable
Public Value As Integer
Public Function CompareTo(ByVal obj As Object) As Integer _
Implements IComparable.CompareTo
If TypeOf obj Is Age Then
Dim _age As Age = CType(obj, Age)
Return Value.CompareTo(_age.Value)
End If
Throw New ArgumentException("object not an Age")
End Function
End Class
D. Public Class Age
Implements IComparable
Public Value As Integer
Public Function CompareTo(ByVal obj As Object) As Integer _
Implements IComparable.CompareTo
Try
Return Value.CompareTo((CType(obj, Age)).Value)
Catch
Return -1
End Try
End Function
End Class
Answer: C
7. You are creating a class named Temperature. The Temperature class contains a public field named F. The public field F represents a temperature in degrees Fahrenheit.
You need to ensure that users can specify whether a string representation of a Temperature instance displays the Fahrenheit value or the equivalent Celsius value.
Which code segment should you use?
A. Public Class Temperature
Implements IFormattable
Public F As Integer
Public Function ToString(ByVal format As String, _
ByVal fp As IFormatProvider) As String _
Implements IFormattable.ToString
If (format = "F" Or format = Nothing) Then
Return F.ToString()
End If
If format = "C" Then
Return ((F - 32) / 1.8).ToString()
End If
Throw New FormatException("Invalid format string")
End Function
End Class
B. Public Class Temperature
Implements ICustomFormatter
Public F As Integer
Public Function Format(ByVal formatString As String, _
ByVal arg as object, ByVal fp As IFormatProvider) _
As String Implements ICustomFormatter.Format
If formatString = "C" Then
Return ((F - 32) / 1.8).ToString()
End If
If formatString = "F" Then
Return arg.ToString()
End If
Throw New FormatException("Invalid format string")
End Function
End Class
C. Public Class Temperature
Public F As Integer
Public Function ToString(ByVal format As String, _
ByVal fp As IFormatProvider) As String
If format = "C" Then
Return ((F - 32) / 1.8).ToString()
Else
Return Me.GetType().ToString()
End If
End Function
End Class
D. Public Class Temperature
Public F As Integer
Protected format As String
Public Overrides Function ToString() As String
If format = "C" Then
Return ((F - 32) / 1.8).ToString()
End If
Return F.ToString()
End Function
End Class
Answer: A
8. 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, Kerim")
team.Add("5, Alex")
team.Add("6, Mark")
team.Add("7, Roger")
team.Add("8, Tommy")
C. Dim team As New Dictionary(Of Integer, String)
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")
D. Dim team As String() = New String() { _
"1, Hance", _
"2, Jim", _
"3, Hanif", _
"4, Kerim", _
"5, Alex", _
"6, Mark", _
"7, Roger", _
"8, Tommy"}
Answer: C
9. 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
10. You are instantiating a variable to store only strings. The variable is named messageStore.
You need to ensure that string messages are read and processed in the order in which they are received.
Which code segment should you use?
A. Dim messageStore As New Stack(Of String)
messageStore.Push("This is a test message.")
B. Dim messageStore As New Stack()
messageStore.Push("This is a test message.")
C. Dim messageStore As New Queue()
messageStore.Enqueue("This is a test message.")
D. Dim messageStore As New Queue(Of String)
messageStore.Enqueue("This is a test message.")
Answer: D