Skip to main content

CIT351 TMA2

1 In C# programming, an int value can be converted to _ and back again to int.
*Object
*Class
*Node
*Numeric

2 A boxing __ implies making a copy of the value being boxed.
*Source
*Type
*Conversion
*Arguments

3 In principle, C# programming does not support __. *Coding
*Multiple inheritance
*Abstraction
*Encapsulation

4 Boxing is referred to as the process of converting a value type to a __ type.
*Static
*Logic
*Statistical
*Reference

5 The _ step in an unboxing operation is checking that the object instance is a boxed value of the given value-type
*Third
*First
*Fourth
*Second

6 C# is a strongly typed language, therefore every variable and __ must have a declared type
*Function
*Element
*Object
*Class

7 The _ type represents a string of Unicode characters.
*String
*Class
*Unit
*Numeric

8 In the C# programming context, the _ keyword denotes a 128-bit data type
*Economic Computer Manufacturers Association
*Educational Community Manufacturers Association
*European Computer Manufacturers Association
*Extended Corporate Manufacturers Association

9 For an unboxing conversion to a given value-type to succeed at run-time, the value of the source __ must be a reference to an object.
*Pack
*Argument
*Item
*Bit

10 When you design web pages using C#, the entire code that implements the web page exists in a _ assembly,.
*Call
*Library
*Key
*Log

11 As soon as a user runs Visual Studio.NET, a _ Page is presented.
*Linked
*Grid
*Start
*Piled

12 It is possible to call object methods on any value, even values of _ types.
*Function
*Local
*Foreign
*Primitive

13 An int value can be converted to _ and back again to int
*Object
*Class
*Node
*Numeric

14 A boxing __ implies making a copy of the value being boxed.
*Source
*Type
*Conversion
*Arguments

15 In principle, C# programming does not support __.
*Coding
*Multiple inheritance
*Multiple inheritance is not supported,
*Multiple inheritance is not supported,

16 Visual Studio.NET manages a lot of the details of project management, _, debugging, and GUI development..
*Stirring
*Logging
*Dulling
*Building

17 The _ step in an unboxing operation is checking that the object instance is a boxed value of the given value-type
*Third
*First
*Fourth
*Second

18 C# is a strongly typed language, therefore every variable and __ must have a declared type
*Function
*Element
*Object
*Class

19 __ in C# requires an explicit type cast.
*Packing
*Boxing
*Unboxing
*Unpacking

20 It is possible to call object methods on any value, even values of _ types.
*Function
*Local
*Foreign
*Primitive

Comments

Popular posts from this blog

CIT309 TMA1

1 …..……. ,…………. and…………….. conditions will warrant the CPU not to honor the interrupt request except ………….. *Interrupt disable *Instruction completion *Execution state *Hold state 2 ………………... arbitrates system communication and has a central role in maintaining cache coherence *L2 cache *Memory card *System control element (SCE) *Main store control (MSC) 3 …………... unit controls the operation of the processor *logical *control *arithmetic *operation 4 The operation of the processor is determined by the following excep ______________ *machine instructions *instructions it executes *instruction *computer instruction 5 ……………… operations are the functional or atomic operations of a processor *Macro *Micro *Micra *Cycle 6 The most interesting and complex component in a computer system is ____________ *Main memory *Central processing unit *Input/Output *System interconnections 7 The following except _________ are part of the mai...

CIT309 TMA2

1 in both the SMP and uniprocesssor cases, multiple jobs or processes may be active at one time________ responsiblefor the allocation of the resources *processor *ALU *Control bus *operating system 2 ………………… is midway between software and hardware *Programming *Macroprogram *Program *Microprogram 3 In what order does the next instruction fetch during the instruction cycle *random *glance *subsequence *sequence 4 An instance of a progam running on a computer is called ___________ *reaction *function *execution *process 5 …………….. Acknowledges that the CPU has been reset *Reset Out *Reset In *Reset *Set 6 ……………… causes the contenst of the CPU to be set to zero *Reset Out *Reset In *Reset *Set 7 Which of the following is not an elements of a machine instruction? *Results operands reference *Source operand reference *Operator *Next instruction reference 8 the enhancement of a system performance by adding an additional processor by a...