98-361 Guide

mta exam 98 361 : Oct 2021 Edition

Your success in Microsoft mta exam 98 361 is our sole target and we develop all our software development fundamentals mta exam 98 361 braindumps in a way that facilitates the attainment of this target. Not only is our exam 98 361 study material the best you can find, it is also the most detailed and the most updated. mta 98 361 Practice Exams for Microsoft MTA mta 98 361 are written to the highest standards of technical accuracy.

Q31. In your application, you are using a stack data structure to manipulate information. You need to find which data item will be processed next, but you don’t want to actually process that data item yet. Which of the following queue operations will you use? A. pop 

B. push 

C. peek 

D. contains 

Answer:


Q32. You are writing a C# program that iterates through a collection such as arrays and lists. You need to make sure that you process each item in the collection once. You also need to ensure that your code is easy to read and debug. Which of the following C# statements provide the best solution for this requirement? 

A. while 

B. for 

C. foreach 

D. do-while 

Answer:


Q33. You have completed developing a new software application. To ensure the quality of the software, you need to verify that each method or function has proper test cases available. Which testing approach should you use? 

A. white-box testing 

B. black-box testing 

C. alpha testing 

D. beta testing 

Answer:


Q34. You need to start a Windows service named ProcService from the command line. Which command should you use? 

A. net start ProcService 

B. net pause ProcService 

C. net continue ProcService 

D. net stop ProcService 

Answer:


Q35. You are developing a new Windows service application. The application contains three different Windows services. Before these services can be used, they must be installed in the Windows service database. What action should you take to ensure that your services can be installed by a Windows installer tool? 

A. Copy the service assembly to the global assembly cache. 

B. Add an event log installer to the Windows service project. 

C. Inherit the service from a ServiceBase class. 

D. Add a service installer to the Windows service project. 

Answer:


Q36. You need to gain a better understanding of the solution before writing the program. You decide to develop an algorithm that lists all necessary steps to perform an operation in the correct order. Any technique that you use should minimize complexity and ambiguity. Which of the following techniques should you use? 

A. flowchart 

B. decision table 

C. C# program 

D. A paragraph in English 

Answer:


Q37. 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:


Q38. 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:


Q39. You are developing a new Windows service application. The application contains three different Windows services. Each service will have a different start type. Which of the following classes will help you perform the installation tasks specific to each service? You must suggest a solution that requires the least coding effort. 

A. System.ServiceProcess.ServiceProcessInstaller 

B. System.ServiceProcess.ServiceInstaller class 

C. System.Configuration.Installer class 

D. System.Configuration.Installer.ComponentInstaller class 

Answer:


Q40. You are developing a C# program. You write the following code: 

int i = 6; 

do 

if (i == 3) 

break; 

Console.WriteLine("The value of i = {0}", i); 

i++; 

while (i <= 5); 

How many times will the control enter the while loop? 

A. 0 

B. 1 

C. 2 

D. 3 

Answer:


To know more about the 98-361, click here.

Tagged as : Microsoft 98-361 Dumps, Download 98-361 pdf, 98-361 VCE, 98-361 pass4sure, examcollection 98-361