aiotestking uk

98-361 Exam Questions - Online Test


98-361 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

Q1. You are planning to develop a new software system for your organization. You need to review the system’s technical blueprint. Which of the following participants is responsible for providing the technical blueprint? 

A. user interface designer 

B. developer 

C. architect 

D. technical writer 

Answer:

Q2. You need to update the Region fields for customers whose reference code is "TKY". The updated Region should be set to "Japan". Also, this change should affect only customers who live in Tokyo. Which of the following SQL statement should you use? 

A. UPDATE Customers SET Region = 'Japan' 

WHERE RefCode = 'TKY' AND City = 'TOKYO' 

B. UPDATE Customers SET Region = 'Tokyo' 

WHERE RefCode = 'TKY' AND City = 'Japan' 

C. UPDATE Customers SET Region = 'Tokyo' 

WHERE RefCode = 'TKY' 

D. UPDATE Customers SET Region = 'Japan' 

WHERE RefCode = 'TKY' 

Answer:

Q3. 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? 

A. method 

B. property 

C. event 

D. delegate 

Answer:

Q4. You are developing a C# program that needs to perform 5 iterations. You write the following code: 

01: int count = 0; 

02: while (count <= 5) 

03: { 

04: Console.WriteLine("The value of count = {0}", count); 

05: count++; 

06: } 

When you run the program, you notice that the loop does not iterate five times. What should you do to make sure that the loop is executed exactly five times? 

A. Change the code in line 01 to int count = 1; 

B. Change the code in line 02 to: while (count == 5) 

C. Change the code in line 02 to while (count >= 5) 

D. Change the code in line 05 to ++count; 

Answer:

Q5. You write the following code in your Web page: 

protected void Page_Load 

(object sender, EventArgs e) 

/* additional code here */ 

You expect this code to be executed in response to the Load event of the ASP.NET page. However, when you request the page, you notice that the method is not executed. What should you do to make sure that the Page_Load method is executed when the Load event of the Wep page is fired? 

A. Set the AutoEventWireup attribute of the @page directive to true. 

B. Set the AutoEventWireup attribute of the @page directive to false. 

C. Set the IsCallBack property of the page class to true. 

D. Set the IsPostBack property of the page class to true. 

Answer:

Q6. Suppose that you defined a class Scenario that defines functionality for running customized pivot transform on large data sets. You do not want the functionality of this class to be inherited into derived classes. What keyword should you use to define the Scenario class? 

A. sealed 

B. abstract 

C. private 

D. internal 

Answer:

Q7. You are developing a Windows Form with a multiple document interface (MDI). You need to write code that arranges the child windows vertically within the client region of the MDI parent form. Which of the following MdiLayout values should you pass to the LayoutMdi method? 

A. MdiLayout.TileVertical 

B. MdiLayout.Cascade 

C. MdiLayout.TileHorizontal 

D. MdiLayout.ArrangeIcons 

Answer:

Q8. In your application, you are using a queue data structure to manipulate information. You need to find whether a data item exists in the queue, but you don’t want to actually process that data item yet. Which of the following queue operations will you use? 

A. enqueue 

B. dequeue 

C. peek 

D. contains 

Answer:

Q9. You are writing a C# program. You write the following method: 

public static void TestSwitch(int op1, int op2, char opr) 

int result; 

switch (opr) 

case '+': 

result = op1 + op2; 

case '-': 

result = op1 - op2; 

case '*': 

result = op1 * op2; 

case '/': 

result = op1 / op2; 

default: 

Console.WriteLine("Unknown Operator"); 

return; 

Console.WriteLine("Result: {0}", result); 

return; 

However, when you compile this code, you get the following error message: 

Control cannot fall through from one case label to another 

How should you modify the code to make sure that it compiles successfully? 

A. After each case, add the following code line: break; 

B. After each case, add the following code line: continue; 

C. After each case, add the following code line: goto default; 

D. After each case, add the following code line: return; 

Answer:

Q10. 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? 

A. The while statement 

B. The for statement 

C. The foreach statement 

D. The do-while statement 

Answer: