View Count: 0
Duration: 15 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 36 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 36 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 36 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 30 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 19 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 25 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 40 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 47 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 9 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 45 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 35 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

best

Posted By Premchand on 05-Sep-2017

best

Posted By Premchand on 05-Sep-2017
Question No: 1 of 56
What data type should be used when we want to store any type of data? 
Options:
  1. int
  2. float
  3. double
  4. object
View Answer/Explanation:
d
Explanation:
All predefined and user-defined types inherit from the object type.

Question No: 2 of 56
What is an Immutable variable? 
Options:
  1. An object whose value cannot be changed once it is set.
  2. type An object whose value can be changed once it is set.
  3. Both
View Answer/Explanation:
a
Explanation:
It is the object whose value cannot be modified once the value is assigned. Example String Variable.

Question No: 3 of 56
Which Exception is thrown when a variable on RHS is casted to and is not as of type on LHS? 
Options:
  1. Invalid cast Exception
  2. Argument Null Exception
  3. Application Exception
  4. System Exception
View Answer/Explanation:
a
Explanation:
The InvalidCastException occurs when an explicit cast is applied to a type that is not in the same path of the type hierarchy.

Question No: 4 of 56
What is the default value of the first enum member? 
Options:
  1. 1
  2. 0
View Answer/Explanation:
b
Explanation:
The default value for an enum is 0 -- even if that is not a valid value for that enum. It cannot be changed.

Question No: 5 of 56
_______ is the term used to describe the transformation from Value Type to reference type. 
Options:
  1. Boxing
  2. UnBoxing
  3. Implicit Casting
  4. Explicit Casting
View Answer/Explanation:
a
Explanation:
Boxing refers to the conversion of Value type to an Object (Reference type). Unboxing means conversion of Object to Value type.

Question No: 6 of 56
class Program
    {
        static void Main(string[ ] args)
        {
            int n; char chr;
            chr = (char)(65);
            Console.WriteLine(chr);
            chr = 'a';
            n = (int)(chr);
            Console.WriteLine(n);
        }
    } 
Options:
  1. 65, a
  2. a, 65
  3. A, 97
  4. 65, A
View Answer/Explanation:
c
Explanation:
As per ASCII Code A=65 to Z= 90 and a=97 to z=122 here casting is done.

Question No: 7 of 56
Can a decimal be categorized as floating point datatype? 
Options:
  1. Yes
  2. No
View Answer/Explanation:
b
Explanation:
The decimal allows digits after decimal point, the number of digits are fixed unlike float where number of digits are not fixed.

Question No: 8 of 56
What is the type of a Structure? 
Options:
  1. Reference Type
  2. Value Type
View Answer/Explanation:
b
Explanation:
Value types directly holds the value from the stack memory

Question No: 9 of 56
What are the operators supported in C# not in VB.Net? 
Options:
  1. ++, --
  2. ? :, <<, >>
  3. ==, sizeof
  4. All the above
View Answer/Explanation:
d
Explanation:
.

Question No: 10 of 56
How to iterate loop infinitely? 
Options:
  1. set condition (true)
  2. set condition (false)
  3. Both
View Answer/Explanation:
a
Explanation:
Ex: set condition (true) that does not change, while(true) { //Code block here... }

  1