Questions Related to technology

Multiple choice technology platforms and products
  1. Optional parameters can make your code more readable and easier to maintain, and can reduce the amount of typing you have to do

  2. We can use optional parameters and no longer have to overload functions with a number of methods

  3. Optional parameters are created in C# by specifying a default value and must appear after required parameters

  4. Following is the way to specify optional parameters for function ReadFile static void ReadFile(string FileName:"", string OpenMode:"ReadOnly") {...}

Reveal answer Fill a bubble to check yourself
D Correct answer
Multiple choice technology platforms and products
  1. It is no longer necessary to use Line continuation character ( _ ) to continue the code to next line. This is not supported in NET 4.0

  2. Optional parameters can now be nullable

  3. It is now possible to create Jagged Arrays with following syntax: Dim ArrayNewWay = {({"1", "2", "3"}), ({"4", "5"})}

  4. Collections can now be initialized using the following syntax with the new From keyword: Dim Colors As New List(Of String) From {"Red", "Yellow", "Green"}

Reveal answer Fill a bubble to check yourself
A Correct answer
Multiple choice technology platforms and products
  1. With .NET 4.0, installing a new version of .NET 4.0 has no effect on existing applications built in earlier versions of .NET

  2. Components that were built with the .NET 1.1 can run side by side with version 2.0, 3.0, or 3.5 components

  3. When native application that uses COM components built with earlier versions of the .NET Framework, the COM components will run with the version of the .NET Framework they were registered with

  4. Managed application built with the .NET Framework 3.0 SP1 will run with the .NET Framework version 3.0, but can be configured to run on the .NET Framework 4 if version 3.0 is not present

Reveal answer Fill a bubble to check yourself
B Correct answer
Multiple choice technology platforms and products
  1. MEF stands for Managed Extensibility Framework

  2. Due to it’s declarative-based and discovery-enabled approach, MEF becomes very powerful to use in an application where it is being used to put together a bunch of potentially unknown parts into a working application

  3. Using MEF, .NET applications can make the shift from being statically compiled to dynamically composed

  4. MEF is part of System.ComponentModel.CompositeApplication assembly in .NET 4.0

Reveal answer Fill a bubble to check yourself
D Correct answer
Multiple choice technology platforms and products
  1. In ASP.NET 4, new configuration elements have been added to Web.config and Web.Config size has increased

  2. A new auto-start feature in ASP.NET 4.0 lets you perform expensive application initialization prior to processing the first HTTP request

  3. ASP.NET 4 allow to extend output caching by enabling you to configure one or more custom output-cache providers that can use any storage mechanisms

  4. ASP.NET 4 introduces a new compression option for Session State Compression for both out-of-process State Server & SQL Server session state providers to improve the performance

Reveal answer Fill a bubble to check yourself
A Correct answer