30 Questions
Which component of the .NET framework manages the execution of .NET code?
Common Language Runtime (CLR)
What is the role of Microsoft Intermediate Language (MSIL) in the .NET framework?
It is a portable assembly code that is compiled by CLR
Which .NET framework component provides access to relational databases like SQL Server?
ADO.NET
What part of the .NET framework converts source code into Microsoft Intermediate Language (MSIL)?
Common Language Runtime (CLR)
Which component organizes classes and interfaces into namespaces in the .NET framework?
.NET Base Class Library
What does XML primarily serve as in the .NET framework context?
Universal format for data on the Web
What is ASP.NET primarily used for?
Building enterprise-class Web applications
Which technology allows dynamic website building through a drag-and-drop, event-driven model?
ASP.NET Web Forms
What is the purpose of the Common Type System (CTS) in the .NET environment?
Documenting how types are declared, used, and managed
Which feature of .NET ensures that developers can write code in different languages?
Interoperability
Among the languages supported by .NET, which one is not mentioned in the text?
Python
What is the role of ASP.NET Web Services in the .NET environment?
Extend the Web infrastructure to connect software applications
What is a key feature of C# programming language?
Supports garbage collection and automatic memory management
Who headed the development of the C# programming language in the late 1990s?
Anders Hejlsberg
What is a benefit of using C# over other programming languages for developing applications?
It allows for method overriding
Which type of applications can be built using C#?
Web, windows, mobile, and cloud-based applications
What feature of C# expands the scope and power of the language?
Ability to write database queries using LINQ
What is a characteristic of .NET Framework?
Provides an environment to build and deploy diverse applications
What components are stored in the Manifest?
Identification information, public types, and list of other assemblies
How is a version number of an assembly represented?
As Major.Minor.Build.Revision (Ex. 8.0.1.7)
What is one of the differences between a private and shared assembly?
Multiple applications can use a shared assembly
Where are shared assemblies typically registered?
Global Assembly Cache (GAC)
Why is it not required to register a private assembly?
Because it is stored in the respective application's directory
What is a requirement for creating a strong name for a shared assembly?
A strong name is required for shared assemblies
What happens to a private assembly when it is registered in GAC with a strong name?
It becomes a shared assembly
What is the purpose of a namespace in a C# program?
To organize classes in a project
Which part of a C# program contains the Main method?
A class
What does the 'using' keyword do in C#?
Accesses classes available in a namespace
In the provided C# program, what is the purpose of the 'Console.ReadKey()' statement?
To wait for any key press before exiting the program
What is the role of the 'Convert.ToInt32' method in the given C# program?
Converts a string input to an integer
Learn the basics of C#, an object-oriented programming language developed by Microsoft in the late 1990s. Explore features such as data encapsulation, inheritance, polymorphism, and method overriding, along with the ability to build web, windows, mobile, and cloud-based applications.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free