Want to know Exambible exam 98 361 Exam practice test features? Want to lear more about Microsoft Microsoft MTA Software Development Fundamentals certification experience? Study High quality Microsoft mta exam 98 361 answers to Renewal exam 98 361 questions at Exambible. Gat a success with an absolute guarantee to pass Microsoft 98 361 software development fundamentals (Microsoft MTA Software Development Fundamentals) test on your first attempt.
Q41. 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: C
Q42. 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: A
Q43. 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
Q44. As you design a database for your company, you review the normalization rules for the database tables. You need to ensure that your table design meets the requirements for the third normal form. Which of the following statements must be true for your tables? (Choose all that apply.)
A. None of the columns in the table should have multiple values in the same row of data.
B. All non-key columns are functionally dependent on the entire primary key.
C. At least one non-key column is functionally dependent on the entire primary key.
D. Non-key attributes don’t share any functional dependency.
E. Non-key attributes share functional dependency.
Answer: ABD
Q45. You are planning to develop a new software system for your organization. You need to review the plan for packaging, deployment, delivery, and support for the software. Which of the following should you contact?
A. quality assurance manager
B. release manager
C. technical architect
D. database administrator
Answer: B
Q46. 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: C
Q47. You are developing a C# program for a bike rental company. Every night, your application needs to read data from a SQL Server 2000 database and write it to a flat file. This flat file will be transferred to your supplier.
Which of the following classes shall you use to retrieve the data? Any solution that you suggest must have very little impact of the server while maximizing performance.
A. DataSet
B. DataTable
C. SqlDataReader
D. OleDbDataReader
Answer: C
Q48. 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
Q49. 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
Q50. 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: B