.NET Framework Flashcards

1
Q

What is the name of the programming language developed at Microsoft in the late 1990s, headed by Anders Hejlsberg?

A

C#

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What programming paradigm does C# support, including encapsulation, inheritance, and polymorphism?

A

Object-oriented programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What feature of C# automatically manages memory and handles garbage collection?

A

Automatic memory management

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the runtime environment in the .NET framework that manages the execution of .NET code?

A

Common Language Runtime (CLR)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which language feature in C# allows you to write database queries in the programming language itself?

A

Language-Integrated Query (LINQ)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In C#, what are primitive data types automatically initialized to?

A

Zero

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In C#, what are reference types like objects and classes automatically initialized to?

A

Null

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which .NET component provides access to relational databases and XML data sources?

A

ADO.NET

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the name of the compiler that converts MSIL code into native machine-language code?

A

Just-In-Time (JIT) compiler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which feature of .NET allows developers to write code in multiple programming languages?

A

Interoperability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the universal format for data on the Web that ADO.NET supports?

A

XML

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which .NET component is used for building dynamic websites using a drag-and-drop, event-driven model?

A

ASP.NET Web Forms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the purpose of the Global Assembly Cache (GAC) in .NET?

A

To store assemblies specifically designated to be shared by multiple applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the formal specification in .NET that documents how types are declared, used, and managed?

A

Common Type System (CTS)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the term for a collection of types and resources that form a logical unit of functionality in .NET?

A

Assembly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the name of the intermediate language code that .NET source code is compiled into?

A

Microsoft Intermediate Language (MSIL)

17
Q

What are the two forms that an assembly can take in .NET?

A

EXE (Executable) and DLL (Dynamic-Link Library)

18
Q

Which part of an assembly stores identification information and a list of other assemblies used in the current assembly?

19
Q

Which C# method is the starting point of every application?

A

Main method

20
Q

What is the namespace in the .NET framework that contains the classes and interfaces used for building applications?

A

.NET Base Class Library

21
Q

What feature of C# allows developers to define anonymous methods and expand the scope of the language?

A

lambda expressions

22
Q

What is the purpose of the ‘using’ keyword in C#?

A

To access the classes available in a namespace

23
Q

What does the Common Language Specification (CLS) ensure in the .NET environment?

A

Operability between languages

24
Q

What are the two types of assembly deployment in .NET?

A

Private and shared

25
Which .NET feature allows the creation of highly responsive web applications with minimal effort?
AJAX
26
What is the role of the .NET Base Class Library?
To provide classes and interfaces for building applications
27
What does the OS manage in the context of .NET applications?
Hardware and software resources
28
Which feature of .NET ensures that code in different languages can exchange data types?
Language independence
29
Which C# feature supports secure, controlled runtime environments for executing programs?
CLR (Common Language Runtime)
30
What must every C# program's file name match?
The class name with a .cs extension
31
What do comments in C# source code start with?
/…/ or //
32
Which type of assembly in .NET is not required to be registered in the GAC?
Private assembly
33
Which programming languages are supported by the .NET framework?
VB, C++, C#, JScript, J#
34
What does the acronym AJAX stand for in the context of .NET?
Asynchronous JavaScript and XML
35