应梦框架9.0框架_.Net框架能力问题和解答
應(yīng)夢框架9.0框架
This section contains Aptitude Questions and Answers on .Net Framework.
本節(jié)包含有關(guān).Net Framework的能力問題和解答。
1) There are the following options are given below, what are parts of the .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.
1)下面給出了以下選項,.NET Framework的組成部分是什么?FCL(框架類庫)
Microsoft發(fā)布的Web服務(wù)
CLR(公共語言運(yùn)行時)
網(wǎng)絡(luò)應(yīng)用
移動應(yīng)用
選項:
D,E
A,C
所有
沒有
正確答案:2
A,C
在給定的選項中,框架類庫和公共語言運(yùn)行時是.NET框架的一部分。
2) There are the following statements are given below, which statements are the correct regarding JIT.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.
2)下面給出以下語句,這些語句對于JIT是正確的。由在CLR下執(zhí)行的JIT編譯器編譯的源代碼。
JIT代表準(zhǔn)時制。
JIT編譯器在運(yùn)行時將源代碼轉(zhuǎn)換為機(jī)器代碼。
由Just In Time編譯器編譯的指令以本機(jī)代碼編寫。
由即時編譯器編譯的指令以MSIL代碼編寫。
只有一個
僅B
A B C D
所有
正確答案:3
A B C D
在這里,A,B,C和D是關(guān)于JIT編譯器的正確語句。
3) There are the following statements are given below, which statements are correct regarding the .NET framework?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.
3)下面給出了以下語句,關(guān)于.NET框架,哪些語句正確?它提供了一個開發(fā)Web應(yīng)用程序,Windows應(yīng)用程序和移動應(yīng)用程序的平臺。
它提供了一個僅開發(fā),構(gòu)建,執(zhí)行移動應(yīng)用程序的平臺。
它提供了僅用于開發(fā),構(gòu)建,執(zhí)行Web應(yīng)用程序的平臺。
它提供了獨(dú)立于語言的平臺。
選項:
只有一個
僅B
B,C
A,C
正確答案:4
A,C
在這里,選項A,C是有關(guān).NET Framework的正確聲明。
4) There are the following statements are given below, which statements are the correct regarding CLR.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.
4)下面給出以下陳述,這些陳述對于CLR是正確的。CLR代表公共語言運(yùn)行時。
它提供自動垃圾收集。
CLR提供執(zhí)行托管應(yīng)用程序的服務(wù)。
CLR提供執(zhí)行非托管應(yīng)用程序的服務(wù)。
CLR提供了獨(dú)立于語言的環(huán)境。
選項:
只有一個
A,B,C,E
都不是
僅D
正確答案:2
A,B,C,E
在給定的選項中,除D之外,所有關(guān)于Common Language Runtime的都是正確的。
5) There are the following statements are given below, which statements are NOT correct regarding CLR.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.
5)下面給出以下陳述,這些陳述對于CLR不正確。CLR代表公共語言運(yùn)行時。
它提供自動垃圾收集。
CLR提供執(zhí)行托管應(yīng)用程序的服務(wù)。
CLR提供執(zhí)行非托管應(yīng)用程序的服務(wù)。
CLR提供了獨(dú)立于語言的環(huán)境。
選件
只有一個
A,B,C,E
都不是
僅D
正確答案:4
僅D
在給定的選項中,D對于公共語言運(yùn)行時不正確。
6) Which statements are correct regarding managed code?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.
6)關(guān)于托管代碼,哪些陳述是正確的?管理代碼是一種特殊的代碼,旨在針對公共語言運(yùn)行時的服務(wù)而編寫。
管理代碼由Just In Time編譯器編譯。
管理在Windows操作系統(tǒng)頂部執(zhí)行的代碼。
管理在Linux操作系統(tǒng)頂部執(zhí)行的代碼。
選件
一個
乙
C
d
正確答案:1
一個
管理代碼是一種特殊的代碼,旨在針對公共語言運(yùn)行時的服務(wù)而編寫。
7) There are the following security features are given below, which of them are available in .NET applications?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.
7)下面給出了以下安全功能,.NET應(yīng)用程序中有哪些可用?基于角色的安全性
PIN碼安全
驗證安全
代碼訪問安全
生物節(jié)律安全性
選件
A,C
B,E
僅D
B,D
正確答案:4
B,D
.NET應(yīng)用程序中提供了PIN安全性和代碼訪問安全性。 .NET應(yīng)用程序中不提供其他給定的安全功能。
8) There are the following statements are given below, which statements are correct regarding .NET assembly?.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.
8)下面給出了以下語句,關(guān)于.NET匯編,哪些語句正確?.Net程序集是DLL文件的形式。
.Net程序集包含包含可重用方法的類。
.Net程序集是最小的可部署單元。
.Net程序集是最小的可部署單元。
.Net程序集只能有一個入口點。
選件
僅限
A,B
A B C D
所有
正確答案:4
所有
對于.NET程序集,所有給定的語句都是正確的。
9) There are the following statements are given below, which statements are correct regarding .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.
.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.
9)下面給出了以下語句,關(guān)于.NET Framework哪些語句正確?.Net Framework提供了一個面向?qū)ο蟮木幊汰h(huán)境。
.Net Framework提供了獨(dú)立于語言的環(huán)境。
.Net Framework提供了事件驅(qū)動的編程環(huán)境。
.Net Framework為基于窗口和基于Web的應(yīng)用程序提供了不同的編程環(huán)境。
選件
僅限
A,B
A,B,C
所有
正確答案:3
A,B,C
在給定的選項A,B,C中,有關(guān).NET Framework的正確說明。
10) There are the following statements are given below, which statements are NOT correct regarding .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.
10)下面給出了以下語句,關(guān)于.NET Framework,哪些語句不正確?.Net Framework提供了一個面向?qū)ο蟮木幊汰h(huán)境。
.Net Framework提供了獨(dú)立于語言的環(huán)境。
.Net Framework為設(shè)備驅(qū)動程序開發(fā)提供了事件驅(qū)動的編程環(huán)境。
.Net Framework為窗口和基于Web的應(yīng)用程序提供了不同的編程環(huán)境。
選件
僅限
A,B
C,D
所有
正確答案:3
C,D
在給定的選項中,C和D不是有關(guān).NET Framework的正確聲明。
11) There are the following Jobs given below, which of them are done by Common Language Runtime?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.
11)下面給出了以下作業(yè),其中哪些由公共語言運(yùn)行庫完成?CLR提供垃圾回收。
CLR嚴(yán)格執(zhí)行類型安全。
CLR提供內(nèi)存和線程管理。
CLR提供代碼訪問安全性。
選件
A,B
C,D
全部(A,B,C,D)
都不是
正確答案:3
全部(A,B,C,D)
給定的所有作業(yè)均由公共語言運(yùn)行時完成。
12) There are the following assemblies given below, which of them can be stored in GAC (Global Assembly Cache)?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.
12)下面給出了以下程序集,其中哪些程序集可以存儲在GAC(全局程序集緩存)中?公眾集會
私人集會
受保護(hù)的大會
共享大會
朋友集會
選件
一個
乙
C
d
?
正確答案:4
d
在.NET Framework中,只有共享程序集存儲在Global Assembly Cache中,通常稱為GAC程序集。
13) There are the following options given below, which of them are component of .NET Framework?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.
13)下面給出了以下選項,其中哪些是.NET Framework的組件?FCL(框架類庫)
CLR(公共語言運(yùn)行時)
ASP.NET Web應(yīng)用程序
Windows應(yīng)用程序和Windows服務(wù)
控制臺應(yīng)用
選件
一個
乙
A,B
所有
都不是
正確答案:3
A,B
在給定的選項中,只有FCL和CLR是.NET框架的組件,而任何類型的應(yīng)用程序(例如控制臺,Web或Windows應(yīng)用程序)都是使用.NET兼容的編程語言開發(fā)的。
14) There are the following Jobs given below, which of them are NOT performed by Garbage Collector?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.
14)下面給出了以下作業(yè),其中哪些不是垃圾收集器執(zhí)行的?釋放STACK中占用的內(nèi)存。
釋放未引用對象占用的內(nèi)存。
關(guān)閉打開的文件。
防止內(nèi)存泄漏。
選件
A,B
B,C
A,C
B,C
B,D
正確答案:3
A,C
垃圾收集器是.NET框架的重要組成部分,它用于釋放未引用的內(nèi)存,并且可以防止內(nèi)存泄漏。 它不會從堆棧釋放內(nèi)存,也不會關(guān)閉打開的文件。
15) There are the following names of the code given below, which code that targets CLR is?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.
15)下面給出的代碼有以下名稱,針對CLR的代碼是?本機(jī)代碼
非托管代碼
托管代碼
分布式代碼
選件
一個
乙
C
d
正確答案:3
C
托管代碼是針對CLR的代碼。
16) There are the following .NET Components given below, which component is used remove un-used references from the managed heap?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.
16)下面給出了以下.NET組件,該組件用于從托管堆中刪除未使用的引用?通用語言運(yùn)行時
普通型系統(tǒng)
通用語言基礎(chǔ)架構(gòu)
垃圾收集器
選件
一個
乙
C
d
正確答案:4
d
垃圾收集器負(fù)責(zé)從托管堆中刪除未使用的引用,而CTS和其他對象則在.NET框架中承擔(dān)其他責(zé)任。
17) There are the following options given below, which is the root of type hierarchy in .NET Framework?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.
17)下面給出了以下選項,它們是.NET Framework中類型層次結(jié)構(gòu)的根?系統(tǒng)對象
系統(tǒng)根
系統(tǒng)庫
系統(tǒng)頂部
選件
一個
乙
C
d
正確答案:1
一個
在.NET框架中,System.Object是類型層次結(jié)構(gòu)的根。
18) There are the following options given below, which of them are valid JIT performance counters?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.
18)下面給出了以下選項,其中哪些是有效的JIT性能計數(shù)器?JIT編譯中使用的平均內(nèi)存。
即時編譯器無法編譯的方法數(shù)量
用于JIT編譯的總內(nèi)存
JIT編譯期間花費(fèi)的處理器時間百分比
選件
只有一個
A,C
只有B
B,D
正確答案:4
B,D
在給定的選項中,B和D只是有效的JIT性能計數(shù)器。
19) There are the following options given below, which of them are used to provide a set of classes that are used by any .NET programming language?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.
19)下面給出了以下選項,其中哪個選項用于提供一組可被任何.NET編程語言使用的類?CLR
CTS
通訊
.NET類庫。
選件
一個
乙
C
d
正確答案:4
d
在.NET框架中,類庫包含可由.NET兼容編程語言使用的一組類。
20) There are the following utilities given below, which of them are used to compile managed assemblies to processor-specific native code?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.
20)下面提供了以下實用程序,其中哪些實用程序用于將托管程序集編譯為特定于處理器的本機(jī)代碼?恩根
ildasm
加奇蒂
錫
垃圾箱
選件
一個
乙
C
D,E
正確答案:1
一個
在.NET中,“ ngen”實用程序用于將托管程序集編譯為特定于處理器的本機(jī)代碼。
21) There are the following method names given below, which method is used to trigger the garbage collector?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.
21)下面給出了以下方法名稱,哪個方法用于觸發(fā)垃圾回收器?GarbageCollect()
收集()
垃圾()
FreeMem()
選件
一個
乙
C
d
正確答案:2
乙
在.NET框架中,GC類的Collect()方法用于觸發(fā)垃圾收集器。
22) There are the following options given below, which types are supported by Common Type System?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支持兩種類型:
值類型:
內(nèi)置類型(字節(jié),整數(shù),雙精度型等)
枚舉
用戶定義的類型,如結(jié)構(gòu)
參考類型:
數(shù)組
介面
用戶定義類
代表們
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.
23)下面給出了以下語句,關(guān)于非托管資源,哪些語句正確?非托管資源始終由垃圾回收自動釋放。
非托管資源不在公共語言運(yùn)行庫的范圍內(nèi)。
程序員明確地清除了非托管資源。
非托管資源不在公共語言運(yùn)行庫的范圍內(nèi)。
選件
A和D
乙
C
B和C
正確答案:4
B和C
非托管資源不在公共語言運(yùn)行庫的范圍內(nèi)。 并且必須明確清理程序員。
24) There are the following statements given below, which statements are correct about side by side execution?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.
24)下面給出了以下語句,哪些語句對于并行執(zhí)行是正確的?并排執(zhí)行提供了在同一臺PC上執(zhí)行和存儲同一應(yīng)用程序的不同版本的功能。
它提供對應(yīng)用程序版本控制的控制。
我們可以使用可以同時執(zhí)行的多個版本的.NET運(yùn)行時。
選件
一個
乙
A,B,C
都不是
正確答案:3
A,B,C
所有給定的語句對于并行執(zhí)行都是正確的。
25) There are the following statements given below, which statements are correct about Metadata?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.
25)下面給出以下語句,關(guān)于元數(shù)據(jù),哪些語句正確?元數(shù)據(jù)存儲在PE程序集中。
元數(shù)據(jù)是關(guān)于數(shù)據(jù)的數(shù)據(jù)。
元數(shù)據(jù)存儲名稱,可見性,成員方法,成員字段和屬性等。
元數(shù)據(jù)由應(yīng)用程序程序員創(chuàng)建。
選件
一個
乙
A和C
A,B和C
正確答案:4
A,B和C
語句A,B,C關(guān)于元數(shù)據(jù)是正確的,而語句D在元數(shù)據(jù)方面是錯誤的。
翻譯自: https://www.includehelp.com/dot-net/net-framework-aptitude-questions-and-answers.aspx
應(yīng)夢框架9.0框架
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅持創(chuàng)作打卡瓜分現(xiàn)金大獎總結(jié)
以上是生活随笔為你收集整理的应梦框架9.0框架_.Net框架能力问题和解答的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python 基类 派生类_在Pytho
- 下一篇: 抽象工厂模式_设计模式——抽象工厂模式