The proper operator precedence, from first to last, is:
1.logical, comparison, and arithmetic.
2.arithmetic, comparison, and logical.
3.arithmetic, logical, and comparison.
4.comparison, arithmetic, and logical.
Type of Conversion in which compiler is unable to convert the datatype implicitly is ?
1.ushort to long
2.int to uint
3.ushort to long
4.byte to decimal
What is required to reference an element in an array?
1.Array name
2.Index value of the element
3.Element value
4.Both a and b.
What is the extension for a Visual Basic web form interface file?
1..asp
2..aspx
3..asp.vb
4.aspx.vb
What is the size of a Decimal?
1.4 byte
2.8 byte
3.16 byte
4.32 byte
Which is a type of procedure found in VB.Net?
1.Event
2.Function
3.Sub
Which is an example of a web document?
1.Server script
2.Web page
3.Client browser
4.Both a and b.
Which is not an ADO.NET DataAdapter Object?
1.OleDbDataAdapter
2.SQLDataAdapter
3.QueryDataAdapter
4.. Both a and b.
Which of the following is NOT an Integer?
1.Char
2.Byte
3.Integer
4.Short
Which of the following is the correct output of the C#.NET code snippet given below? int[ , , ] a = new int[ 3, 2, 3 ]; Console.WriteLine(a.Length);
1.20
2.4
3.18
4.10
Which of the following statements is correct?
1. When a class inherits an interface it inherits member definitions as well as its implementations.
2.An interface cannot contain the signature of an indexer.
3.Interfaces members are automatically public.
4.To implement an interface member, the corresponding member in the class must be public as well as static.
Which set of symbols are used to signify the presence of ASP.NET code?
1.<@
2.<#
3.<$
4.<%
A GUI:
1.uses buttons, menus, and icons.
2.B. should be easy for a user to manipulate.
3.stands for Graphic Use Interaction.
4.Both a and b
A postback occurs when:
1.a browser posts a form to the server.
2.a user’s action activates the handing of a server event.
3.a server posts a form to the client.
4. Both a and b.
A sub procedure is valuable because it:
1.makes code easier to maintain.
2.splits the logic to solve a problem into small, manageable units.
3.limits the number of times the code can be accessed.
4.Both a and b.
If s1 and s2 are references to two strings, then which of the following is the correct way to compare the two references?
1.s1 is s2
2. s1 = s2
3.s1.Equals(s2)
4.strcmp(s1, s2)
In the For…Next statement the default value for the Step is:
1.-1
2.0
3.1
4.2
Select output of the given set of Code : static void Main(string[] args) { String name = "Dr.Gupta"; Console.WriteLine("Good Morning" + name); }
1.Dr.Gupta
2.Good Morning
3.Good Morning Dr.Gupta
4.Good Morning name
The Boolean data type:
1.is unsigned.
2. has two states.
3.is displayed by the program as yes or no.
4.Both a and b.
VB.Net identifiers:
1. are case sensitive.
2.can begin with an underscore
3.can begin with a number.
4.Both a and b.
Visual Studio .NET provides which feature:
1.debugging
2.application deployment.
3.syntax checking.
4.All of the above..
What is the extension for a Visual Basic web form code file?
1..asp
2..aspx
3..asp.vb
4..aspx.vb
When an ASP.NET file is placed on an IIS server and viewed through a browser, the resulting HTMLpage contains:
1.all ASP.NET code.
2.as much ASP.NET code as is in the ASP.NET file.
3.a mix of ASP.NET and HTML code.
4. all HTML code.
Where does a web application reside?
1. Web client
2.Web server
3.Visual Studio .NET
4.Both a and b.
Which does the solution explorer not display?
1.Form Properties
2.Reference Folder
3.Form File
4.Assemble File
Which HTML tag creates a link to another browser page?
1.A href
2.A ref
3.An href
4.An ref
Which is the file extension used for an ASP.NET file?
1. asn
2.asp
3.aspn
4.aspx
Which is the String method used to compare two strings with each other ?
1.Compare To()
2.Compare()
3.Copy()
4.ConCat()
Which method will arrange the elements of an array in alphabetical order?
1. Arrange
2.Assemble
3.Order
4.Sort
Which method will return the number of elements in an array?
1.Dimension
2.Length
3.Number
4.Size
Which of the following are NOT Relational operators in C#.NET? 1.>= 2.!= 3.Not 4.<= 5.<>=
1.1, 3
2.2, 4
3.3, 5
4.4, 5
Which of the following does not store a sign?
1.Short
2.Integer
3.Long
4.Byte
Which of the following is an 8-byte Integer?
1.Char
2.Long
3.Short
4.Byte
Which of the following is NOT an Assignment operator in C#.NET?
1.=
2. /=
3.*=
4.+=
Which of the following is the correct size of a Decimal datatype?
1.8 Bytes
2.4 Bytes
3.10 Bytes
4.16 Bytes
Which of the following will be the correct output for the C#.NET code snippet given below? String s1 = "ALL MEN ARE CREATED EQUAL"; String s2; s2 = s1.Substring(12, 3); Console.WriteLine(s2);
1.ARE
2.CRE
3.CR
4.REA
Which operator is evaluated first?
1.NOT
2.AND
3.XOR
4.OR
Which sequence of char data types is listed from lowest to highest?
1.a, A, z, Z
2. a, z, A, Z
3.A, a, Z, z
4. A, Z, a, z
With A = False and B = True, which statement evaluates as True?
1. A AND A
2. A AND B
3.B AND A
4.B AND B