98-361 Premium Bundle

98-361 Premium Bundle

Microsoft MTA Software Development Fundamentals Certification Exam

4.5 
(3870 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
November 21, 2024Last update

Microsoft 98-361 Free Practice Questions

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

Q2. Arrange the various activities of an application lifecycle in the order in which they are likely to occur. 

A. Requirements analysis, design, coding, testing, and release 

B. Design, requirements analysis, coding, testing, and release 

C. Release, requirements analysis, coding, testing, and design 

D. Requirements analysis, design, release, coding, and testing 

Answer:

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

Q4. You are developing an ASP.NET application using C#. On your Web page, you want to display the results returned by a C# method named GetShipmentStatus when the page is rendered to the client. Which of the following code segments should you use to call the GetShipmentStatus method? 

A. <script language="c#" runat="server"> 

Response.Write(GetShipmentStatus()); 

</script> 

B. <script language="c#" runat="client"> 

Response.Write(GetShipmentStatus()); 

</script> 

C. <script language="c#"> 

Response.Write(GetShipmentStatus()); 

</script> 

D. <%= GetShipmentStatus() %> 

Answer:

Q5. You are developing an application that uses a double dimensional array. You use the following code to declare the array: 

int[,] numbers = new int[,] 

{ 11, 7, 50, 45, 27 }, 

{ 18, 35, 47, 24, 12 }, 

{ 89, 67, 84, 34, 24 }, 

{ 67, 32, 79, 65, 10 } 

}; 

Next, you refer to an array element by using the expression numbers[2, 3]. What will be the return value of this expression? 

A. 47 

B. 84 

C. 24 

D. 34 

Answer:

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

Q7. You need to display specific messages to users when their browser is not running JavaScript. Which of the following code segment should you use? 

A. <script runat="server"> ... </script> 

B. <script> ... </script> 

C. <% ... %> 

D. <noscript> ... </noscript> 

Answer:

Q8. You are planning to develop a new software system for your organization. You need to review the plans, models, and architecture for how the software will be implemented. Of which of the following activities should you review the output? 

A. requirements analysis 

B. design 

C. coding 

D. testing 

Answer:

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

Q10. You are developing a C# application. You need to decide whether to declare a class member as static. Which of the following statements is true about static members of a class? 

A. You can use the this keyword reference with a static method or property. 

B. Only one copy of a static field is shared by all instances of a class. 

C. Static members of a class can be used only after an instance of a class is created. 

D. The static keyword is used to declare members that do not belong to individual objects but to a classitself. 

Answer:

Q11. You are developing a new application that optimizes the processing of a warehouse’s operations. When the products arrive, they are stored on warehouse racks. To minimize the time it takes to retrieve an item, the items that arrive last are the first to go out. You need to represent the items that arrive and leave the warehouse in a data structure. Which data structure should you use to represent this situation? 

A. array 

B. linked list 

C. stack 

D. queue 

Answer:

Q12. You are developing an application that needs to retrieve a list of customers and their orders from a SQL Server database. After the list is retrieved, you should be able to display this data, even when a connection to the SQL Server is not available. Which of the following classes should you use to hold the data? 

A. DataAdapter 

B. DataSet 

C. DataView 

D. SqlDataReader 

Answer:

Q13. You are developing a new Windows service application that process orders. The system administrator must be able to suspend order processing while maintenance operations are in progress. When maintenance operations are completed, order processing must be resumed without the loss in any information. How should you configure this Windows service? 

A. Override the OnPause method of the ServiceBase class. 

B. Set the CanPauseAndContinue property of the service to true. 

C. Set the CanPauseAndContinue property of the service to false. 

D. Override the OnContinue method of the ServiceBase class. 

Answer:

Q14. You are developing an application that manages customers and their orders. Any solution that you develop must take the least amount of effort but offer the best performance.. Which of the following situations is not a good candidate for implementation with stored procedures in your application? 

A. Retrieving the list of all customers in the database 

B. Retrieving the list of all orders for particular customers 

C. Inserting a new order into the Orders table 

D. Ad hoc querying by the database administrator 

Answer:

Q15. You are planning to develop a new software system for your organization. Someone needs to be responsible for developing system manuals and help files. Which of the following participants should you identify for this task? 

A. user interface designer 

B. content developer 

C. user interface designer 

D. technical writer 

Answer:

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

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

Q18. You have completed developing several major features of a new software application. You plan to provide an early look at the product to important customers to gather some early feedback. Your application still misses features and you haven’t yet optimized the application for performance and security. Which kind of testing should you perform with a limited number of important customers? 

A. white-box testing 

B. black-box testing 

C. alpha testing 

D. beta testing 

Answer:

START 98-361 EXAM