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

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: 101 – (Topic 1)

You want to create a method that can accept any data type as arguments.

Which feature of .NET languages allows you to create one method that will accept different data types on each call to the method?

  1. Delegates

  2. Named Parameters

  3. Overriding

  4. Generics

Answer: D

Question No: 102 – (Topic 1)

Which named permission set allows common Language Runtime (CLR) to run code but disallows the use of protected resources from the computer?

  1. FullTrust

  2. Execution

  3. Everything

  4. Nothing

Answer: B

Question No: 103 – (Topic 1)

Which three policy types are .NET security policy levels? (Choose three.)

  1. Data policy

  2. Machine policy

  3. Application domain policy

  4. Enterprise policy

  5. Network policy

Answer: B,C,D

Explanation: The following table describes the four security policy levels provided by .NET Framework security.

  • Enterprise policy

    All managed code in an enterprise setting where an enterprise configuration file is distributed.

  • Machine policy

    All managed code on the computer.

  • User policy

    Code in all the processes associated with the current operating system user when the common language runtime starts.

  • Application domain policy

    Managed code in the host#39;s application domain

    Question No: 104 – (Topic 1)

    Which feature is available in both Microsoft Visual Basic .NET and C#f?

    1. Static classes

    2. Use of code that is not case-sensitive

    3. Use of code that is not type-safe

    4. Named and optional arguments in methods

    Answer: D

    Question No: 105 – (Topic 1)

    What does the .NET Framework use to pass data between managed and unmanaged code?

    1. Marshaling

    2. Simple Object Access Protocol (SOAP)

    3. Deserialization

    4. File Transfer Protocol (FTP)

    Answer: A

    Question No: 106 – (Topic 1)

    Why do managed languages use references and not pointers?

    1. Pointer notation requires more characters than reference notation.

    2. Pointers are stored by using a fixed amount of memory.

    3. Pointers are not type-safe.

    4. Null pointers can lead to run-time errors.

    Answer: C

    Explanation: Type-safeaccesses only the memory locations it is authorized to access, and only in well-defined, allowable ways. Type-safe code cannot perform an operation on an object that is invalid for that object.

    Question No: 107 – (Topic 1)

    You need to encrypt data by using a public key and a private key. Which .NET class should you use?

    1. DESCryptoServiceProvider

    2. RijndaelManaged

    3. DSACryptoServiceProvider

    4. TripleDESCryptoServiceProvider

    Answer: C

    Explanation: You can use the DSACryptoServiceProvider class to create digital signatures and protect the integrity of your data.

    To use a public-key system to digitally sign a message, the sender first applies a hash function to the message to create a message digest. The sender then encrypts the message digest with the sender#39;s private key to create the sender#39;s personal signature.

    Question No: 108 – (Topic 1)

    You want to enable access to files and folders by using the .NET Framework. Which security class should you use?

    1. UPermission

    2. FileIOPermission

    3. PrincipaIPermission

    4. SecurityPermission

    Answer: B

    Question No: 109 – (Topic 1)

    You need to ensure that your console application can process each key as it is pressed.

    Which method should you use?

    1. Console.OpenStandardlnput

    2. Console.ReadKey

    3. Console.Read

    4. Console.ReadLine

    Answer: B

    Explanation: The Console.ReadKey methodobtains the next character or function key pressed by the user.

    Question No: 110 – (Topic 1)

    Type-safe programming languages require that:

    1. Data conversions that might be unsafe are done explicitly.

    2. All data conversions are done implicitly.

    3. Data conversions that might be unsafe are done implicitly.

    4. All data conversions are done explicitly.

    Answer: A

    Explanation: *A language is type-safe if the only operations that can be performed on data in the language are those sanctioned by the type of the data.

    *Explicit conversions (casts): Explicit conversions require a cast operator. Casting is required when information might be lost in the conversion, or when the conversion might not succeed for other reasons. Typical examples include numeric conversion to a type that has less precision or a smaller range, and conversion of a base-class instance to a derived class.


    Not (All data conversions are done implicitly/explicitly):

    In C#, you can perform the following kinds of conversions:

    /Implicit conversions: No special syntax is required because the conversion is type safe and no data will be lost. Examples include conversions from smaller to larger integral types, and conversions from derived classes to base classes.

    /Explicit conversions (casts): Explicit conversions require a cast operator.

    /User-defined conversions.

    / Conversions with helper classes

    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
    PDF VCE 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.