WPF.Net Online Test 3, Dot Net Question and Answers, .NET Quiz
Finish Quiz
0 of 20 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
Information
WPF.Net Online Test 3, Dot Net Question and Answers, .NET Quiz. Practice Online FOR Dot Net Test and find out how much you score before you appear for your next Dot Net interview and written test. Free WPF .Net Quiz, Online WPF .Net. WPF .Net Online Test-3 Question and Answers. WPF WPF Dot Net Test 3 Free Mock Test. WPF .Net Online Test-3 Question and Answers in PDF. The WPF .Net online mock test paper is free for all students. WPF .Net Online Test is very useful for exam preparation and getting for Rank. WPF .Net Online Test-3 Question and Answers in English. WPF .Net Online Test for topic via String Handling Mode. Here we are providing WPF .Net Online Test in English Now Test your self for “WPF .Net Online Test in English” Exam by using below quiz…
This paper has 20 questions.
Time allowed is 25 minutes.
The WPF .Net Online Test is Very helpful for all students. Now Scroll down below n click on “Start Quiz” or “Start Test” and Test yourself.
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 20 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
Pos. | Name | Entered on | Points | Result |
---|---|---|---|---|
Table is loading | ||||
No data available | ||||
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- Answered
- Review
-
Question 1 of 20
1. Question
In an ASP .Net MVC Application, browsers requests are mapped to?
Correct
Model View Controller Application browser request mapped to Controller as UI related information (View) calls Controller for processing the request.
Incorrect
Model View Controller Application browser request mapped to Controller as UI related information (View) calls Controller for processing the request.
-
Question 2 of 20
2. Question
Which is the right format for calling a ng-bind function?
Correct
ng-bind directive is written in following ways ng-bind ng:bind ng_bind data-ng-bind x-ng-bind ng-bind can be called any of the above format. All the directives will give you the same result.
Incorrect
ng-bind directive is written in following ways ng-bind ng:bind ng_bind data-ng-bind x-ng-bind ng-bind can be called any of the above format. All the directives will give you the same result.
-
Question 3 of 20
3. Question
What the Type of Generation in Garbage Collector?
Correct
There are three types of generations in garbage collector. [B]Generation 0[/B] – This identifies a newly created object that has been never marked for collection. [B]Generation 1[/B] – This identifies an object which has been marked as collection but not removed. [B]Generation 2[/B] – This identifies an object that has survived more than one sweep of the Garbage collector.
Incorrect
There are three types of generations in garbage collector. [B]Generation 0[/B] – This identifies a newly created object that has been never marked for collection. [B]Generation 1[/B] – This identifies an object which has been marked as collection but not removed. [B]Generation 2[/B] – This identifies an object that has survived more than one sweep of the Garbage collector.
-
Question 4 of 20
4. Question
What is INTERNAL Keyword in .NET?
Correct
INTERNAL keyword is one of the access specifier which will be visible in a given assembly i.e. in a DLL file. This forms a single binary component and it is visible throughout the assembly.
Incorrect
INTERNAL keyword is one of the access specifier which will be visible in a given assembly i.e. in a DLL file. This forms a single binary component and it is visible throughout the assembly.
-
Question 5 of 20
5. Question
What are the three types of JIT Compiler? (Just In Time)
Correct
We have 3 types. [B]Pre-JIT[/B] – Compiles at the time of deployment of an application [B]Econo-JIT[/B] – Compiles called methods at runtime [B]Normal JIT[/B] – Compiles called methods at runtime and they get compiled first time when called
Incorrect
We have 3 types. [B]Pre-JIT[/B] – Compiles at the time of deployment of an application [B]Econo-JIT[/B] – Compiles called methods at runtime [B]Normal JIT[/B] – Compiles called methods at runtime and they get compiled first time when called
-
Question 6 of 20
6. Question
Which of the following is not true about VB.NET?
Correct
VB.NET is not Backward Compatible. VB was Backward Compatible but VB.NET was developed in such a way that it wont perform Backward Compatible.
Incorrect
VB.NET is not Backward Compatible. VB was Backward Compatible but VB.NET was developed in such a way that it wont perform Backward Compatible.
-
Question 7 of 20
7. Question
What will be the output of the below program?
using System;
using System.Collections.Generic;
using System.Linq;namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.Write(new List<int>() { 16, 17, 4, 3, 5, 2, 10 }
.OrderBy(o => o)
.SkipWhile(s => s < 2)
.TakeWhile(t => t <= 10)
.ToList()
.Aggregate((a, b) => a + b));
}
}
}Correct
The program is finding the elements within the given a range 2,10 exclusive which are 2,3,4,5,10. Then performing a summation on these numbers which is 24.
Incorrect
The program is finding the elements within the given a range 2,10 exclusive which are 2,3,4,5,10. Then performing a summation on these numbers which is 24.
-
Question 8 of 20
8. Question
Types of Memory in .NET?
Correct
Two types of memories are there in .net stack memory and heap memory. [B]Stack Memory[/B] – Its a kind of Static Memory which set aside as scratch space for a thread of execution. Stack reserves in LIFO(Last In First Out) [B]Heap Memory[/B] – Its a kind of Dynamic memory and there’s no enforced pattern to the allocation and deallocation of blocks from the heap. To allocate memory on the heap, you must use malloc() or calloc()
Incorrect
Two types of memories are there in .net stack memory and heap memory. [B]Stack Memory[/B] – Its a kind of Static Memory which set aside as scratch space for a thread of execution. Stack reserves in LIFO(Last In First Out) [B]Heap Memory[/B] – Its a kind of Dynamic memory and there’s no enforced pattern to the allocation and deallocation of blocks from the heap. To allocate memory on the heap, you must use malloc() or calloc()
-
Question 9 of 20
9. Question
Age of Session Cookies?
Correct
Session will be created based on individual users. [B]Session Cookies[/B] are one which created at the time of User logged into our application. This Cookies contains all the details about the users and their activities in that particular session. The Session Cookies will get expired when the user Logoff. Each user will get Unique Session Cookies.
Incorrect
Session will be created based on individual users. [B]Session Cookies[/B] are one which created at the time of User logged into our application. This Cookies contains all the details about the users and their activities in that particular session. The Session Cookies will get expired when the user Logoff. Each user will get Unique Session Cookies.
-
Question 10 of 20
10. Question
Which is not List the major built-in objects in ASP.NET?
Correct
Below are the major build in objects in ASP.NET: [B] Application [/B] – It stores the information related to the entire application. So it is not specific to users. It was complete application oriented. [B]Request[/B] – It describes the methods, properties, and collections of the object that stores information related to the HTTP request [B]Response [/B] – Based on the Request the answer we got from the server is called response. [B]Server [/B] – Server is the Physical system, With these methods you can execute code, get error conditions, encode text strings, create objects for use by the Web page, and map physical paths. [B]Session [/B] – Session will store the user details and values and sent across with request and get response. [B]Context [/B] – Provides access to the entire current context (including the request object). [B]Trace [/B] – Provides a way to display both system and custom trace diagnostic messages in the HTTP page output
Incorrect
Below are the major build in objects in ASP.NET: [B] Application [/B] – It stores the information related to the entire application. So it is not specific to users. It was complete application oriented. [B]Request[/B] – It describes the methods, properties, and collections of the object that stores information related to the HTTP request [B]Response [/B] – Based on the Request the answer we got from the server is called response. [B]Server [/B] – Server is the Physical system, With these methods you can execute code, get error conditions, encode text strings, create objects for use by the Web page, and map physical paths. [B]Session [/B] – Session will store the user details and values and sent across with request and get response. [B]Context [/B] – Provides access to the entire current context (including the request object). [B]Trace [/B] – Provides a way to display both system and custom trace diagnostic messages in the HTTP page output
-
Question 11 of 20
11. Question
Which type if caching will be used if we want to cache the portion of a page instead of whole page?
Correct
It caches the portion of the page generated by the request. For that, we can create user controls. For Example, Consider that you have web page which has many panels with details and Datagrid with details. But you want to take value from only one Panel and sent it across the server. In that scenario you can use Fragment Caching. How to use Fragment Caching Check below link of our site: [LINK]http://www.dotnetfunda.com/articles/show/1484/how-to-implement-fragment-caching-in-aspnet[/LINK]
Incorrect
It caches the portion of the page generated by the request. For that, we can create user controls. For Example, Consider that you have web page which has many panels with details and Datagrid with details. But you want to take value from only one Panel and sent it across the server. In that scenario you can use Fragment Caching. How to use Fragment Caching Check below link of our site: [LINK]http://www.dotnetfunda.com/articles/show/1484/how-to-implement-fragment-caching-in-aspnet[/LINK]
-
Question 12 of 20
12. Question
What are the different Session state management options available in ASP.NET?
Correct
[B]In-Process [/B] stores the session in memory on the web server. [B]Out-of-Process[/B] Session state management stores data in an external server. The external server may be either a SQL Server or a State Server. All objects stored in session are required to be serializable for Out-of-Process state management.
Incorrect
[B]In-Process [/B] stores the session in memory on the web server. [B]Out-of-Process[/B] Session state management stores data in an external server. The external server may be either a SQL Server or a State Server. All objects stored in session are required to be serializable for Out-of-Process state management.
-
Question 13 of 20
13. Question
Which of the following statements is correct about a delegate?
Correct
Delegates are reference types. Delegates are object oriented. Delegates are type-safe. Delegates provides wrappers for function pointers – .Net delegates are more than just type-safe function pointers. Unlike the function pointers. – A delegate is a type that safely encapsulates a method, similar to a function pointer in C and C++. Unlike C function pointers, delegates are object-oriented, type safe, and secure. The type of a delegate is defined by the name of the delegate.
Incorrect
Delegates are reference types. Delegates are object oriented. Delegates are type-safe. Delegates provides wrappers for function pointers – .Net delegates are more than just type-safe function pointers. Unlike the function pointers. – A delegate is a type that safely encapsulates a method, similar to a function pointer in C and C++. Unlike C function pointers, delegates are object-oriented, type safe, and secure. The type of a delegate is defined by the name of the delegate.
-
Question 14 of 20
14. Question
To implement delegates, the necessary condition is?
Correct
Class Declaration in implementing delegates is important. Delegates types are declared with the delegate keyword. They can appear either on their own or nested within a class Example: [CODE]namespace DelegateTest { public delegate string FirstDelegateTest (int x); public class Sample { public delegate void SecondDelegateTest (char a, char b); } }[/CODE]
Incorrect
Class Declaration in implementing delegates is important. Delegates types are declared with the delegate keyword. They can appear either on their own or nested within a class Example: [CODE]namespace DelegateTest { public delegate string FirstDelegateTest (int x); public class Sample { public delegate void SecondDelegateTest (char a, char b); } }[/CODE]
-
Question 15 of 20
15. Question
The ‘ref’ Keyword in which of the following method/function?
Correct
The Static function will be used to the keyword ref. A ref parameter is passed as a reference, not a value. This means you can assign the parameter in the called method and have it also be assigned at the calling site. So the Static function will take this reference value.
Incorrect
The Static function will be used to the keyword ref. A ref parameter is passed as a reference, not a value. This means you can assign the parameter in the called method and have it also be assigned at the calling site. So the Static function will take this reference value.
-
Question 16 of 20
16. Question
What is the output for following code?
public static void Main()
{
Console.WriteLine(Math.Round(0.5));
Console.WriteLine(Math.Round(2.5));
Console.WriteLine(Math.Round(1.5));}
Correct
Math Round function used in many places in C# It takes even values mostly
Incorrect
Math Round function used in many places in C# It takes even values mostly
-
Question 17 of 20
17. Question
What is the use of caspol.exe tool?
Correct
The caspol tool grants and modifies permissions to code groups at the user policy, machine policy, and enterprise policy levels
Incorrect
The caspol tool grants and modifies permissions to code groups at the user policy, machine policy, and enterprise policy levels
-
Question 18 of 20
18. Question
What is ResGen.exe tool used for?
Correct
Ildasm.exe is a tool that takes a PE file containing the MSIL code as a parameter and creates a text file that contains managed code.
Incorrect
Ildasm.exe is a tool that takes a PE file containing the MSIL code as a parameter and creates a text file that contains managed code.
-
Question 19 of 20
19. Question
Dynamic Polymorphism Implemented by?
Correct
Dynamic polymorphism is implemented by abstract classes and virtual functions.
Incorrect
Dynamic polymorphism is implemented by abstract classes and virtual functions.
-
Question 20 of 20
20. Question
Operator Overloading is perform based on?
Correct
C# provides two techniques to implement static polymorphism. They are: Function overloading Operator overloading
Incorrect
C# provides two techniques to implement static polymorphism. They are: Function overloading Operator overloading