ASP | ASP.NET Answers

Questions: 23

Answers by our Experts: 23

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering


24) which of the following converts the expression to object data type in VB.NET?

     A) CSng(expression) 

     B) CShort(expression)  

     C) Cobj(expression) 

     D) CSByte(expression)


25) Which of the following directive is used for indicating a mapping between specific lines of source code and text external to the source?

      A) #Const   B) #ExternalSource    C) #If…Then…#Else    D) #Region


22) Which of the following statement declares the name of a class and introduces the definition of the variables, properties, events and procedures that the class comprises?

     A) Dim   B) Const C) Enum    D) class


23) which task is accomplished in the code editor?

      A) Adding forms to the project

      B) Adding controls to form

      C) Adding controls to the title

      D) Adding event procedures to the form


18) Which of the following keyword of VB.NET is used to throw an exception when a problem shows up?

     A) Try  B) Catch   C) Finally  D) Throw


19) Which of the following is not an event in VB.NET?

     A) mousehover  B) mousedrop   C) mousedown  D) mouseup


20) Which of the following converts the expression to string data type in VB.NET?

     A) Cstr(expression)    B) CSByte(expression)   C) CShort(expression)  D) CSng(expression)


21) which is not a main component of Visual Studio IDE?

     A) start menu  B) Tool box  C) designer window  D) Solution Explorer



14) Which of the following access modifier specifies that Visual Basic should marshal all string to American National Standard Institute (ANSI) values regardless of the name external procedure b

     A) Ansi     B) Assembly  C) Async   D) Auto


15) Which of the following access modifier specifies that Visual Basic should marshal all strings to Unicode values regardless of the name of the external procedure being declared?

    A) Shadows   B) Shared   C) Static  D) Unicode


16) The function procedures are ________ by default.

     A) public    B) private   C) protected   D) inherited


17) Which class is not contained in the import System.Data.SqlClient?

     A) SqlConnection  B) SqlCommand  C) SqlDataReader D) SqlDataManipulator


10) Which of the following import contains SqIDataAdapter?

      A) System.Data.SqlAdmin B) System.Data.SqlClient C) System.Data.Sql  D) System.Data.Client


11) The system.systemException class is the base class for all predefined system exception in VB.NET?

      A) True  B) False


12) Which of the following converts the expression to Decimal data type in VB.NET?

      A) CDbl(expression)   B) CDec(expression)  C) Cint(expression)   D) CLng(expression)


13) The ________ method converts the value of this instance to a double representing the OLE automation date.

    A) Now   B) Today   C) TO OA Date   D) From OA Date



 6) Which of the following operator declares the parameters and code that define a function lambda expression?

    A) AddressOf  B) Await  C) GetType   D) Function Expression


 7) Which of the following loop structure dose not supported by VB.NET?

    A) Do ………… loop   B) For ………… Next   C) Do ………… Then    D) For Each ………. while


 8) Which of the following converts the expression to Char data type in VB.NET?

  A) Convert.ToBool(expression)

  B) Convert.ToCharater(expression)

  C) Convert.ToString(expression)

 D) Convert.ToChar(expression)


9) Which of the following block of VB.NET identifies a block of code for which particular exceptions will be activated?

A) Try   B) Catch   C) Finally   D) Throw


1)     Which of the following access modifier specifies that one or more declared programming elements are accessible from within the assembly that contains their declaration, not only by the component that

A) ByRef B) ByVal C) Default D) Friend


    2) The __________ class provides static methods to start, stop, or filter Windows message in an application.

            A) Forms  B) Control  C) Windows  D) Application


     3) Which of the following collection class of VB.NET uses a key as well as an index to access the items in a list?

         A) Arraylist  B) Hashtable C) Sortedlist  D) stack


     4) Which is not a property of the common control class?

       A) Font B) Show C) Fore color D) BackColor



1)     Which of the following access modifier specifies that one or more declared programming elements are accessible from within the assembly that contains their declaration, not only by the component that

A)     ByRef

B)     ByVal

C)     Default

D)     Friend


  1. Create a Web page "FriendInfo.aspx" with the following elements:
  2. When the Web page loads, the "Email" property contained in the query string passed from the "MemberHome.aspx" Web page is stored in a global "Email" variable of type string
  3.  
  4. A "Submit" asp:Button control that when clicked submits the global "Email" string variable in a query string to the "MemberHome.aspx" Web page

 





Create a web application that is used to store, access, update and delete contacts and important information
LATEST TUTORIALS
APPROVED BY CLIENTS