Exam 1: C# Programming Language and Visual Studio IDE
Exam 1: C# Programming Language and Visual Studio IDE21 Questions
Exam 2: VB.net and ASP.net25 Questions
Select questions type
Which is not a main component of the Visual Studio IDE?
Free
(Multiple Choice)
4.8/5
(34)
Correct Answer:
C
Which of the following is NOT an Assignment operator in C#.NET?
Free
(Multiple Choice)
4.8/5
(21)
Correct Answer:
A
Which is the String method used to compare two strings with each other ?
Free
(Multiple Choice)
5.0/5
(32)
Correct Answer:
B
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.
(Multiple Choice)
4.8/5
(38)
Minimum and Maximum range of values supported by 'float' data type are ?
(Multiple Choice)
5.0/5
(27)
Which of the following can implement an interface?
1)Data
2)Class
3)Enum
4)Structure
5)Namespace
(Multiple Choice)
4.8/5
(36)
What will be output of the following conversion ?
Static void Main(string[] args){char a = 'A';
String b = "a";
Console.WriteLine(Convert.ToInt32(a));
Console.WriteLine(Convert.ToInt32(Convert.Tochar(b)));
Console.ReadLine();
}
(Multiple Choice)
4.9/5
(48)
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);
(Multiple Choice)
4.8/5
(37)
Which datatype should be more preferred for storing a simple number like 35 to improve execution speed of a program?
(Multiple Choice)
4.7/5
(37)
Which of the following are value types?
1)Integer
2)Array
3)Single
4)String
5)Long
(Multiple Choice)
4.7/5
(41)
Which of the following is the correct size of a Decimal datatype?
(Multiple Choice)
5.0/5
(33)
Type of Conversion in which compiler is unable to convert the datatype implicitly is ?
(Multiple Choice)
4.9/5
(25)
A variable which is declared inside a method is called a________variable
(Multiple Choice)
4.7/5
(28)
Which of the following are NOT Relational operators in C#.NET?
1)>=
2)!=
3)Not
4)<=
5)<>=
(Multiple Choice)
4.7/5
(31)
Showing 1 - 20 of 21
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)