EnsurePass 2018 Mar Microsoft Official New Released 98-372
100% Free Download! 100% Pass Guaranteed!
http://www.EnsurePass.com/98-372.html
Microsoft .NET Fundamentals
Question No: 121 DRAG DROP – (Topic 2)
Which programming languages can be managed, unmanaged, or both? (To answer, drag the appropriate option or options to the correct location or locations in the answer area. An option may be moved to more than one location, and some options may not be moved at all.)
Answer:
Explanation:
Note:
*Managed code is a term coined by Microsoft to identify computer program source code that requires and will only execute under the management of a Common Language Runtime virtual machine (resulting in bytecode).This applies to both C# and VB .Net.
Managed code needs a runtime (like the .NET CLT) to execute
*Microsoft#39;s Visual C development environment can produce both managed code, running under the .NET CLR, or compiled binaries, running directly on the Windows platform with the help of its C Runtime Library.
Question No: 122 – (Topic 2)
An event declaration is shown in the following code segment. Public Event NewProduct As NewProductEventHandler What is NewProductEventHandler in the event declaration?
-
An enumeration that defines the type of the NewProduct variable.
-
A built-in data type for handling events.
-
The name of the delegate that will dispatch the event.
-
The name of the class method that will catch the event.
Answer: C
Question No: 123 – (Topic 2)
Which should you use to call a class written in C# from a program written in Microsoft Visual Basic .NET?
-
The Visual Basic .NET syntax
-
A Component Object Model (COM) interface
-
The Windows Communication Foundation (WCF) API
-
The C# syntax
Answer: A
Question No: 124 – (Topic 2)
Type-safe code prevents:
-
Slow performance.
-
Namespace conflicts.
-
Format exceptions.
-
Unauthorized memory access.
Answer: D
Explanation: Type-safe code accesses only the memory locations it is authorized to access.
Question No: 125 – (Topic 2)
You need to create a DLL that contains classes that can be reused in other projects. Which type of Microsoft Visual Studio project should you use?
-
Class Library
-
Web Application
-
Console Application
-
Windows Service
Answer: A
Question No: 126 – (Topic 2)
Which describes an interface?
-
Contains code that implements properties, methods, and events.
-
Allows managed code to access unmanaged code.
-
Can be changed after it has been published.
-
A template that defines a set of properties, methods, and events.
Answer: D
Question No: 127 – (Topic 2)
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.)
-
Add the following lines of code on the top of the code file. Imports RStudent = Contoso.Registration.Student
Imports CStudent = Contoso.Contacts.Student Refer to the classes as RStudent and CStudent.
-
Refer to the classes by using their fully qualified class names, Contoso.Registration.Student and Contoso.Contacts.Student.
-
Add the following lines of code on the top of the code file. Imports Contoso.Contacts Imports Contoso.Registration Refer to the classes by using the Student class.
-
Add the following line of code on the top of the code file. Imports Contoso Refer to the classes by using the Student class wrapped within the regions named Registration and Contacts.
Answer: A,C
Question No: 128 – (Topic 2)
Managed code manages:
-
Processor optimization
-
Database connections
-
Source code
-
Memory
Answer: C
Explanation: Managed code is a term coined by Microsoft to identify computer program source code that requires and will execute only under the management of a Common Language Runtime virtual machine (resulting in bytecode).
Question No: 129 – (Topic 2)
Which feature is available in both Microsoft Visual Basic .NET and C#?
-
Static classes
-
Named and optional arguments in methods
-
Use of code that is not case-sensitive
-
Use of code that is not type-safe
Answer: B
Question No: 130 – (Topic 2)
Where is dynamic memory allocated?
-
Code segment
-
Stack
-
Heap
-
Text segment
Answer: C
100% Free Download!
–Download Free Demo:98-372 Demo PDF
100% Pass Guaranteed!
–Download 2018 EnsurePass 98-372 Full Exam PDF and VCE
EnsurePass | 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 |
2018 EnsurePass IT Certification PDF and VCE
100-105 Dumps VCE PDF
200-105 Dumps VCE PDF
300-101 Dumps VCE PDF
300-115 Dumps VCE PDF
300-135 Dumps VCE PDF
300-320 Dumps VCE PDF
400-101 Dumps VCE PDF
640-911 Dumps VCE PDF
640-916 Dumps VCE PDF
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
220-901 Dumps VCE PDF
220-902 Dumps VCE PDF
N10-006 Dumps VCE PDF
SY0-401 Dumps VCE PDF