应梦框架9.0框架
This section contains Aptitude Questions and Answers on .Net Framework.
本节包含有关.Net Framework的能力问题和解答。
FCL (Framework Class Library)
Web Services published by Microsoft
CLR (Common Language Runtime)
Web Applications
Mobile Applications
Options:
D, E
A, C
All
None
Correct answer: 2
A, C
In given options, Framework Class Library and Common Language Runtime are part .NET framework.
FCL(框架类库)
Microsoft发布的Web服务
CLR(公共语言运行时)
网络应用
移动应用
选项:
D,E
A,C
所有
没有
正确答案:2
A,C
在给定的选项中,框架类库和公共语言运行时是.NET框架的一部分。
The source code which is compiled by the JIT compiler that is executed under CLR.
JIT stands for Just In Time.
JIT compiler converts source code into machine code at run time.
Instructions which are compiled by Just In Time compilers are written in native code.
Instructions which are compiled by Just In Time compilers are written in MSIL code.
A only
B only
A, B, C, D
All
Correct answer: 3
A, B, C, D
Here A, B, C, and, D are correct statements regarding JIT compiler.
由在CLR下执行的JIT编译器编译的源代码。
JIT代表准时制。
JIT编译器在运行时将源代码转换为机器代码。
由Just In Time编译器编译的指令以本机代码编写。
由即时编译器编译的指令以MSIL代码编写。
只有一个
仅B
A B C D
所有
正确答案:3
A B C D
在这里,A,B,C和D是关于JIT编译器的正确语句。
It provides a platform to develop web applications, windows applications, and mobile applications.
It provides a platform for developing, building, executing only mobile applications.
It provides a platform for developing, building, executing only web applications.
It provides a language-independent platform.
Options:
A only
B only
B, C
A, C
Correct answer: 4
A, C
Here options A, C are the correct statements regarding .NET framework.
它提供了一个开发Web应用程序,Windows应用程序和移动应用程序的平台。
它提供了一个仅开发,构建,执行移动应用程序的平台。
它提供了仅用于开发,构建,执行Web应用程序的平台。
它提供了独立于语言的平台。
选项:
只有一个
仅B
B,C
A,C
正确答案:4
A,C
在这里,选项A,C是有关.NET Framework的正确声明。
CLR stands for Common Language Runtime.
It provides automatic garbage collection.
CLR provides services to execute managed applications.
CLR provides services to execute unmanaged applications.
CLR provides a Language-Independent environment.
Options:
A only
A, B, C, E
None of these
D Only
Correct answer: 2
A, B, C, E
In the given options, except D all are correct regarding Common Language Runtime.
CLR代表公共语言运行时。
它提供自动垃圾收集。
CLR提供执行托管应用程序的服务。
CLR提供执行非托管应用程序的服务。
CLR提供了独立于语言的环境。
选项:
只有一个
A,B,C,E
都不是
仅D
正确答案:2
A,B,C,E
在给定的选项中,除D之外,所有关于Common Language Runtime的都是正确的。
CLR stands for Common Language Runtime.
It provides automatic garbage collection.
CLR provides services to execute managed applications.
CLR provides services to execute unmanaged applications.
CLR provides a Language-Independent environment.
Options
A only
A, B, C, E
None of these
D Only
Correct answer: 4
D Only
In the given options, D is not correct regarding Common Language Runtime.
CLR代表公共语言运行时。
它提供自动垃圾收集。
CLR提供执行托管应用程序的服务。
CLR提供执行非托管应用程序的服务。
CLR提供了独立于语言的环境。
选件
只有一个
A,B,C,E
都不是
仅D
正确答案:4
仅D
在给定的选项中,D对于公共语言运行时不正确。
Manage Code is a special code that is written to target the service of Common Language Runtime.
Manage code is compiled by Just In Time compiler.
Manage code that is executed at the top of the Windows Operating System.
Manage code that is executed on the top of the Linux Operating System.
Options
A
B
C
D
Correct answer: 1
A
Manage Code is a special code that is written to target the service of Common Language Runtime.
管理代码是一种特殊的代码,旨在针对公共语言运行时的服务而编写。
管理代码由Just In Time编译器编译。
管理在Windows操作系统顶部执行的代码。
管理在Linux操作系统顶部执行的代码。
选件
一个
乙
C
d
正确答案:1
一个
管理代码是一种特殊的代码,旨在针对公共语言运行时的服务而编写。
Role based security
PIN security
Authentication Security
Code Access Security
Biorhythm Security
Options
A, C
B, E
D Only
B, D
Correct answer: 4
B, D
PIN security and Code Access Security are available in the .NET application. And other given security features are not available in .NET applications.
基于角色的安全性
PIN码安全
验证安全
代码访问安全
生物节律安全性
选件
A,C
B,E
仅D
B,D
正确答案:4
B,D
.NET应用程序中提供了PIN安全性和代码访问安全性。 .NET应用程序中不提供其他给定的安全功能。
.Net assembly is in the form of a DLL file.
.Net assembly contains classes that contain reusable methods.
.Net assembly is the smallest deployable unit.
.Net assembly is the smallest deployable unit.
.Net assembly can have only one entry point.
Options
A Only
A, B
A, B, C, D
All
Correct answer: 4
All
All of the given statements are correct regarding .NET assemblies.
.Net程序集是DLL文件的形式。
.Net程序集包含包含可重用方法的类。
.Net程序集是最小的可部署单元。
.Net程序集是最小的可部署单元。
.Net程序集只能有一个入口点。
选件
仅限
A,B
A B C D
所有
正确答案:4
所有
对于.NET程序集,所有给定的语句都是正确的。
.Net Framework provides an Object-Oriented programming environment.
.Net Framework provides a Language-Independent environment.
.Net Framework provides an Event-Driven programming environment.
.Net Framework provides a different programming environment for window and web-based applications.
Options
A Only
A, B
A, B, C
All
Correct answer: 3
A, B, C
In given options A, B, C are correct statements about .NET framework.
.Net Framework提供了一个面向对象的编程环境。
.Net Framework提供了独立于语言的环境。
.Net Framework提供了事件驱动的编程环境。
.Net Framework为基于窗口和基于Web的应用程序提供了不同的编程环境。
选件
仅限
A,B
A,B,C
所有
正确答案:3
A,B,C
在给定的选项A,B,C中,有关.NET Framework的正确说明。
.Net Framework provides an Object-Oriented programming environment.
.Net Framework provides a Language-Independent environment.
.Net Framework provides an Event-Driven programming environment for device driver development.
.Net Framework provides different programming environments for window and web-based applications.
Options
A Only
A, B
C, D
All
Correct answer: 3
C, D
In given options, C and D are not correct statements about .NET framework.
.Net Framework提供了一个面向对象的编程环境。
.Net Framework提供了独立于语言的环境。
.Net Framework为设备驱动程序开发提供了事件驱动的编程环境。
.Net Framework为窗口和基于Web的应用程序提供了不同的编程环境。
选件
仅限
A,B
C,D
所有
正确答案:3
C,D
在给定的选项中,C和D不是有关.NET Framework的正确声明。
CLR provides garbage collection.
CLR enforces type safety strictly.
CLR provides memory and thread management.
CLR provides Code Access Security.
Options
A, B
C, D
All (A, B, C, D)
None of these
Correct answer: 3
All (A, B, C, D)
The all given Jobs are done by Common Language Runtime.
CLR提供垃圾回收。
CLR严格执行类型安全。
CLR提供内存和线程管理。
CLR提供代码访问安全性。
选件
A,B
C,D
全部(A,B,C,D)
都不是
正确答案:3
全部(A,B,C,D)
给定的所有作业均由公共语言运行时完成。
Public Assembly
Private Assembly
Protected Assembly
Shared Assembly
Friend Assembly
Options
A
B
C
D
E
Correct answer: 4
D
In .NET framework only shared assemblies are stored in Global Assembly Cache normally call as GAC assemblies.
公众集会
私人集会
受保护的大会
共享大会
朋友集会
选件
一个
乙
C
d
Ë
正确答案:4
d
在.NET Framework中,只有共享程序集存储在Global Assembly Cache中,通常称为GAC程序集。
FCL (Framework Class Library)
CLR (Common Language Runtime)
ASP.NET web application
Windows Application and Windows Services
Console Application
Options
A
B
A, B
All
None of these
Correct answer: 3
A, B
In given options, only FCL and CLR are components of the .NET framework, whereas any kind of application like console, web or windows application is developed using the .NET compliant programming language.
FCL(框架类库)
CLR(公共语言运行时)
ASP.NET Web应用程序
Windows应用程序和Windows服务
控制台应用
选件
一个
乙
A,B
所有
都不是
正确答案:3
A,B
在给定的选项中,只有FCL和CLR是.NET框架的组件,而任何类型的应用程序(例如控制台,Web或Windows应用程序)都是使用.NET兼容的编程语言开发的。
Release memory occupied in STACK.
Release memory occupied by non-referenced objects.
Close opened file.
Prevent from memory leaks.
Options
A, B
B, C
A, C
B, C
B, D
Correct answer: 3
A, C
The garbage collector is an important component of the .NET framework, it is used to release un-referenced memory and it prevents memory leaks. It does not release memory from the stack and does not close open files.
释放STACK中占用的内存。
释放未引用对象占用的内存。
关闭打开的文件。
防止内存泄漏。
选件
A,B
B,C
A,C
B,C
B,D
正确答案:3
A,C
垃圾收集器是.NET框架的重要组成部分,它用于释放未引用的内存,并且可以防止内存泄漏。 它不会从堆栈释放内存,也不会关闭打开的文件。
Native Code
Unmanaged Code
Managed Code
Distributed Code
Options
A
B
C
D
Correct answer: 3
C
Managed code is the code that targets CLR.
本机代码
非托管代码
托管代码
分布式代码
选件
一个
乙
C
d
正确答案:3
C
托管代码是针对CLR的代码。
Common Language Runtime
Common Type System
Common Language Infrastructure
Garbage Collector
Options
A
B
C
D
Correct answer: 4
D
The garbage collector is responsible to remove unused references from managed heap, whereas CTS and others have their other responsibilities in the .NET framework.
通用语言运行时
普通型系统
通用语言基础架构
垃圾收集器
选件
一个
乙
C
d
正确答案:4
d
垃圾收集器负责从托管堆中删除未使用的引用,而CTS和其他对象则在.NET框架中承担其他责任。
System.Object
System.Root
System.Base
System.Top
Options
A
B
C
D
Correct answer: 1
A
In the .NET framework, System.Object is root of type hierarchy.
系统对象
系统根
系统库
系统顶部
选件
一个
乙
C
d
正确答案:1
一个
在.NET框架中,System.Object是类型层次结构的根。
Average memory used in JIT compilation.
Number of methods which are failed to compile with Just In Time Compiler
Total memory used for JIT compilation
Percentage of processor time spent during JIT compilation
Options
Only A
A, C
Only B
B, D
Correct answer: 4
B, D
In the given options, B and D are only valid JIT performance counters.
JIT编译中使用的平均内存。
即时编译器无法编译的方法数量
用于JIT编译的总内存
JIT编译期间花费的处理器时间百分比
选件
只有一个
A,C
只有B
B,D
正确答案:4
B,D
在给定的选项中,B和D只是有效的JIT性能计数器。
CLR
CTS
COM
.NET class libraries.
Options
A
B
C
D
Correct answer: 4
D
In the .NET framework, class libraries contain a set of classes that can be used by .NET compliant programming language.
CLR
CTS
通讯
.NET类库。
选件
一个
乙
C
d
正确答案:4
d
在.NET框架中,类库包含可由.NET兼容编程语言使用的一组类。
ngen
ildasm
gacutil
sn
dumpbin
Options
A
B
C
D, E
Correct answer: 1
A
In the .NET "ngen" utility is used to compile managed assemblies to processor-specific native code.
恩根
ildasm
加奇蒂
锡
垃圾箱
选件
一个
乙
C
D,E
正确答案:1
一个
在.NET中,“ ngen”实用程序用于将托管程序集编译为特定于处理器的本机代码。
GarbageCollect()
Collect()
Garbage()
FreeMem()
Options
A
B
C
D
Correct answer: 2
B
In the .NET framework Collect() method of GC class is used to trigger garbage collectors.
GarbageCollect()
收集()
垃圾()
FreeMem()
选件
一个
乙
C
d
正确答案:2
乙
在.NET框架中,GC类的Collect()方法用于触发垃圾收集器。
Value Types
Reference Types
None of the above
Both Value and Reference Types
Options
A
B
C
D
Correct answer: 3
C
There are two types are supported by CTS:
Value Types:
Inbuilt types (Byte, Integer, Double etc)
Enumeration
User Defied types like structure
Reference Types:
Arrays
Interfaces
User define classes
Delegates
值类型
参考类型
以上都不是
值和引用类型
选件
一个
乙
C
d
正确答案:3
C
CTS支持两种类型:
值类型:
内置类型(字节,整数,双精度型等)
枚举
用户定义的类型,如结构
参考类型:
数组
介面
用户定义类
代表们
Unmanaged resources are always released by garbage collection automatically.
Unmanaged resources are outside the scope of Common Language Runtime.
Unmanaged resources are cleaned up by the programmer explicitly.
Unmanaged resources are not outside the scope of Common Language Runtime.
Options
A and D
B
C
B and C
Correct answer: 4
B and C
Unmanaged resources are outside the scope of Common Language Runtime. And It must be cleaned up the programmer explicitly.
非托管资源始终由垃圾回收自动释放。
非托管资源不在公共语言运行库的范围内。
程序员明确地清除了非托管资源。
非托管资源不在公共语言运行库的范围内。
选件
A和D
乙
C
B和C
正确答案:4
B和C
非托管资源不在公共语言运行库的范围内。 并且必须明确清理程序员。
Side by Side execution provides abilities to execute and store different versions of the same application on the same PC.
It provides control over versioning of the application.
We can use multiple versions of .NET runtime can execute side by side.
Options
A
B
A, B, C
None of these
Correct answer: 3
A, B, C
All the given statements are correct for side by side execution.
并排执行提供了在同一台PC上执行和存储同一应用程序的不同版本的功能。
它提供对应用程序版本控制的控制。
我们可以使用可以同时执行的多个版本的.NET运行时。
选件
一个
乙
A,B,C
都不是
正确答案:3
A,B,C
所有给定的语句对于并行执行都是正确的。
Metadata stored in PE assembly.
Metadata is data about data.
Metadata stores name, visibility, member methods, member fields, and properties, etc.
Metadata is created by the application programmer.
Options
A
B
A and C
A, B, and C
Correct answer: 4
A, B, and C
Statements A, B, C are correct about metadata, whereas statement D is wrong about metadata.
元数据存储在PE程序集中。
元数据是关于数据的数据。
元数据存储名称,可见性,成员方法,成员字段和属性等。
元数据由应用程序程序员创建。
选件
一个
乙
A和C
A,B和C
正确答案:4
A,B和C
语句A,B,C关于元数据是正确的,而语句D在元数据方面是错误的。
翻译自: https://www.includehelp.com/dot-net/net-framework-aptitude-questions-and-answers.aspx
应梦框架9.0框架