How to pass Microsoft 98-361 Real Exam in 24 Hours [exam fees 17-32]

Downloadable of 98-361 dumps materials and discount pack for Microsoft certification for IT specialist, Real Success Guaranteed with Updated 98-361 pdf dumps vce Materials. 100% PASS Microsoft MTA Software Development Fundamentals exam Today!

2016 Apr 98-361 Study Guide Questions:

Q17. 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: A 


Q18. You are developing a C# application. You create a class of the name Widget. You use some third-party libraries, one of which also contains a class of the name Widget. You need to make sure that using the Widget class in your code causes no ambiguity. Which C# keyword should you use to address this requirement? 

A. namespace 

B. override 

C. delegate 

D. class 

Answer: A 


Q19. You are developing a new Web page. You need to create hyperlinks that point to other pages on the World Wide Web. Which of the following methods should you use to create these hyperlinks on your Web page? 

A. the SRC attribute of the <IMG> tag 

B. the HREF attribute of the <A> tag 

C. the HREF attribute of the <LINK> tag 

D. the XMLNS attribute of the <HTML> tag 

Answer: B 


Q20. You need to provide printing functionality to several of your classes. Each class’s algorithm for printing will likely be different. Also, not all the classes have an “is-a” relationship with each other. How should you support this functionality? 

A. Add the print functionality to a base class with the public access modifier. 

B. Have all classes inherit from an abstract base class and override the base-class method to provide their own print functionality. 

C. Have all the classes inherit from a base class that provides the print functionality. 

D. Create a common interface that all classes implement. 

Answer: D 


Q21. You are developing an ASP.NET appilcation using C#. You create a code-behind class named Status that contains the business logic. This class is under the namespace Northwind and is stored in a file named status. aspx.cs. You need to writebthe user interface code that uses this class. Whitch of the following cod segments should you use? 

A. <% Page Language="c#" Codebehined="status.aspx.cs" ClassName="Northwind.Status"%> 

B. <% Page Language="c#" Codebehined="status.aspx.cs" Inherits="Northwind.Status" %> 

C. <% Page Language="c#" Src="status.aspx.aspx.cs" Inherits="Northwind.Status" %> 

D. <% Page Language="c#" Src="status.aspx.aspx.cs" ClassName="Northwind.Status" %> 

Answer: C 


98-361 testing engine

Rebirth 98-361 book:

Q22. 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: A 


Q23. 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: A 


Q24. Which of the following presses is responsible for providing the ASP.NET functionality? 

A. inetinfo.exe 

B. iexplorer.exe 

C. aspnet_isapi.dll 

D. aspnet_wp.exe 

Answer: D 


Q25. You are writing a C# program that needs to iterate a fixed number of times. You need to make sure that your code is easy to understand and maintain even when the loop body contains complex code. Which of the following C# statements provide the best solution for this requirement? 

A. while 

B. for 

C. for each 

D. do-while 

Answer: B 


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

01: int count = 0; 

02: while (count < 5) 

03: { 

04: if (count == 3) 

05: break; 

06: count++; 

07: } 

How many times will the control enter the while loop? 

A. 5 

B. 4 

C. 3 

D. 2 

Answer: B 


98-361 braindumps

Real 98-361 bible:

Q27. 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: A 


Q28. 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: A 


Q29. You need to provide complex multi-way branching in your C# program. You need to make sure that your code is easy to read and understand. Which of the following C# statements should you use? 

A. case 

B. break 

C. if-else 

D. switch 

Answer: D 


Q30. Your application connects to a SQL Server database that contains a table called Employees with the following columns: 

EmployeeID (int, identity) 

EmployeeType (char(1)) 

EmployeeDate (datetime) 

You need to write a query that selects all rows from the table where the EmployeeType value is either C or T. 

Which statement should you use? 

A. SELECT * FROM Employees 

WHERE EmployeeType LIKE ‘[CT]’ 

B. SELECT * FROM Employees 

WHERE EmployeeType LIKE ‘[C-T]’ 

C. SELECT * FROM Employees 

WHERE EmployeeType LIKE ‘C’ OR ‘T’ 

D. SELECT FROM Employees 

WHERE EmployeeType IN (‘C’, ‘T’) 

Answer: A 


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

A. comparison 

B. comparison and swap 

C. comparison and partition 

D. partition and swap 

Answer: B 


Q32. You develop a new ASP.NET inventory application on the Northwind Web server. You deploy the files in the folder c:\WebInventory. The application should be available via the URL www.northwind.com/inventory. The URL www.northwind.com is already set up to point to the Northwind Web server. What should you do to make your inventory application available at the expected URL? 

A. Change the name of the directory c:\WebInventory to c:\Inventory. 

B. Create a virtual directory named Inventory and point it to c:\WebInventory. 

C. Create a virtual directory named WebInventory and point it to c:\Inventory. 

D. Move the directory c:\WebInventory to the c:\inetput\wwwroot directory. 

Answer: B 



see more 98-361 - Microsoft MTA Software Development Fundamentals

Microsoft 98-361 Certification Sample Questions and Answers: http://www.braindumpsall.net/98-361-dumps/

P.S. New 98-361 dumps PDF: http://www.4easydumps.com/98-361-dumps-download.html