JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
.NET Framework Part-III
Sign in to Google
to save your progress.
Learn more
* Indicates required question
Which choice best describes the difference between globalization and localization?
*
1 point
Localization enables the .NET runtime to provide services to managed code so language compilers can emit metadata and references in your code. Globalization reverses this process.
Globalization enables the .NET runtime to provide services to managed code so language compilers can emit metadata and references in your code. Localization reverses this process.
Localization involves designing and developing a world-ready app that supports localized interfaces and regional data for users in multiple cultures. Globalization is the process of translating an application's resources into versions for each culture that the application will support.
Globalization involves designing and developing a world-ready app that supports localized interfaces and regional data for users in multiple cultures. Localization is the process of translating an application's resources into versions for each culture that the application will support.
What does CIL stand for?
*
1 point
C# Interpreted Language
Common Intermediate Language
Commonly Interpreted Language
C# Intermediate Language
What is a thread?
*
1 point
A single operation that does not return a value and that usually executes asynchronously
the basic unit to which an operating system allocate processor time
a series of related tasks or methods that together turn inputs into outputs
a program that is running on your computer
Where should you store connection string information?
*
1 point
in any file within the namespace of the program
in the view
in configuration files
in the database
What is a task?
*
1 point
the basic unit to which an operating system allocates processor time
a program that is running on your compiler
a single operation that does not return a value and that usually executes asynchronously
a series of related methods that together turn inputs into outputs
Why would the .NET Framework use Normal-JIT (Just-in-Time)?
*
1 point
to compile complete source code into native code in a single compilation cycle during deployment of the application
to compile only the methods that are called at runtime and remove them from memory after execution
to compile only the methods that are called at runtime and them store them in cache for one minute
to compile only methods called at runtime – which are compiled the first time the methods are called and then stored in a cache to be used for execution when the same methods are called again
Which choice creates an 8-tuple containing prime numbers that are less than 20?
*
1 point
var primes = Tuple.Create(2, 3, 5, 7, 11, 13, 17, 19);
var primes = Tuple.Create(2, 3, 5, 7, 11, 13, 17, 21);
var primes = Tuple.Make(2, 3, 5, 7, 11, 13, 17, 20);
var primes = Tuple.Make(2, 3, 5, 7, 11, 13, 17, 19);
Why use design patterns?
*
1 point
design patterns make the code more efficient with memory usage
design patterns minimize the number of code lines when creating complex applications
design patterns tend to be more secure and prevent code from being hacked
design patterns help you solve issues related to sofware development using a proven solution, and make communication between developers more efficient
You want to add responsibilities to object dynamically. Which design pattern best fit this objective?
*
1 point
Decorator
Bridge
Singleton
Facade
Which statement about the this keyword is not true?
*
1 point
The this keyword lets a constructor call a different constructor in the same class.
A constructor can use a base statement and a this statement if the base statement comes first.
A constructor can use one this statement at most.
If a constructor uses a this statement, its code is executed after the invoked constructor is executed.
When should you use the .NET Core class library project type?
*
1 point
when you want to increase the .NET API surface area your library can access, and allow only .NET Core apps to be compatible with your library
when you want to increase the number of apps that are compatible with your library, and decrease the .NET API surface area your library can access
when you want to decrease speed but have more features
when you want to increase compilation speed and have fewer features
How can you received form data without a model binder in a controller action?
*
1 point
public IFormResult ReceivedDataByRequest() { string theName = Request.Forms["theName"]; return View(); }
public IActionResult ReceivedDataByRequest() { string theName = Request.Forms["theName"]; return View(); }
public IFormResult ReceivedDataByRequest() { string theName = Request.Form["theName"]; return View(); }
public IActionResult ReceivedDataByRequest() { string theName = Request.Form["theName"]; return View(); }
The
ASP.NET
Core Module is a native IIS module that plugs into the IIS pipeline to either _.
*
1 point
host an
ASP.NET
Code app inside of the IIS worker process, called the out-of-process hosting model, or forward web requests to a backend
ASP.NET
Core app running the Kesrel server, called the in-process hosting model
create IIS code the server needs in a file with the extension required, or run the IIS server in a mode compatible for
ASP.NET
Core
package up your C# application and C# packages into .NET modules, or specify which of its packages should be visible to other .NET modules
host an
ASP.NET
Code app inside of the IIS workes process, called the in-process hosting model, or forward web requests to a backend
ASP.NET
Core app running the Kestrel server, called the out-of-process hosting model
What method do you use to explicitly kill a user's session?
*
1 point
Session.Timeout()
Session.Abandon()
Session.KillAll()
Session.Remove()
What is the Liskov substitution principle?
*
1 point
Many client-specific interfaces are better than one general-purpose interface.
Objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program.
A class should have only a single responsibility — that is, only changes to one part of the software's specification should be able to affect the specification of the class.
Software entities should be open for extension, but closed for modification.
What is .NET?
*
1 point
.NET is a general-purpose programming language. The language has expanded significantly over time, and now has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
.NET is a virtual machine that enables a computer to run programs written in several languages and compile programs to bytecode.
.NET is an interpreted, high-level, general-purpose programming language. Its language constructs an object-oriented approach aimed at helping programmers write clear, logical code for small and large-scale projects.
.NET is a free, cross-platform, open-source developer platform for building many different types of applications with multiple languages, editors, and libraries for web, mobile, desktop, gaming, and IoT.
Which choice is NOT a component of .NET Framework?
*
1 point
common language JIT
.NET framework class library
common language runtime
side-by-side execution
Submit
Page 1 of 1
Clear form
Forms
This content is neither created nor endorsed by Google.
Report Abuse
Terms of Service
Privacy Policy
Help and feedback
Contact form owner
Help Forms improve
Report