.NET Framework: Test 1 - Online Test

Test Difficulty Level: Medium

Syllabus of Test

Computer Programming: Questions based on the framework of .NET.

Sample Question from this online test:

Question: How many languages .NET is supporting now?

Option A: 44

Option B: 45

Option C: 54

Option D: 55

To answer, click the "Start This Test" button below.

Start this Test






Comments

anil gagan1 on 2010-10-19 03:16:18 wrote,

happy

suresh menon on 2011-01-28 08:39:09 wrote,

Good Job !

dharmesh vasani on 2011-01-31 12:07:52 wrote,

q-3 ur answer is wrong...

actucal answer is
comon type system yar....
plz check it....

NARASING RAO T on 2011-03-02 04:26:20 wrote,

superb!!!

NARASING RAO T on 2011-03-02 04:31:59 wrote,

also one correction.... for Question 3

CTS
means Common Type System

and CLS means Common Language Specification

nithinjadhav nithinjadhav on 2011-04-20 07:10:07 wrote,

Question 2 :
What is the output of the code if a=10 and b=0
namespace excepption
{
class Program
{
static void Main(string[] args)
{
int a, b;
Console.Write("enter values for a,b");
a = int.Parse(Console.ReadLine());
b = int.Parse(Console.ReadLine());
try
{
int c = a / b;
Console.Write("Out Put is " + c.ToString());

}
catch(Exception e)
{
Console.Write("error" + e.Message );
}
catch (SystemException e)
{
Console.Write("error" + e.Message);
}
catch (DivideByZeroException e)
{
Console.Write("error" + e.Message);
}
catch (ArithmeticException e)
{
Console.Write("error" + e.Message);
}
Console.Read();
}
}
}
Option A: 3rd catch block is executed
Option B: 1st catch block is executed
Option C: Gives runtime error
Option D: Gives compile time error
Your Answer: D
Correct Answer: B

please check

nithinjadhav nithinjadhav on 2011-04-20 07:15:17 wrote,

SystemException is super class so all exceptions are caught there..

Sweety Agrawal on 2011-06-23 14:46:49 wrote,

CTS stands for Common Type System...Pls. check your answer.

Reddy Sai on 2011-06-27 06:15:50 wrote,

nicd

Reddy Sai on 2011-06-27 06:16:22 wrote,

nice

sa yesdani on 2011-07-29 12:51:58 wrote,

Its a very nice

pravin patil on 2011-08-10 07:06:10 wrote,

common type system

p s on 2012-06-11 13:00:30 wrote,

standard question....

yogi sharma on 2013-05-04 06:47:13 wrote,

CTS -common type system pls check.