[Free] 2018(Mar) Dumps4cert Examcollection Microsoft 98-372 Dumps with VCE and PDF 41-50

Dumps4cert.com : Latest Dumps with PDF and VCE Files
2018 Mar Microsoft Official New Released 98-372
100% Free Download! 100% Pass Guaranteed!

Microsoft .NET Fundamentals

Question No: 41 – (Topic 1)

What is an advantage of strongly typed code languages like .NET?

  1. Use of efficient type casting.

  2. Use of less memory.

  3. Capturing of errors during compilation.

  4. Improved readability.

Answer: C

Question No: 42 – (Topic 1)

An event is a/an:

  1. Structure used to store output data.

  2. Message sent by an object to signal the occurrence of an action.

  3. Occurrence of a program at a specific time.

  4. Object that responds to a message.

Answer: B

Question No: 43 – (Topic 1)

Which describes the effect of applying the protected accessibility modifier to a method?

  1. The method is available to all classes derived from the declaring class.

  2. The method is available only to other methods in the same class.

  3. The method cannot be overridden in child classes.

  4. The method is available only to classes in the same assembly.

Answer: A

Question No: 44 – (Topic 1)

Which method will be called when a FileStream is collected by the garbage collector?

  1. Unlock

  2. Flush

  3. Finalize

  4. EndWrite

Answer: C

Question No: 45 – (Topic 1)

What data is stored on the heap?

  1. Objects that contain non-value data types

  2. Built-in, intrinsic value types

  3. Values of parameters in methods

  4. References to objects

Answer: A

Question No: 46 – (Topic 1)

You want to create a class named ShoppingCart that has a type argument named TItem. The TItem type argument must be a value type.

Which code segment should you use to define the ShoppingCart class?

Dumps4Cert 2018 PDF and VCE

  1. Option A

  2. Option B

  3. Option C

  4. Option D

Answer: D

Question No: 47 – (Topic 1)

You need to find out whether the active Windows user of an application is a member of the Administrators group.

Which permission class should you use?

  1. SecurityPermission

  2. PrincipalPermission

  3. PublisherIdentityPermission

  4. EnvironmentPermission

Answer: B

Question No: 48 – (Topic 1)

Which should you use to ensure that code can be used by several applications?

  1. Private Assembly

  2. Group Policy

  3. Shared Assembly

  4. Public Policy

Answer: C

Explanation: An assembly which inthe GAC and has a strong name is called shared assembly

Multiple applicationscanuse the samesharedassembly without having a own copy of that assembly.

Question No: 49 – (Topic 1)

You want to use a collection to store Order items. The collection must be thread-safe and must provide access to the items in a last-in-first-out sequence.

Which type of collection should you use?

  1. LinkedList

  2. ConcurrentQueue

  3. ConcurrentStack

  4. NameValueCollection

Answer: C

Question No: 50 – (Topic 1)

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?

  1. Before writing the entry

  2. When opening the file

  3. Before opening the file

  4. After writing the entry

Answer: D

Explanation: The Stream.Flush methodclears all buffers for this stream and causes any buffered data to be written to the underlying device.

100% Dumps4cert Free Download!
Download Free Demo:98-372 Demo PDF
100% Dumps4cert Free Guaranteed!
98-372 Dumps

Dumps4cert ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.