98-361 Exam - Microsoft MTA Software Development Fundamentals

certleader.com

Q1. You write large amount of JavaScript code for your Web site. You need to take advantage of caching techniques to make sure that Web pages load as quickly as possible. You also need to ensure that you can modify the JavaScript code with the least amount of effort. What should you do? 

A. Write JavaScript code inside the <SCRIPT> tag. Include the <SCRIPT> within the <HEAD> tag of theHTML page. 

B. Write JavaScript code inside the <SCRIPT> tag. Include the <SCRIPT> within the <BODY> tag of theHTML page. 

C. Write JavaScript code inside a separate file. Use the SRC attribute of the <SCRIPT> tag to link to theJavaScript file. 

D. Write JavaScript code inside a separate file. Use the HREF attribute of the <LINK> tag to link to theJavaScript file. 

Answer:

Q2. You are in the process of developing a new software application. As defects are reported, you take the necessary steps to fix them. You need to make sure that each new fix doesn’t break anything that was previously working. Which type of testing should you use? 

A. integration testing 

B. system testing 

C. acceptance testing 

D. regression testing 

Answer:

Q3. You are designing database for a new Web application. You need to identify appropriate relational database structure to satisfy business requirements. Which of the following activities should you not perform as part of the design process? 

A. Identify tables and columns. 

B. Choose primary keys for the tables. 

C. Identify table relationships. 

D. Apply the normalization process. 

E. Write stored procedures. 

Answer:

Q4. You are C# developer who is developing a Windows application. You need to provide a common definition of a base class that can be shared by multiple derived classes. Which keyword should you use to declare the new class? 

A. virtual 

B. sealed 

C. interface 

D. abstract 

Answer:

Q5. You are developing a C# program that makes use of a singly linked list. You need to traverse all nodes of the list. Which of the following items will you need to accomplish this requirement? 

A. link to the head node 

B. link to the tail node 

C. data in the head node 

D. data in the tail node 

Answer:

Q6. You are developing a restaurant locator Web sitr in ASP.NET and C#. As users browse through the Web site, each of the Web pages must display a list of the recently viewed restaurant in the lower left corner. You want this information to be available across Web pages and browser restarts but do not want to use server side resources to accomplish this. Which of the following state management techniques will help you accomplish this requirement with minimum effort? 

A. hidden fields 

B. view state 

C. cookies 

D. sessions 

Answer:

Q7. You are C# developer who is developing a Windows application. You need to provide derived classes the ability to share common functionality with base classes but still define their own unique behavior. Which object oriented programming concept should you use to accomplish this functionality? 

A. encapsulation 

B. abstraction 

C. polymorphism 

D. inheritance 

Answer:

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

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

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