Tag: programming languages

Questions Related to programming languages

  1. If My.Computer.Keyboard.CapsLock = True Then

  2. If System.Computer.Keyboard.CapsLock = True Then

  3. Both A and B

  4. None of the Above


Correct Option: A

How can we declare a class as non derivable in VB.Net

  1. using NotInheritable

  2. using sealed

  3. both a and b

  4. none of the above


Correct Option: A
  1. Using Sub keyword

  2. Using Function Keyword

  3. Using New Keyword

  4. None of the above


Correct Option: B
  1. Structured Exception Handling

  2. Unstructured Exception Handling

  3. Both A and B

  4. None of the Above


Correct Option: C
  1. Script language declarations, scriplets and expressions.

  2. JSP standard actions

  3. JSP standard directives

  4. All the Above


Correct Option: D

When a JSP page is compiled, what is it turned into?

  1. Applet

  2. Servlet

  3. Application

  4. Midlet


Correct Option: B
  1. None of the above

  2. location

  3. exception-type

  4. error-page


Correct Option: D

Which of the following statements is true about JSP tag library?

  1. It defines the standard tag that works the same everywhere

  2. It is a single library and we can use it in multiple jsp containers

  3. It has support for the common structural tasks like iteration and condition

  4. All of the above


Correct Option: D

Which of the statement below does not correctly defines the difference between JDBC and ODBC ?

  1. ODBC can be directly used with Java because it uses a C interface

  2. ODBC makes uses of pointers which has been totally removed from JAVA

  3. ODBC is from Microsoft while JDBC is from java applications

  4. ODBC requires manual installation of the ODBC driver manager and driver on all client machines. While for JDBC driver are written in Java and JDBC code is automatically installable, secure and portable on all platforms.


Correct Option: A

Which of the tag is used to show the comments in the JSP page


Correct Option: D