Deck 1: .NET Framework and C Programming

ملء الشاشة (f)
exit full mode
سؤال
Which of the following statements are TRUE about the .NET CLR?1. It provides a language-neutral development & execution environment.2. It ensures that an application would not be able to access memory that it is not authorized to access.3. It provides services to run "managed" applications.4. The resources are garbage collected.5. It provides services to run "unmanaged" applications.

A)Only 1 and 2
B)Only 1,2 and 4
C)1,2,3,4
D)Only 4 and 5
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Which of the following are valid .NET CLR JIT performance counters?1. Total memory used for JIT compilation2. Average memory used for JIT compilation3. Number of methods that failed to compile with the standard JIT4. Percentage of processor time spent performing JIT compilation5. Percentage of memory currently dedicated for JIT compilation

A)1,5
B)3,4
C)1,2
D)4,5
سؤال
Which of the following statements is correct about Managed Code?

A)Managed code is the code that is compiled by the JIT compilers.
B)Managed code is the code where resources are Garbage Collected.
C)Managed code is the code that runs on top of Windows.
D)Managed code is the code that is written to target the services of the CLR.
سؤال
Which of the following are NOT true about .NET Framework?1. It provides a consistent object-oriented programming environment whether object code is stored and executed locally, executed locally but Internet-distributed, or executed remotely.2. It provides a code-execution environment that minimizes software deployment and versioning conflicts.3. It provides a code-execution environment that promotes safe execution of code, including code created by an unknown or semi-trusted third party.4. It provides different programming models for Windows-based applications and Web-based applications.5. It provides an event driven programming model for building Windows Device Drivers.

A)1,2
B)2,4
C)4,5
D)1,2,4
سؤال
Which of the following components of the .NET framework provide an extensible set of classes that can be used by any .NET compliant programming language?

A)NET class libraries
B)Common Language Runtime
C)Common Language Infrastructure
D)Component Object Model
سؤال
Which of the following .NET components can be used to remove unused references from the managed heap?

A)Common Language Infrastructure
B)CLR
C)Garbage Collector
D)Class Loader
سؤال
Which of the following statements correctly define .NET Framework?

A)It is an environment for developing, building, deploying and executing Desktop Applications, Web Applications and Web Services
B)It is an environment for developing, building, deploying and executing only Web Applications.
C)It is an environment for developing, building, deploying and executing Distributed Applications.
D)It is an environment for developing, building, deploying and executing Web Services.
سؤال
Which of the following constitutes the .NET Framework?1. ASP.NET Applications2. CLR3. Framework Class Library4. WinForm Applications5. Windows Services

A)1,2
B)2,3
C)3,4
D)2,5
سؤال
Which of the following assemblies can be stored in Global Assembly Cache?

A)Private Assemblies
B)Friend Assemblies
C)Shared Assemblies
D)Public Assemblies
سؤال
Code that targets the Common Language Runtime is known as

A)Unmanaged
B)Distributed
C)Legacy
D)Managed code
سؤال
Which of the following statements is correct about the .NET Framework?

A)NET Framework uses DCOM for achieving language interoperability.
B)NET Framework is built on the DCOM technology.
C)NET Framework uses DCOM for making transition between managed and unmanaged code.
D)NET Framework uses DCOM for creating unmanaged applications.
سؤال
Which of the following benefits do we get on running managed code under CLR?1. Type safety of the code running under CLR is assured.2. It is ensured that an application would not access the memory that it is not authorized to access.3. It launches separate process for every application running under it.4. The resources are Garbage collected.

A)Only 1 and 2
B)Only 2, 3 and 4
C)Only 1, 3 and 4
D)All of the above
سؤال
Which of the following jobs are done by Common Language Runtime?1. It provides core services such as memory management, thread management, and remoting.2. It enforces strict type safety.3. It provides Code Access Security.4. It provides Garbage Collection Services.

A)Only 1 and 2
B)Only 3 and 4
C)Only 1, 3 and 4
D)All of the above
سؤال
Which of the following statements are correct about a .NET Assembly?1. It is the smallest deployable unit.2. Each assembly has only one entry point - Main(), WinMain() or DLLMain().3. An assembly can be a Shared assembly or a Private assembly.4. An assembly can contain only code and data.5. An assembly is always in the form of an EXE file.

A)1,2,3
B)2,4,5
C)1,3,5
D)1,2
سؤال
Which of the following statements are correct about JIT?1. JIT compiler compiles instructions into machine code at run time.2. The code compiler by the JIT compiler runs under CLR.3. The instructions compiled by JIT compilers are written in native code.4. The instructions compiled by JIT compilers are written in Intermediate Language (IL) code.5. The method is JIT compiled even if it is not called

A)1, 2, 3
B)2,4
C)3,4,5
D)1,2
سؤال
Which of the following are parts of the .NET Framework?1. The Common Language Runtime (CLR)2. The Framework Class Libraries (FCL)3. Microsoft Published Web Services4. Applications deployed on IIS5. Mobile Applications

A)Only 1, 2, 3
B)Only 1, 2
C)Only 1, 2, 4
D)Only 4,5
سؤال
In C#, a subroutine is called a ________.

A)Function
B)Metadata
C)Method
D)Managed code
سؤال
All C# applications begin execution by calling the _____ method.

A)Class()
B)Main()
C)Submain()
D)Namespace
سؤال
A _______ is an identifier that denotes a storage location

A)Constant
B)Reference type
C)Variable
D)Object
سؤال
_________ are reserved, and cannot be used as identifiers.

A)Keywords
B)literal
C)variables
D)Identifiers
سؤال
Boxing converts a value type on the stack to an ______ on the heap.

A)Bool type
B)Instance type
C)Class type
D)Object type
سؤال
The character pair?: is an________________available in C#.

A)Unary operator
B)Ternary operator
C)Decision operator
D)Functional operator
سؤال
In C#, all binary operators are ______.

A)Center-associative
B)Right-associative
C)Left-associative
D)Top-associative
سؤال
An _______ is a symbol that tells the computer to perform certain mathematical or logical manipulations.

A)Operator
B)Expression
C)Condition
D)Logic
سؤال
A _____ is any valid C# variable ending with a colon.

A)goto
B)Label
C)Logical
D)Bitwise
سؤال
C# has _______ operator, useful for making two way decisions.

A)Looping
B)Functional
C)Exponential
D)Conditional
سؤال
________causes the loop to continue with the next iteration after skipping any statements in between.

A)Loop
B)Exit
C)Break
D)Continue
سؤال
An ____ is a group of contiguous or related data items that share a common name.

A)Operator
B)Integer
C)Exponential
D)Array
سؤال
Arrays in C# are ______ objects

A)Reference
B)Logical
C)Value
D)Arithmetic
سؤال
Multidimensional arrays are sometimes called _______ Arrays.

A)Square
B)Triangular
C)Rectangular
D)Cube
سؤال
Which of the following define the rules for .Net Languages?

A)GAC
B)CLS
C)CTS
D)CLR
سؤال
___________ namespace is not defined in the .NET class library.

A)System.CodeDom
B)System
C)System.IO
D)System.Text
سؤال
Dot Net Framework consists of :

A)Common language runtime
B)Set of class libraries
C)Common language runtime and set of class libraries
D)None of above
سؤال
Which of the following statements are correct about JIT?1. JIT compiler compiles instructions into machine code at run time.2. The code compiler by the JIT compiler runs under CLR.3. The instructions compiled by JIT compilers are written in native code.4. The instructions compiled by JIT compilers are written in Intermediate Language (IL) code.

A)1,2,3
B)2,4
C)3,4
D)1,2
سؤال
Which of the following is the root of the .NET type hierarchy?

A)System.Type
B)System.Base
C)System.Parent
D)System.Object
سؤال
Code that targets the Common Language Runtime is known as

A)Unmanaged
B)Distributed
C)Managed Code
D)Native Code
سؤال
Which of the following statements correctly define .NET Framework?

A)It is an environment for developing, building, deploying and executing Desktop Applications, Web Applications and Web Services.
B)It is an environment for developing, building, deploying and executing only Web Applications.
C)It is an environment for developing, building, deploying and executing Distributed Applications.
D)It is an environment for developing, building, deploying and executing Web Services.
سؤال
How many types of compilers availbale under CLR?

A)4
B)2
C)1
D)3
سؤال
Which of the following utilities can be used to compile managed assemblies into processor-specific native code?

A)gacutil
B)ngen
C)sn
D)ildasm
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/39
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 1: .NET Framework and C Programming
1
Which of the following statements are TRUE about the .NET CLR?1. It provides a language-neutral development & execution environment.2. It ensures that an application would not be able to access memory that it is not authorized to access.3. It provides services to run "managed" applications.4. The resources are garbage collected.5. It provides services to run "unmanaged" applications.

A)Only 1 and 2
B)Only 1,2 and 4
C)1,2,3,4
D)Only 4 and 5
1,2,3,4
2
Which of the following are valid .NET CLR JIT performance counters?1. Total memory used for JIT compilation2. Average memory used for JIT compilation3. Number of methods that failed to compile with the standard JIT4. Percentage of processor time spent performing JIT compilation5. Percentage of memory currently dedicated for JIT compilation

A)1,5
B)3,4
C)1,2
D)4,5
3,4
3
Which of the following statements is correct about Managed Code?

A)Managed code is the code that is compiled by the JIT compilers.
B)Managed code is the code where resources are Garbage Collected.
C)Managed code is the code that runs on top of Windows.
D)Managed code is the code that is written to target the services of the CLR.
Managed code is the code that is written to target the services of the CLR.
4
Which of the following are NOT true about .NET Framework?1. It provides a consistent object-oriented programming environment whether object code is stored and executed locally, executed locally but Internet-distributed, or executed remotely.2. It provides a code-execution environment that minimizes software deployment and versioning conflicts.3. It provides a code-execution environment that promotes safe execution of code, including code created by an unknown or semi-trusted third party.4. It provides different programming models for Windows-based applications and Web-based applications.5. It provides an event driven programming model for building Windows Device Drivers.

A)1,2
B)2,4
C)4,5
D)1,2,4
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
5
Which of the following components of the .NET framework provide an extensible set of classes that can be used by any .NET compliant programming language?

A)NET class libraries
B)Common Language Runtime
C)Common Language Infrastructure
D)Component Object Model
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
6
Which of the following .NET components can be used to remove unused references from the managed heap?

A)Common Language Infrastructure
B)CLR
C)Garbage Collector
D)Class Loader
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
7
Which of the following statements correctly define .NET Framework?

A)It is an environment for developing, building, deploying and executing Desktop Applications, Web Applications and Web Services
B)It is an environment for developing, building, deploying and executing only Web Applications.
C)It is an environment for developing, building, deploying and executing Distributed Applications.
D)It is an environment for developing, building, deploying and executing Web Services.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
8
Which of the following constitutes the .NET Framework?1. ASP.NET Applications2. CLR3. Framework Class Library4. WinForm Applications5. Windows Services

A)1,2
B)2,3
C)3,4
D)2,5
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
9
Which of the following assemblies can be stored in Global Assembly Cache?

A)Private Assemblies
B)Friend Assemblies
C)Shared Assemblies
D)Public Assemblies
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
10
Code that targets the Common Language Runtime is known as

A)Unmanaged
B)Distributed
C)Legacy
D)Managed code
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
11
Which of the following statements is correct about the .NET Framework?

A)NET Framework uses DCOM for achieving language interoperability.
B)NET Framework is built on the DCOM technology.
C)NET Framework uses DCOM for making transition between managed and unmanaged code.
D)NET Framework uses DCOM for creating unmanaged applications.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
12
Which of the following benefits do we get on running managed code under CLR?1. Type safety of the code running under CLR is assured.2. It is ensured that an application would not access the memory that it is not authorized to access.3. It launches separate process for every application running under it.4. The resources are Garbage collected.

A)Only 1 and 2
B)Only 2, 3 and 4
C)Only 1, 3 and 4
D)All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
13
Which of the following jobs are done by Common Language Runtime?1. It provides core services such as memory management, thread management, and remoting.2. It enforces strict type safety.3. It provides Code Access Security.4. It provides Garbage Collection Services.

A)Only 1 and 2
B)Only 3 and 4
C)Only 1, 3 and 4
D)All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
14
Which of the following statements are correct about a .NET Assembly?1. It is the smallest deployable unit.2. Each assembly has only one entry point - Main(), WinMain() or DLLMain().3. An assembly can be a Shared assembly or a Private assembly.4. An assembly can contain only code and data.5. An assembly is always in the form of an EXE file.

A)1,2,3
B)2,4,5
C)1,3,5
D)1,2
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which of the following statements are correct about JIT?1. JIT compiler compiles instructions into machine code at run time.2. The code compiler by the JIT compiler runs under CLR.3. The instructions compiled by JIT compilers are written in native code.4. The instructions compiled by JIT compilers are written in Intermediate Language (IL) code.5. The method is JIT compiled even if it is not called

A)1, 2, 3
B)2,4
C)3,4,5
D)1,2
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
16
Which of the following are parts of the .NET Framework?1. The Common Language Runtime (CLR)2. The Framework Class Libraries (FCL)3. Microsoft Published Web Services4. Applications deployed on IIS5. Mobile Applications

A)Only 1, 2, 3
B)Only 1, 2
C)Only 1, 2, 4
D)Only 4,5
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
17
In C#, a subroutine is called a ________.

A)Function
B)Metadata
C)Method
D)Managed code
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
18
All C# applications begin execution by calling the _____ method.

A)Class()
B)Main()
C)Submain()
D)Namespace
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
19
A _______ is an identifier that denotes a storage location

A)Constant
B)Reference type
C)Variable
D)Object
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
20
_________ are reserved, and cannot be used as identifiers.

A)Keywords
B)literal
C)variables
D)Identifiers
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
21
Boxing converts a value type on the stack to an ______ on the heap.

A)Bool type
B)Instance type
C)Class type
D)Object type
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
22
The character pair?: is an________________available in C#.

A)Unary operator
B)Ternary operator
C)Decision operator
D)Functional operator
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
23
In C#, all binary operators are ______.

A)Center-associative
B)Right-associative
C)Left-associative
D)Top-associative
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
24
An _______ is a symbol that tells the computer to perform certain mathematical or logical manipulations.

A)Operator
B)Expression
C)Condition
D)Logic
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
25
A _____ is any valid C# variable ending with a colon.

A)goto
B)Label
C)Logical
D)Bitwise
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
26
C# has _______ operator, useful for making two way decisions.

A)Looping
B)Functional
C)Exponential
D)Conditional
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
27
________causes the loop to continue with the next iteration after skipping any statements in between.

A)Loop
B)Exit
C)Break
D)Continue
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
28
An ____ is a group of contiguous or related data items that share a common name.

A)Operator
B)Integer
C)Exponential
D)Array
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
29
Arrays in C# are ______ objects

A)Reference
B)Logical
C)Value
D)Arithmetic
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
30
Multidimensional arrays are sometimes called _______ Arrays.

A)Square
B)Triangular
C)Rectangular
D)Cube
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
31
Which of the following define the rules for .Net Languages?

A)GAC
B)CLS
C)CTS
D)CLR
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
32
___________ namespace is not defined in the .NET class library.

A)System.CodeDom
B)System
C)System.IO
D)System.Text
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
33
Dot Net Framework consists of :

A)Common language runtime
B)Set of class libraries
C)Common language runtime and set of class libraries
D)None of above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
34
Which of the following statements are correct about JIT?1. JIT compiler compiles instructions into machine code at run time.2. The code compiler by the JIT compiler runs under CLR.3. The instructions compiled by JIT compilers are written in native code.4. The instructions compiled by JIT compilers are written in Intermediate Language (IL) code.

A)1,2,3
B)2,4
C)3,4
D)1,2
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
35
Which of the following is the root of the .NET type hierarchy?

A)System.Type
B)System.Base
C)System.Parent
D)System.Object
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
36
Code that targets the Common Language Runtime is known as

A)Unmanaged
B)Distributed
C)Managed Code
D)Native Code
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
37
Which of the following statements correctly define .NET Framework?

A)It is an environment for developing, building, deploying and executing Desktop Applications, Web Applications and Web Services.
B)It is an environment for developing, building, deploying and executing only Web Applications.
C)It is an environment for developing, building, deploying and executing Distributed Applications.
D)It is an environment for developing, building, deploying and executing Web Services.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
38
How many types of compilers availbale under CLR?

A)4
B)2
C)1
D)3
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
39
Which of the following utilities can be used to compile managed assemblies into processor-specific native code?

A)gacutil
B)ngen
C)sn
D)ildasm
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 39 في هذه المجموعة.