Ipt Test Questions
Ipt Test Questions
______________11.are stored generally in the stack, reference types are stored in the managed
heap. A value type derives form system.
______________12. The reference types do not contain the actual data stored in a variable, but they
contain a reference to the variables. In other words, they refer to a memory location.
______________13.This refers to the storage of information that will used (retrieve) inside the
program. It is named as storage location capable of containing a certain type of data that can be
modified during program execution.
_______________14. This refers to the storage of information that will used (retrieve) inside the
program. It is named as storage location capable of containing a certain type of data that can be
modified during program execution.
_______________15. it is a name used to reference variables, functions, labels and various other
user-defined objects.
_______________16. is case sensitive; thus, the names count and count refer to two different
variables.
________________17 (assigned a value) with an equal sign followed by a constant expression. The
general form of initialization is:
________________ 18. can be initialized in their declaration. The initializer consist of an equal sign
followed by a constant expression.
________________19. are immutable values which are known at compile time and do not change for
the life of the program. Constant are declared with the conts modifier.
________________20. can be a decimal, octal, or hexadecimal constant. A prefix specfies the base or
radix: 0x or 0X for hexadecimal, 0 for octal, and no prefix id for decimal.
_______________21. has an integer part, a decimal point, a fractional part, and an exponent part.
_______________22.Character literals are enclosed in single quotes. For example, ‘x’ and can be
stored in simple variable of char type.
23.
Meaning = \\
Meaning = \’
Meaning = \”
Meaning = \?
Meaning = \a
Meaning = \b
Meaning = \f
Meaning = \n
Meaning = \r
Meaning = \t
Meaning = \v
Meaning = \ooo
Meaning = \xhh. . .
_______________24. are used to perform mathematical or logical operations on values (or variables)
called operands to produce a new value, called the result.
_______________25.is the objects that are manipulated or operation that to be performed. Operands
are always evaluated left-to-right in C#.
_______________33 is converting one type of data to another type. It is also known as Type Casting
_______________35. These conversion are done explicit by users using the predefined functions.