<<= Back Next =>>
You Are On Multi Choice Question Bank SET 193

9651. Which of the following statements is correct about the C#.NET code snippet given below? short s1 = 20; short s2 = 400; int a; a = s1 s2;






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






9653. Which of the following statements are correct? We can assign values of any type to variables of type object. When a variable of a value type is converted to object, it is said to be unboxed. When a variable of type object is converted to a value type, it is said to be boxed. Boolean variable cannot have a value of null. When a value type is boxed, an entirely new object must be allocated and constructed.





9654. Which of the following is the correct ways to set a value 3.14 in a variable pi such that it cannot be modified?






9655. Which of the following statements are correct about data types? Each value type has an implicit default constructor that initializes the default value of that type. It is possible for a value type to contain the null value. All value types are derived implicitly from System.ValueType class. It is not essential that local variables in C# must be initialized before being used. Variables of reference types referred to as objects and store references to the actual data.





9656. Which of the following are the correct way to initialise the variables i and j to a value 10 each? int i = 10; int j = 10; int i, j; i = 10 : j = 10; int i = 10, j = 10; int i, j = 10; int i = j = 10;





9657. Which of the following statement correctly assigns a value 33 to a variable c? byte a = 11, b = 22, c;






9658. Which of the following statements are correct about datatypes in C#.NET? Every datatype is either a value type or a reference type. Value types are always created on the heap. Reference types are always created on the stack. Mapping of every value type to a type in Common Type System facilitates Interoperability in C#.NET. Every reference type gets mapped to a type in Common Type System.





9659. Which of the following is the correct default value of a Boolean type?






9660. Which of the following statements are correct about data types? If the integer literal exceeds the range of byte, a compilation error will occur. We cannot implicitly convert non-literal numeric types of larger storage size to byte. Byte cannot be implicitly converted to float. A char can be implicitly converted to only int data type. We can cast the integral character codes.





9661. Which of the following is an 8-byte Integer?






9662. Which of the following is NOT an Integer?






9663. The car isn"t in the garage,.........?





9664. Which of the following are value types? Integer Array Single String Long





9665. About 98 percent of the mass of every living organism is composed of just six elements including carbon, hydrogen, nitrogen, oxygen and:





9666. ഒരു എൽ.പി.ജി ഗ്യാസ് സിലിണ്ടറിന്‍റെ ഭാരം? [Oru el. Pi. Ji gyaasu silindarin‍re bhaaram?]





9667. I..........not like this song.





9668. You will do it, .......?





9669. We can ...... you ...... at a hotel for two years:





9670. Which one of the following is an example of negative feed back loop in humans?





9671. Which of the following is the correct way to call subroutine MyFun() of the Sample class given below? class Sample { public void MyFun(int i, Single j) { Console.WriteLine("Welcome to IndiaBIX !"); } }





9672. Which of the following statements are correct about a delegate? Inheritance is a prerequisite for using delegates. Delegates are type-safe. Delegates provide wrappers for function pointers. The declaration of a delegate must match the signature of the method that we intend to call using it. Functions called using delegates are always late-bound.






9673. Which of the following statements are correct about delegates? Delegates are not type-safe. Delegate is a user-defined type. Only one method can be bound with one delegate object. Delegates can be used to implement callback notification. Delegates permit execution of a method on a secondary thread in an asynchronous manner.






9674. Which of the following statements are correct about delegates?





9675. Which of the following are the correct ways to declare a delegate for calling the function func() defined in the sample class given below? class Sample { public int func(int i, Single j) { / Add code here. / } }






9676. Suppose on pushing a button an object is to be notified, but it is not known until runtime which object should be notified. Which of the following programming constructs should be used to implement this idea?






9677. Which of the following statements is incorrect about a delegate?






9678. Suppose a Generic class called SortObjects is to be made capable of sorting objects of any type (Integer, Single, Byte etc.). Which of the following programming constructs should be used to implement the comparision function?






9679. With which of the following can the ref keyword be used? Static data Instance data Static function/subroutine Instance function/subroutine






9680. Which of the following statements is incorrect about delegate?






9681. In which of the following areas are delegates commonly used? Remoting Serialization File Input/Output Multithreading Event handling






9682. Which of the following is the necessary condition for implementing delegates?






9683. Which of the following statements are correct about the delegate declaration given below? delegate void del(int i); On declaring the delegate a class called del will get created. The signature of del need not be same as the signature of the method that we intend to call using it. The del class will be derived from the MulticastDelegate class. The method that can be called using del should not be a static method. The del class will contain a one-argument constructor and an lnvoke() method.






9684. Which of the following is the correct way to call the function MyFun() of the Sample class given below? class Sample { public int MyFun(int i) { Console.WriteLine("Welcome to IndiaBIX.com !" ); return 0; } }





9685. What is common to whale, seal and shark?





9686. I expect them __________ this evening.





9687. My brother - in - law, -------- is a computer engineer, is in New York at present.





9688. A horrible morning was following by a torrent of rain................after noon.





9689. Milk is good –––– drink.





9690. Which of the following components of the .NET framework provide an extensible set of classes that can be used by any .NET compliant programming language?






9691. Which of the following jobs are NOT performed by Garbage Collector? Freeing memory on the stack. Avoiding memory leaks. Freeing memory occupied by unreferenced objects. Closing unclosed database collections. Closing unclosed files.





9692. Which of the following .NET components can be used to remove unused references from the managed heap?






9693. Which of the following statements correctly define .NET Framework?






9694. Which of the following constitutes the .NET Framework? ASP.NET Applications CLR Framework Class Library WinForm Applications Windows Services





9695. Which of the following assemblies can be stored in Global Assembly Cache?






9696. Code that targets the Common Language Runtime is known as






9697. Which of the following statements is correct about the .NET Framework?






9698. Which of the following is the root of the .NET type hierarchy?






9699. Which of the following benefits do we get on running managed code under CLR? Type safety of the code running under CLR is assured. It is ensured that an application would not access the memory that it is not authorized to access. It launches separate process for every application running under it. The resources are Garbage collected.






9700. Which of the following security features can .NET applications avail? PIN Security Code Access Security Role Based Security Authentication Security Biorhythm Security





<<= Back Next =>>
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution