Similar Collections


    No collections found

questions

Title
A variable which is declared inside a method is called a________variable

A variable which is declared inside a method is called a________variable


  1. Serial
  2. Local
  3. Private
  4. Static
discuss
Which is the String method used to compare two strings with each other ?

Which is the String method used to compare two strings with each other ?


  1. Compare To()
  2. Compare()
  3. Copy()
  4. ConCat()
discuss
Minimum and Maximum range of values supported by ‘float’ data type are ?

Minimum and Maximum range of values supported by ‘float’ data type are ?


  1. 1.5 * 10 ^-40 to 3.4 * 10 ^38
  2. 1.5 * 10 ^-45 to 3.4 * 10 ^30
  3. 1.5 * 10 ^-45 to 3.4 * 10 ^38
  4. 1.5 * 10 ^-45 to 3.4 * 10 ^37
discuss
Which datatype should be more preferred for storing a simple number like 35 to improve execution speed of a program?

Which datatype should be more preferred for storing a simple number like 35 to improve execution speed of a program?


  1. sbyte
  2. short
  3. int
  4. long
discuss
Scope of variable is related to definition of variable as

 Scope of variable is related to definition of variable as:


1. Region of code within which variable value is valid and hence can be accessed.
2. No, relation with region where variable is declared its value is valid in entire scope.


  1. A
  2. B
  3. a, b
  4. None of the mentioned
discuss
Select output of the given set of Code :

 Select output of the given set of Code :

static void Main(string[] args)
{
String name = "Dr.Gupta";
Console.WriteLine("Good Morning" + name);
}

  1. Dr.Gupta
  2. Good Morning
  3. Good Morning Dr.Gupta
  4. Good Morning name
discuss
Which of the following is an 8-byte Integer?

Which of the following is an 8-byte Integer?


  1. Char
  2. Long
  3. Short
  4. Byte
discuss
Which of the following is NOT an Integer?

Which of the following is NOT an Integer?


  1. Char
  2. Byte
  3. Integer
  4. Short
discuss
Which of the following are value types?

 Which of the following are value types?

1.Integer
2.Array
3.Single
4.String
5.Long


  1. 1, 2, 5
  2. 1, 3, 5
  3. 2, 4
  4. 3, 5
discuss
Which of the following does not store a sign?

Which of the following does not store a sign?


  1. Short
  2. Integer
  3. Long
  4. Byte
discuss
What is the size of a Decimal?

What is the size of a Decimal?


  1. 4 byte
  2. 8 byte
  3. 16 byte
  4. 32 byte
discuss
Which of the following is the correct size of a Decimal datatype?

Which of the following is the correct size of a Decimal datatype?


  1. 8 Bytes
  2. 4 Bytes
  3. 10 Bytes
  4. 16 Bytes
discuss
Which of the following statements is correct?

Which of the following statements is correct?


  1. A. When a class inherits an interface it inherits member definitions as well as its implementations.
  2. An interface cannot contain the signature of an indexer.
  3. Interfaces members are automatically public.
  4. To implement an interface member, the corresponding member in the class must be public as well as static.
discuss
Which of the following can implement an interface?

Which of the following can implement an interface?

1.Data
2.Class
3.Enum
4.Structure
5.Namespace


  1. 1, 3
  2. 2, 4
  3. 3, 5
  4. 4 only
discuss
Which of the following will be the correct output for the C#.NET code snippet given below?

 Which of the following will be the correct output for the C#.NET code snippet given below?

String s1 = "ALL MEN ARE CREATED EQUAL";
String s2;
s2 = s1.Substring(12, 3);
Console.WriteLine(s2);

  1. ARE
  2. CRE
  3. CR
  4. REA
discuss
Which of the following is the correct output of the C#.NET code snippet given below?

 Which of the following is the correct output of the C#.NET code snippet given below?

int[ , , ] a = new int[ 3, 2, 3 ];
Console.WriteLine(a.Length);

  1. 20
  2. 4
  3. 18
  4. 10
discuss
Which of the following are NOT Relational operators in C#.NET?

 Which of the following are NOT Relational operators in C#.NET?

1.>=
2.!=
3.Not
4.<=
5.<>=


  1. 1, 3
  2. 2, 4
  3. 3, 5
  4. 4, 5
discuss
A GUI:

A GUI:

 


  1. uses buttons, menus, and icons.
  2. should be easy for a user to manipulate.
  3. stands for Graphic Use Interaction.
  4. Both a and b.
discuss
Visual Studio .NET provides which feature:

Visual Studio .NET provides which feature:


  1. Visual Studio .NET provides which feature:
  2. application deployment.
  3. syntax checking.
  4. All of the above.
discuss
What does IDE stand for?

 What does IDE stand for?

 


  1. Integrated Development Environment
  2. Integrated Design Environment
  3. Interior Development Environment
  4. Interior Design Environment
discuss
total MCQs: 48

MCQs

48

Views

93

Best Answers

299

Points

5