we provide Breathing Microsoft mta 98 361 practice which are the best for clearing mta 98 361 test, and to get certified by Microsoft Microsoft MTA Software Development Fundamentals. The software development fundamentals mta exam 98 361 Questions & Answers covers all the knowledge points of the real exam 98 361 exam. Crack your Microsoft mta 98 361 Exam with latest dumps, guaranteed!

Q9. You have developed a Windows Forms application that stockbrokers will use. The stockbrokers need to view data for multiple stocks at the same time. You need to change the display and behavior of a Windows Form so that it can contain multiple child windows. What should you do? 

A. Set the IsMdiChild property of the form. 

B. Set the MdiParent property for all the child windows. 

C. Set the MdiChild property of the form. 

D. Set the IsMdiContainer property of the form to true. 

Answer:


Q10. You are developing an application that will be run from the command line. Which of the following methods would you use for getting input from to the command line? 

A. File.Read 

B. File.Write 

C. Console.Read 

D. Console.Write 

Answer:


Q11. You are C# developer who is developing a Windows application. You develop a new class that must be accessible to all the code packaged in the same assembly. Even the classes that are in the same assembly but do not directly or indirectly inherit from this class must be able to access the code. Any code outside the assembly should not be able to access the new class. Which access modifier should you use to declare the new class? 

A. public 

B. protected 

C. private 

D. internal 

Answer:


Q12. You are assisting your colleague in solving a compiler error that his code is throwing. Following is the problematic portion of his code: 

try 

bool success = ApplyPicardoRotation(100, 0); 

// additional code lines here 

catch(DivideByZeroException dbze) 

//exception handling code 

catch(NotFiniteNumberException nfne) 

//exception handling code 

catch(ArithmeticException ae) 

//exception handling code 

catch(OverflowException oe) 

//exception handling code 

To remove the compilation error, which of the following ways should you suggest to rearrange the code? 

A. try 

bool success = ApplyPicardoRotation(100, 0); 

// additional code lines here 

catch(DivideByZeroException dbze) 

//exception handling code 

catch(ArithmeticException ae) 

//exception handling code 

catch(OverflowException oe) 

//exception handling code 

B. try 

bool success = ApplyPicardoRotation(100, 0); 

// additional code lines here 

catch(DivideByZeroException dbze) 

//exception handling code 

catch(Exception e) 

//exception handling code 

catch(OverflowException oe) 

//exception handling code 

C. try 

bool success = ApplyPicardoRotation(100, 0); 

// additional code lines here 

catch(DivideByZeroException dbze) 

//exception handling code 

catch(NotFiniteNumberException nfne) 

//exception handling code 

catch(OverflowException oe) 

//exception handling code 

catch(ArithmeticException ae) 

//exception handling code 

D. try 

bool success = ApplyPicardoRotation(100, 0); 

// additional code lines here 

catch(DivideByZeroException dbze) 

//exception handling code 

catch(NotFiniteNumberException nfne) 

//exception handling code 

catch(Exception e) 

//exception handling code 

catch(ArithmeticException ae) 

//exception handling code 

Answer:


Q13. You are developing a data-entry application that receives user input in multiple data fields. The application allows users to enter the data either by using a keyboard or by using a bar-code scanner. When a code is entered, a picture of the product appears onscreen. The application also needs to log its operation to a console window. Occasionally, the operator will look at the console window to monitor communication with the scanner. 

What project should you choose to create such an application? 

A. a console application project 

B. a console application project with the Output type set to Windows Application 

C. a Windows Forms application project 

D. a Windows Forms application project with the Output type set to Console Application 

Answer:


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


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


Q16. You are developing a Windows forms application used by a government agency. You need to develop a distinct user interface element that accepts user input. This user interface will be reused across several other applications in the organization. None of the controls in the Visual Studio toolbox meets your requirements; you need to develop all your code in house. Which of the following actions should you take? 

A. Develop a Windows Forms application for the user interface. 

B. Develop a custom control for the user interface. 

C. Buy the control from a third-party. 

D. Develop a console application for the user interface. 

Answer: