Question 51
Which two types of actions can trigger an event? (Each correct answer presents a complete solution. Choose two.)
A. User intervention, such as a mouse click.
B. Some other program logic, such as a call to the program module.
C. Declaring the signature of the delegate.
D. Adding a delegate keyword.
Correct Answer: AC
Question 52
You need to handle only SqlException exceptions. You also need to ensure that any other exception flows back to the calling code. Which code segment should you use?
A.
B.
C.
D.
Correct Answer: C
Question 53
You write a method named DoWork. You need to log all exceptions that occur inside DoWork. You also need to ensure that all exceptions are raised to the calling code. Which code segment should you use?
A.
B.
C.
D.
Correct Answer: D
Question 54
Connection strings in the web.config file are:
A. Automatically encrypted when the project is published.
B. Automatically encrypted by the web server.
C. Stored in binary format.
D. Stored in clear text unless they are encrypted.
Correct Answer: D
Question 55
In which file does a .NET Windows application store information that has been customized for a particular instance of the application?
A. App.config
B. User.config
C. Machine.config
D. Web.config
Correct Answer: B
Question 56
You need to force the position of the cursor on the screen at (15, 10). Which code segment should you use?
A.
B.
C.
D.
Correct Answer: C
Question 57
You create a program that writes a status message to a file every 10 seconds. You need to ensure that all data is written to the file before the file is closed. When should you call the Flush() method?
A. Before writing the entry
B. When opening the file
C. Before opening the file
D. After writing the entry
Correct Answer: D
Question 58
You want to insert a new line on the console. Which three code fragments will display “Hello” followed by a new line? (Each correct answer presents a complete solution. Choose three.)
A. Console.Write(“Hellot”) ;
B. Console.Write(“Hellon”);
C. Console.Error.Write(“Hellot”);
D. Console.Error.WriteLine (“Hello”);
E. Console.WriteLine(“Hello”);
Correct Answer: BDE
Question 59
Which method will be called when a FileStream is collected by the garbage collector?
A. Unlock
B. Flush
C. Finalize
D. EndWrite
Correct Answer: C
Question 60
You create a class that does not explicitly inherit from any base class. Which is the implied base type of the class?
A. Type
B. Void
C. Object
D. TypedReference
Correct Answer: C
Instant Access to Download Testing Software & PDF File for Microsoft 98-372 Real Exam
Instant Access to Try Microsoft 98-372 Free Demo
70-410 Dumps VCE PDF
70-411 Dumps VCE PDF
70-412 Dumps VCE PDF
70-413 Dumps VCE PDF
70-414 Dumps VCE PDF
70-417 Dumps VCE PDF
70-461 Dumps VCE PDF
70-462 Dumps VCE PDF
70-463 Dumps VCE PDF
70-464 Dumps VCE PDF
70-465 Dumps VCE PDF
70-480 Dumps VCE PDF
70-483 Dumps VCE PDF
70-486 Dumps VCE PDF
70-487 Dumps VCE PDF