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

9851. Adaptive radiation refers to:





9852. __________ book you want is out of print.





9853. The living organisms can be unexceptionally distinguished from the non-living things on the basis of their ability for:





9854. If a class called Point is present in namespace n1 as well as in namespace n2, then which of the following is the correct way to use the Point class?





9855. Which of the followings are NOT a .NET namespace? System.Web System.Process System.Data System.Drawing2D System.Drawing3D





9856. Which of the following statements is correct about namespaces in C#.NET?






9857. Which of the following is correct way to rewrite the C#.NET code snippet given below? using Microsoft.VisualBasic; using System.Windows.Forms; MessageBox.Show("Wait for a" + ControlChars.CrLf + "miracle");





9858. Which of the following statements is correct about the using statement used in C#.NET?






9859. Which of the following statements are correct about a namespace used in C#.NET? Classes must belong to a namespace, whereas structures need not. Every class, struct, enum, delegate and interlace has to belong to some or the other namespace. All elements of the namespace have to belong to one file. If not mentioned, a namespace takes the name of the current project. The namespace should be imported to be able to use the elements in it.





9860. Which of the following CANNOT belong to a C#.NET Namespace?






9861. Which of the following statements is correct about a namespace used in C#.NET?





9862. Which of the following C#.NET code snippets will correctly print "Hello C#.NET"?





9863. If ListBox is class present in System.Windows.Forms namespace, then which of the following statements are the correct way to create an object of ListBox Class? using System.Windows.Forms; ListBox lb = new ListBox(); using LBControl = System.Windows.Forms; LBControl lb = new LBControl(); System.Windows.Forms.ListBox lb = new System.Windows.Forms.ListBox(); using LBControl lb = new System.Windows.Forms.ListBox; using LBControl = System.Windows.Forms.ListBox; LBControl lb = new LBControl();





9864. If a namespace is present in a library then which of the following is the correct way to use the elements of the namespace?






9865. Which of the following is NOT a namespace in the .NET Framework Class Library?






9866. Which of the following statments are the correct way to call the method Issue() defined in the code snippet given below? namespace College { namespace Lib { class Book { public void Issue() { // Implementation code } } class Journal { public void Issue() { // Implementation code } } } } College.Lib.Book b = new College.Lib.Book(); b.Issue(); Book b = new Book(); b.Issue(); using College.Lib; Book b = new Book(); b.Issue(); using College; Lib.Book b = new Lib.Book(); b.Issue(); using College.Lib.Book; Book b = new Book(); b.Issue();





9867. Which of the following statements is correct about a namespace in C#.NET?





9868. Which of the following is absolutely neccessary to use a class Point present in namespace Graph stored in library?





9869. The Finches of Galapogas islands provide an evidence in favour of:





9870. One of the important consequences of geographical isolation is:





9871. There was ........ ugly scar on his face.





9872. Industrial melanism as observed in peppered moth proves that:





9873. Rama’s house is bigger than ----------.





9874. Which of the following statements is correct about the C#.NET code snippet given below? int d; d = Convert.ToInt32( !(30 < 20) );






9875. Which of the following is the correct output for the C#.NET code snippet given below? Console.WriteLine(13 / 2 + " " + 13 % 2);






9876. Which of the following statements are correct about the Bitwise & operator used in C#.NET? The & operator can be used to Invert a bit. The & operator can be used to put ON a bit. The & operator can be used to put OFF a bit. The & operator can be used to check whether a bit is ON. The & operator can be used to check whether a bit is OFF.






9877. Which of the following are Logical operators in C#.NET? && || ! Xor %






9878. Suppose n is a variable of the type Byte and we wish, to check whether its fourth bit (from right) is ON or OFF. Which of the following statements will do this correctly?






9879. What will be the output of the C#.NET code snippet given below? int num = 1, z = 5; if (!(num <= 0)) Console.WriteLine( ++num + z++ + " " + ++z ); else Console.WriteLine( --num + z-- + " " + --z );





9880. Suppose n is a variable of the type Byte and we wish to put OFF its fourth bit (from right) without disturbing any other bits. Which of the following statements will do this correctly?






9881. What will be the output of the C#.NET code snippet given below? byte b1 = 0xAB; byte b2 = 0x99; byte temp; temp = (byte)~b2; Console.Write(temp + " "); temp = (byte)(b1 << b2); Console.Write (temp + " "); temp = (byte) (b2 >> 2); Console.WriteLine(temp);





9882. Which of the following statements is correct about Bitwise | operator used in C#.NET?






9883. Which of the following is NOT an Assignment operator in C#.NET?





9884. What will be the output of the C#.NET code snippet given below? int i, j = 1, k; for (i = 0; i < 5; i++) { k = j++ + ++j; Console.Write(k + " "); }





9885. What will be the output of the C#.NET code snippet given below? int a = 10, b = 20, c = 30; int res = a < b ? a < c ? c : a : b; Console.WriteLine(res);





9886. Which of the following statements are correct about the following code snippet? int a = 10; int b = 20; bool c; c = !(a > b); There is no error in the code snippet. An error will be reported since ! can work only with an int. A value 1 will be assigned to c. A value True will be assigned to c. A value False will be assigned to c.






9887. Which of the following statements is correct about Bitwise ^ operator used in C#.NET?






9888. Which of the following statements are correct? The conditional operator (?:) returns one of two values depending on the value of a Boolean expression. The as operator in C#.NET is used to perform conversions between compatible reference types. The & operator is also used to declare pointer types and to dereference pointers. The -> operator combines pointer dereferencing and member access. In addition to being used to specify the order of operations in an expression, brackets [ ] are used to specify casts or type conversions.






9889. Which of the following are the correct ways to increment the value of variable a by 1? ++a++; a += 1; a ++ 1; a = a +1; a = +1;






9890. What will be the output of the C#.NET code snippet given below? byte b1 = 0xF7; byte b2 = 0xAB; byte temp; temp = (byte)(b1 & b2); Console.Write (temp + " "); temp = (byte)(b1^b2); Console.WriteLine(temp);





9891. Which of the following is NOT an Arithmetic operator in C#.NET?





9892. Which of the following are NOT Relational operators in C#.NET? >= != Not <= <>=






9893. Which of the following is NOT a Bitwise operator in C#.NET?






9894. The concept of chemical evolution is based on:





9895. One who loves and helps mankind





9896. If you are caught trying to smuggle gold through the customs, it will be -----





9897. You should start for the station immediately, otherwise you ........ the train





9898. Find mis spelt word





9899. Which of the followings is the correct way to overload + operator?






9900. Among the human ancestors the brain size was more than 1000 CC in:





<<= 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