最新的Microsoft MTA Software Development Fundamentals - 98-361免費考試真題
問題1
Hotspot Question
For each of the following statements, select Yes if the statement is true.
Otherwise, select No. Each correct selection is worth one point.

For each of the following statements, select Yes if the statement is true.
Otherwise, select No. Each correct selection is worth one point.

正確答案:

問題2
You are creating an application for a priority help desk center.
The most recent call must be handled first.
Which data structure should you use?
The most recent call must be handled first.
Which data structure should you use?
正確答案: B
說明:(僅 VCESoft 成員可見)
問題3
Drag and Drop Question
You are developing an application that displays a list of race results.
The race results are stored in the following class:

The code that manages the list is as follows:

You need to implement the AddRace method.
Match the code segment to its location. (To answer, drag the appropriate code segment from the column on the left to its location on the right. Each code segment may be used once, more than once, or not at all. Each correct match is worth one point.)

You are developing an application that displays a list of race results.
The race results are stored in the following class:

The code that manages the list is as follows:

You need to implement the AddRace method.
Match the code segment to its location. (To answer, drag the appropriate code segment from the column on the left to its location on the right. Each code segment may be used once, more than once, or not at all. Each correct match is worth one point.)

正確答案:

問題4
You are developing a C# program.
You write the following code:
- int x = 10
- int y = ++x
- int x = y++;
What will be the variable z after all the above statements are executed?
You write the following code:
- int x = 10
- int y = ++x
- int x = y++;
What will be the variable z after all the above statements are executed?
正確答案: B
問題5
Hotspot Question
For each of the following statements, select Yes if the statement is true.
Otherwise, select No. Each correct selection is worth one point.

For each of the following statements, select Yes if the statement is true.
Otherwise, select No. Each correct selection is worth one point.

正確答案:

問題6
You are developing a sorting algorithm that uses partitioning and comparison to arrange an array of numbers in the correct order.
You write a method that partitions the array so that the items less than pivot go to the left side, whereas the items greater than pivot go to the right side.
The partitioning method has the following signature:
- static int Partition (int[] numbers, int left,
- int right, int pivotIndex)
Which of the following algorithms should you use to sort the array using the Partition method?
You write a method that partitions the array so that the items less than pivot go to the left side, whereas the items greater than pivot go to the right side.
The partitioning method has the following signature:
- static int Partition (int[] numbers, int left,
- int right, int pivotIndex)
Which of the following algorithms should you use to sort the array using the Partition method?
正確答案: B
問題7
You are writing a C# program and need to select an appropriate repetition structure for your requirement.
You need to make sure that the test for the termination condition is performed at the bottom of the loop rather than at the top.
Which repletion structure should you use?
You need to make sure that the test for the termination condition is performed at the bottom of the loop rather than at the top.
Which repletion structure should you use?
正確答案: C
問題8
Which of the following must exist to inherit attributes from a particular class?
正確答案: B
說明:(僅 VCESoft 成員可見)
問題9
This question requires that you evaluate the underlined text to determine if it is correct.
A piece of text that is 4096 bytes or smaller and is stored on and retrieved from the client computer to maintain state is known as a ViewState.
Select the correct answer if the underlined text does not make the statement correct.
Select "No change is needed'' if the underlined text makes the statement correct.
A piece of text that is 4096 bytes or smaller and is stored on and retrieved from the client computer to maintain state is known as a ViewState.
Select the correct answer if the underlined text does not make the statement correct.
Select "No change is needed'' if the underlined text makes the statement correct.
正確答案: B
問題10
You need to create a stored procedure that passes in a person's name and age.
Which statement should you use to create the stored procedure?

Which statement should you use to create the stored procedure?

正確答案: A
說明:(僅 VCESoft 成員可見)
問題11
You are writing code for a class named Book.
You should be able to get a list of all books sorted by the author's last name.
You need to write code to define this behavior of a class.
Which of the following class elements should you use?
You should be able to get a list of all books sorted by the author's last name.
You need to write code to define this behavior of a class.
Which of the following class elements should you use?
正確答案: A
問題12
You are studying various sorting algorithms to understand, analyze, and compare the various sorting techniques.
Which of the following techniques should you utilize when using the BubbleSort algorithm?
Which of the following techniques should you utilize when using the BubbleSort algorithm?
正確答案: D

