1.
What is the output of the following .NET code:

using System;
using System.Linq;

class Program {
    static void Main(string[] args) {
        int[] mul = {
            1, -2, -3, 5
        };
        var posNums = from n in mul
        orderby n descending
        select n * 4 / 2;
        Console.Write("The values in mul: ");
        foreach(int i in posNums)
        Console.Write(i + " ");
    }
}
2.
What is the output of the following .NET code:

using System;
using System.Linq;

class Program {
    static void Main(string[] args) {
        int[] nums = {
            3, -4, 7, 0, -6, 5
        };
        var posNums = nums.Where(n => n > 0).Select(r => r * 2).OrderByDescending(r => r);
        foreach(int i in posNums)
        Console.Write(i + " ");
    }
}
3.
Which of these statements about the following .NET code is true:
public class MyContainer where T: IComparable
{
/* insert code here */
}
4.
In .NET, which of the following exceptions is displayed when the protocol supported by the URL prefix is disabled?
5.
In .NET, which of the following classes is used to define static connections in a page?
6.
Which of the following is true for sessions in .NET?
7.
In .NET, which of these state-management strategies have global scope?
8.
In C#.NET, the prepocessor directives #if and #endif enable _______________________________________?
9.
Which of the following statements is false for namespace in C#?
10.
Which of the following namespaces consists of classes that are a part of .NET reflection API?