Choose a topic to test your knowledge and improve your ASP.Net skills
Which property will you set for each RadioButton Control in the group?
Which file contains settings for all .NET application types, such as Windows, Console, ClassLibrary, and Web applications?
Which object data is included in bookmarks and e-mailed URLs?
If you want to validate the email addresses, Social Security numbers, phone numbers, and dates types of data, which validation control will be used?
When should you use the OleDbConnection object?
In a SQL Statement while working with SqlCommand it returns a single value, at that time which method of Command Object will be used?
According to the given below statements, choose the correct option. Statement 1: Application caching is the process of storing data (and not pages) in a cache object. Statement 2: Page output caching stores a rendered page, portion of a page, or version of a page in memory. Statement 3: Caching reduces the time required to render cached page in future requests.
Choose the correct one. int[] numbers = { 9, 10, 0, 11 }; var nums = from n in numbers select n + 1; foreach (var i in nums) { Console. Write (i+”,”); }
Choose the correct one. int[] numbers = { 9, 4, 1, 3, 8, 6, 7, 2,1 }; var nums = numbers.Take(3); foreach (var n in nums) { Console.WriteLine(n); }
Choose the correct one. int[] numbers = { 5, 4, 11, 3, 9, 8, 6, 7, 2, 0 }; var nums = numbers.Skip(4); foreach (var n in nums) { Console.Write(n+” “); }
Choose the correct one. int[] A = { 0, 2, 4, 5, 6, 8 }; int[] B = { 1, 3, 5, 7, 8 }; var nums = A.Union(B); foreach (var n in nums) { Console.Write(n+” “); }
Choose the correct one. int[] A = { 0, 2, 4, 5, 6, 8, 9 }; int[] B = { 1, 3, 5, 7, 8 }; IEnumerable nums = A.Except(B); foreach (var n in nums) { Console.Write(n +” “); }
Which LINQ statement defines the range variable in a LINQ query?
Which query expression is used to limit the number of results?
Which interface defines the basic extension methods for LINQ?
What LINQ expressions are used to shape results in a query? 1. where 2. select 3. join 4. group
What types of shapes can LINQ query results be shaped into? 1. Collections of primitive types 2. Collections of complex types 3. Single types 4. Collections of anonymous types
Which LINQ statement is used to merge two data sources to perform queries?
Which LINQ keyword is used to categorize results in a query?
Which of the following statements is true?
LINQ query can work with?
How you can merge the results from two separate LINQ queries into a single result set.
Which of the following objects represents a LINQ to SQL O / R map?
What is lamda expression? 1. Anonymous function 2. Can be used to create delegates 3. Named function 4. None
Choose the correct one
Choose the correct one.
Choose the correct one
Choose the correct option.
Which of the following statement is correct?
What types of Objects can you query using LINQ?
When do LINQ queries actually run?
Which of the following statement / s is / are true?
An interface can contain declaration of?
Which of the following are correct? 1. An interface can be instantiated directly. 2. Interfaces can contain constructor. 3. Interfaces contain no implementation of methods. 4. Classes and structs can implement more than one interface. 5. An interface itself can inherit from multiple interfaces.
Which of the following are correct? 1. Delegates are like C++ function pointers. 2. Delegates allow methods to be passed as parameters. 3. Delegates can be used to define callback methods. 4. Delegates are not type safe.
Properties in .NET can be declare as 1. Static, Protected internal, Virtual 2. Public, internal, Protected internal 3. Only public 4. None
Which of the following statements are correct? 1. Indexers enable objects to be indexed in a similar manner to arrays. 2. The this keyword is used to define the indexers. 3. Indexers can be overloaded. 4. Indexer cannot be used in interface
The best way for handling exception when dealing with a database connection?
For building new types at runtime which class can be used?
Reflection can be used when?
You need to select a class that is optimized for key - based item retrieval from both small and large collections. Which class should you choose?
You need to identify a type that meets the following criteria: • Is always a number. • Is not greater than 65,535. Which type should you choose?
Which of the following is dictionary object?
You want to configure the application to use the following authorization rules in web.config file. • Anonymous users must not be allowed to access the application. • All employees except ABC must be allowed to access the application.
An assembly must have an permission to connect with web server is?
Thread class has the following property. A. ManagedThreadID B. IsBackground C. IsBackgroundColor D. Abort
Which delegate is required to start a thread with one parameter?
For locking the data with synchronization which class will be used?
How many readers can simultaneously read data with ReaderWriterLock if there is no writer locks apply?
Which of the following are value types?