Exit demo 98-372 Microsoft .NET Fundamentals PDF format · free preview

Microsoft 98-372 - Questions & Answers

Free preview · every answer includes a full explanation

Product page: https://prepkeys.com/98-372.html

Question 1
Single choice

Which collection enforces type safety?

A.

Queue

B.

Hashtable

C.

ArrayList

D.

List<T>

Question 2
Single choice

You need to trace the execution of an application that contains C# code and Microsoft Visual Basic .NET code.

Which tool should you use?

A.

Machine Debug Manager

B.

Remote Debug Monitor

C.

Microsoft Visual Studio

D.

CLR Profiler

Question 3
Single choice

Which core technology allows interoperability between Microsoft Visual Basic .
NET code and C# code?

A.

Microsoft Visual Studio

B.

Windows 7

C.

Microsoft Intermediate Language (MSIL)

D.

Windows Azure

Question 4
Single choice

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

A.

Use of efficient type casting.

B.

Use of less memory.

C.

Capturing of errors during compilation.

D.

Improved readability.

Question 5
Single choice

Why do managed languages use references and not pointers?

A.

Pointer notation requires more characters than reference notation.

B.

Pointers are stored by using a fixed amount of memory.

C.

Pointers are not type-safe.

D.

Null pointers can lead to run-time errors.

Question 6
Single choice

What is the name of the environment that runs .
NET managed code?

A.

Common Language Runtime (CLR)

B.

Component Object Model (COM)

C.

Virtual Private Network (VPN)

D.

Microsoft Intermediate Language (MSIL)

Question 7
Single choice

You need to suspend the current thread until all Finalize() methods have been processed.

Which garbage collection method should you use?

A.

WaitforPendingFinalizers

B.

SuppressFinalize

C.

Collect

D.

Dispose

Question 8
Single choice

Which feature is automatically handled in managed code but must be explicitly handled in unmanaged code?

A.

Namespaces

B.

Code signing

C.

Memory disposal

D.

Exception handling

Question 9
Multiple choice

You want to access a native Win32 function from a .NET application.

You import the function.

Which two keywords should you use to define the function? (Each correct answer presents part of the solution. Choose two.)

A.

Extern

B.

Static

C.

Private

D.

Public

Question 10
Multiple choice

A class named Student is contained inside a namespace named Contoso.Registration. Another class named Student is contained inside a namespace named Contoso.Contacts.

You need to use both classes within the same code file.
What are two possible ways to achieve this goal?
(Each correct answer presents a complete solution. Choose two.)

A.

Add the following line of code on the top of the code file, Using Contoso;
Refer to the classes by using the Student class wrapped within the regions named Registration and Contacts.

B.

Refer to the classes by using their fully qualified class names, Contoso.Registration.Student and Contoso.Contacts.Student.

C.

Add the following lines of code on the top of the code file.
Using Contoso.Contacts;
Using Contoso.Registration;
Refer to the classes by using the Student class.

D.

Add the following lines of code on the top of the code file.
Using RStudent = Contoso.Registration.Student;
Using CStudent = Contoso.Contacts.Student;
Refer to the classes as RStudent and CStudent.

Showing 10 of 230 questions · Unlock the full set